Skip to content

Instantly share code, notes, and snippets.

@cyrille-leclerc
Last active December 11, 2015 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cyrille-leclerc/4552545 to your computer and use it in GitHub Desktop.
Save cyrille-leclerc/4552545 to your computer and use it in GitHub Desktop.
{
"queries": [
{
"objectName": "cocktail:type=CocktailManager,name=CocktailManager",
"resultAlias": "cocktail",
"attributes": [
"AddedCommentCount",
"CreatedCocktailCount",
"DisplayedCocktailCount",
"SearchedCocktailCount",
"UpdatedCocktailCount"
]
}
], "outputWriters": [
{
"@class": "org.jmxtrans.embedded.output.Slf4jWriter"
},
{
"@class": "org.jmxtrans.embedded.output.GraphiteWriter",
"settings": {
"host": "${graphite.host:localhost}",
"port": "${graphite.port:2003}",
"namePrefix":"${graphite.namePrefix:servers.#hostname#.}"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment