diff options
Diffstat (limited to 'tests/plugins/metrics/configs')
-rw-r--r-- | tests/plugins/metrics/configs/.rr-issue-571.yaml | 13 | ||||
-rw-r--r-- | tests/plugins/metrics/configs/.rr-test.yaml | 18 |
2 files changed, 31 insertions, 0 deletions
diff --git a/tests/plugins/metrics/configs/.rr-issue-571.yaml b/tests/plugins/metrics/configs/.rr-issue-571.yaml new file mode 100644 index 00000000..872f777a --- /dev/null +++ b/tests/plugins/metrics/configs/.rr-issue-571.yaml @@ -0,0 +1,13 @@ +rpc: + listen: tcp://127.0.0.1:6001 + +server: + command: "php ../../metrics-issue-571.php" + +http: + address: "0.0.0.0:56444" + pool: + num_workers: 5 + +metrics: + address: "0.0.0.0:23557" 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 |