-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgraphout.example.json
45 lines (39 loc) · 996 Bytes
/
graphout.example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
* 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"]
}