diff options
author | Valery Piashchynski <[email protected]> | 2021-06-07 23:19:18 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-07 23:19:18 +0300 |
commit | 54a0a61485831c1848d55f65e2fb21c057ac6729 (patch) | |
tree | eee1c293f46cd65ec628da3a1b557cd142f3eabd /tests/plugins/metrics/configs | |
parent | 0a48df5e5e44aaefa503669d7fb75490f1be103f (diff) |
- Add metrics exporter for the workers
- Add metrics for the request duration and request count
- Add tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/metrics/configs')
-rw-r--r-- | tests/plugins/metrics/configs/.rr-http-metrics.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/plugins/metrics/configs/.rr-http-metrics.yaml b/tests/plugins/metrics/configs/.rr-http-metrics.yaml new file mode 100644 index 00000000..95f131c0 --- /dev/null +++ b/tests/plugins/metrics/configs/.rr-http-metrics.yaml @@ -0,0 +1,20 @@ +rpc: + listen: tcp://127.0.0.1:6001 + +server: + command: "php ../../psr-worker-bench.php" + relay: "pipes" + +http: + address: 127.0.0.1:13223 + max_request_size: 1024 + middleware: [ ] + pool: + num_workers: 1 + +metrics: + address: localhost:2112 + +logs: + mode: development + level: debug |