From b386ea186c7a5dc132b2e542b162c8cf75058636 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Thu, 27 Jun 2019 13:05:43 +0300 Subject: rr example --- .rr.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to '.rr.yaml') diff --git a/.rr.yaml b/.rr.yaml index 2155545c..f686cb7c 100644 --- a/.rr.yaml +++ b/.rr.yaml @@ -10,10 +10,20 @@ rpc: # rpc connection DSN. Supported TCP and Unix sockets. 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: ["a", "b", "c"] + buckets: [0.1, 0.2, 0.3, 1.0] + # http service configuration. http: # http host to listen. - address: 0.0.0.0:8080 + address: 0.0.0.0:8080 ssl: # custom https port (default 443) -- cgit v1.2.3