| 1 | # statsd synthetic charts configuration |
| 2 | |
| 3 | # You can add many .conf files in /etc/netdata/statsd.d/, |
| 4 | # one for each of your apps. |
| 5 | |
| 6 | # start a new app - you can add many apps in the same file |
| 7 | [app] |
| 8 | # give a name for this app |
| 9 | # this controls the main menu on the dashboard |
| 10 | # and will be the prefix for all charts of the app |
| 11 | name = myexampleapp |
| 12 | |
| 13 | # match all the metrics of the app |
| 14 | metrics = myexampleapp.* |
| 15 | |
| 16 | # shall private charts of these metrics be created? |
| 17 | private charts = no |
| 18 | |
| 19 | # shall gaps be shown when metrics are not collected? |
| 20 | gaps when not collected = no |
| 21 | |
| 22 | # the memory mode for the charts of this app: none|map|save |
| 23 | # the default is to use the global memory mode |
| 24 | #memory mode = ram |
| 25 | |
| 26 | # the history size for the charts of this app, in seconds |
| 27 | # the default is to use the global history |
| 28 | #history = 3600 |
| 29 | |
| 30 | # create a chart |
| 31 | # this is its id - the chart will be named myexampleapp.myexamplechart |
| 32 | [myexamplechart] |
| 33 | # a name for the chart, similar to the id (2 names for each chart) |
| 34 | name = myexamplechart |
| 35 | |
| 36 | # the chart title |
| 37 | title = my chart title |
| 38 | |
| 39 | # the submenu of the dashboard |
| 40 | family = my family |
| 41 | |
| 42 | # the context for alarm templates |
| 43 | context = chart.context |
| 44 | |
| 45 | # the units of the chart |
| 46 | units = tests/s |
| 47 | |
| 48 | # the sorting priority of the chart on the dashboard |
| 49 | priority = 91000 |
| 50 | |
| 51 | # the type of chart to create: line | area | stacked |
| 52 | type = area |
| 53 | |
| 54 | # one or more dimensions for the chart |
| 55 | # type = events | last | min | max | sum | average | percentile | median | stddev |
| 56 | # events = the number of events for this metric |
| 57 | # last = the last value collected |
| 58 | # all the others are only valid for histograms and timers |
| 59 | dimension = myexampleapp.metric1 avg average 1 1 |
| 60 | dimension = myexampleapp.metric1 lower min 1 1 |
| 61 | dimension = myexampleapp.metric1 upper max 1 1 |
| 62 | dimension = myexampleapp.metric2 other last 1 1 |
| 63 | |
| 64 | # You can add as many charts as needed |