Skip to content

Instantly share code, notes, and snippets.

@darron
Created April 8, 2016 10:33
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 darron/440b42a567d4126eec0fab484a2d31b3 to your computer and use it in GitHub Desktop.
Save darron/440b42a567d4126eec0fab484a2d31b3 to your computer and use it in GitHub Desktop.
Datadog metrics JSON for selected metrics in kvexpress demo.
{
"viz": "timeseries",
"requests": [
{
"q": "sum:goshe.dnsmasq.queries{*} by {query}.as_count()",
"conditional_formats": [],
"type": "bars",
"aggregator": "avg"
}
]
}
{
"viz": "heatmap",
"requests": [
{
"q": "avg:kvexpress.time{key:hosts} by {host}",
"aggregator": "avg",
"conditional_formats": [],
"type": "line"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment