diff options
author | Wolfy-J <[email protected]> | 2019-06-27 13:05:43 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2019-06-27 13:05:43 +0300 |
commit | b386ea186c7a5dc132b2e542b162c8cf75058636 (patch) | |
tree | 50c07b1bf2d442be5ef2206b7c551aa4ec28da23 /.rr.yaml | |
parent | ce7f331a5e6c6129331e06224865abdb1298584d (diff) |
rr example
Diffstat (limited to '.rr.yaml')
-rw-r--r-- | .rr.yaml | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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) |