DEPRECATED: hubot-datadog has been deprecated. It will no longer be supported.
Query Datadog using Hubot.
To use hubot-datadog
you can add it to your package.json
:
"dependencies": {
"hubot": "...",
"hubot-scripts": "...",
...
"hubot-datadog": "~0.1"
}
Then add hubot-datadog
to your external-scripts.json
:
[ "hubot-datadog" ]
Currently you can query graphs for metrics, and search for metrics.
hubot graph -1d avg:page.response.times{*}
hubot graph -<amount><unit> <metric>
The amount and unit are the time span you wish to go back by, for example:
-1d
is one day-2M
is two months-10m
is ten minutes
The supported units are:
s
secondsm
minutesh
hoursd
daysw
weeksM
monthsy
years
hubot metric search page
hubot metric search page.response
Copyright © Zestia, Ltd. See LICENSE
for more information.