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

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