summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-06-27 13:05:43 +0300
committerWolfy-J <[email protected]>2019-06-27 13:05:43 +0300
commitb386ea186c7a5dc132b2e542b162c8cf75058636 (patch)
tree50c07b1bf2d442be5ef2206b7c551aa4ec28da23 /.rr.yaml
parentce7f331a5e6c6129331e06224865abdb1298584d (diff)
rr example
Diffstat (limited to '.rr.yaml')
-rw-r--r--.rr.yaml12
1 files changed, 11 insertions, 1 deletions
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)