summaryrefslogtreecommitdiff
path: root/plugins/metrics/tests/.rr-test.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/metrics/tests/.rr-test.yaml')
-rw-r--r--plugins/metrics/tests/.rr-test.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/metrics/tests/.rr-test.yaml b/plugins/metrics/tests/.rr-test.yaml
new file mode 100644
index 00000000..37c50395
--- /dev/null
+++ b/plugins/metrics/tests/.rr-test.yaml
@@ -0,0 +1,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 \ No newline at end of file