From c24f86e6eb1be40d71b8e15099dbc88cc7fad97f Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 20 Apr 2021 14:20:05 +0300 Subject: - Add test cases for the issue 571 --- tests/plugins/metrics/configs/.rr-test.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/plugins/metrics/configs/.rr-test.yaml (limited to 'tests/plugins/metrics/configs/.rr-test.yaml') 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 -- cgit v1.2.3