example.conf 2.0 KB

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