diff options
Diffstat (limited to 'tests/plugins/metrics/configs/.rr-test.yaml')
-rw-r--r-- | tests/plugins/metrics/configs/.rr-test.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/plugins/metrics/configs/.rr-test.yaml b/tests/plugins/metrics/configs/.rr-test.yaml new file mode 100644 index 00000000..4890076f --- /dev/null +++ b/tests/plugins/metrics/configs/.rr-test.yaml @@ -0,0 +1,18 @@ +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 ] + app_metric_counter: + type: counter + help: "Custom application counter." +logs: + mode: development + level: error
\ No newline at end of file |