summaryrefslogtreecommitdiff
path: root/tests/plugins/metrics/.rr-test.yaml
blob: 37c50395868492264a31f69364d5a06c9a401964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
rpc:
  listen: tcp://127.0.0.1:6001
  disabled: false

metrics:
  # prometheus client address (path /metrics added automatically)
  address: localhost:2112
  collect:
    app_metric:
      type: histogram
      help: "Custom application metric"
      labels: [ "type" ]
      buckets: [ 0.1, 0.2, 0.3, 1.0 ]
logs:
  mode: development
  level: error