summaryrefslogtreecommitdiff
path: root/tests/plugins/metrics/configs/.rr-test.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-20 15:52:27 +0300
committerGitHub <[email protected]>2021-04-20 15:52:27 +0300
commit02cb030cec51a81c6b2f6d8351e66112eb2c9b7f (patch)
treeb3feb3cf19a34652d5ad23be3e049123bbc04233 /tests/plugins/metrics/configs/.rr-test.yaml
parenta3ced86a77b406bd8d127135636d33e12517d7f8 (diff)
parent5c63b9b8b774917712bab165b37f360aab509828 (diff)
#638 fix(http): Make a Serve function in the `http` plugin asynchronousv2.1.0-beta.3
#638 fix(http): Make a Serve function in the `http` plugin asynchronous
Diffstat (limited to 'tests/plugins/metrics/configs/.rr-test.yaml')
-rw-r--r--tests/plugins/metrics/configs/.rr-test.yaml18
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