graphout
Version:
Forward Graphite or Prometheus queries to external services.
46 lines (39 loc) • 996 B
JSON
/**
* example Graphout configuration file
*/
{
// graphite-web options
"graphite_url": "http://graphite.example.com:8080",
"graphite_auth": "user:password",
// log file options
"log_file": "/dev/stdout",
"log_level": "info",
// query interval (in seconds)
"interval": 60,
// delay each query by consistent random of seconds
// if enabled, delay between 1 second and the query interval
"splay": false,
// queries section
"queries":
{
"go-carbon.updateOperations":
{
"query": "sumSeries(carbon.agents.*.persister.updateOperations)",
"from": "-1min",
"until": "now"
}
},
// outputs section
"outputs":
{
"logfile":
{
"output": "./logoutput",
"params": {
"path": "/tmp/logoutput.log"
}
}
},
// include external configs, shell globs supported
"include": ["example*.json"]
}