summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.rr.yaml')
-rw-r--r--.rr.yaml42
1 files changed, 42 insertions, 0 deletions
diff --git a/.rr.yaml b/.rr.yaml
index ccde86bf..6fdbd648 100644
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -190,6 +190,13 @@ temporal:
#
# Optional section
metrics:
+
+ # ---- Prometheus
+
+ # Metrics driver to use
+ #
+ # Optional, default: prometheus. Available values: prometheus, statsd
+ driver: prometheus
# Server metrics address
#
# Required for the production. Default: 127.0.0.1:9091, for the metrics 127.0.0.1:9091/metrics
@@ -204,6 +211,41 @@ temporal:
# Default: (empty)
prefix: "foobar"
+ # ---- Statsd (uncomment)
+
+ # Metrics driver to use
+ #
+ # Optional, default: prometheus. Available values: prometheus, statsd
+ # driver: statsd
+
+ # Statsd host and port
+ #
+ # Optional, default: 127.0.0.1:8125
+ # host_port: "127.0.0.1:8125"
+
+ # Prefix for the metrics
+ #
+ # Optional, default: empty
+ # prefix: "samples"
+
+ # Flush interval is the maximum interval for sending packets.
+ #
+ # Optional, default: 1s
+ # flush_interval: 1s
+
+ # Flush bytes specifies the maximum udp packet size you wish to send.
+ # If FlushBytes is unspecified, it defaults to 1432 bytes, which is
+ # considered safe for local traffic
+ #
+ # Optional, default: 1432
+ # flush_bytes: 1432
+
+ # Tags passed to the statsd on init
+ #
+ # Optional, default: empty
+ #tags:
+ # - foo: bar
+
# Activities pool settings.
activities:
# Debug mode for the pool. In this mode, pool will not pre-allocate the worker. Worker (only 1, num_workers ignored) will be allocated right after the request arrived.