File tree Expand file tree Collapse file tree 4 files changed +40
-0
lines changed Expand file tree Collapse file tree 4 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ x-snuba-defaults: &snuba_defaults
84
84
# Leaving the value empty to just pass whatever is set
85
85
# on the host system (or in the .env file)
86
86
SENTRY_EVENT_RETENTION_DAYS :
87
+ # If you have statsd server, you can utilize that to monitor self-hosted Snuba containers.
88
+ # To start, state these environment variables below on your `.env.` file and adjust the options as needed.
89
+ SNUBA_STATSD_HOST : # Example value: "100.100.123.123". Must be an IP address, not domain name
90
+ SNUBA_STATSD_PORT : # Example value: 8125
87
91
services :
88
92
smtp :
89
93
<< : *restart_policy
Original file line number Diff line number Diff line change @@ -18,3 +18,14 @@ processing:
18
18
#
19
19
# health:
20
20
# max_memory_percent: 1.0
21
+
22
+ # If you have statsd server, you can utilize that to monitor self-hosted Relay.
23
+ # To start, uncomment the following line and adjust the options as needed.
24
+ #
25
+ # metrics:
26
+ # statsd: "100.100.123.123:8125" # It is recommended to use IP address instead of domain name
27
+ # prefix: "sentry.relay" # Adjust this to your needs, default is "sentry.relay"
28
+ # sample_rate: 1.0 # Adjust this to your needs, default is 1.0
29
+ # # `periodic_secs` is the interval for periodic metrics emitted from Relay.
30
+ # # Setting it to `0` seconds disables the periodic metrics.
31
+ # periodic_secs: 5
Original file line number Diff line number Diff line change @@ -396,3 +396,21 @@ def get_internal_network():
396
396
# to allow specific hosts. It might be IP addresses or domain names (without `http://` or `https://`).
397
397
398
398
# SENTRY_OPTIONS["relay.span-normalization.allowed_hosts"] = ["example.com", "192.168.10.1"]
399
+
400
+ ##############
401
+ # Monitoring #
402
+ ##############
403
+
404
+ # By default, Sentry uses dummy statsd monitoring backend that is a no-op.
405
+ # If you have a statsd server, you can utilize that to monitor self-hosted
406
+ # Sentry for "sentry"-related containers.
407
+ #
408
+ # To start, uncomment the following line and adjust the options as needed.
409
+
410
+ # SENTRY_METRICS_BACKEND = 'sentry.metrics.statsd.StatsdMetricsBackend'
411
+ # SENTRY_METRICS_OPTIONS: dict[str, Any] = {
412
+ # 'host': '100.100.123.123', # It is recommended to use IP address instead of domain name
413
+ # 'port': 8125,
414
+ # }
415
+ # SENTRY_METRICS_SAMPLE_RATE = 1.0 # Adjust this to your needs, default is 1.0
416
+ # SENTRY_METRICS_PREFIX = "sentry." # Adjust this to your needs, default is "sentry."
Original file line number Diff line number Diff line change @@ -6,3 +6,10 @@ logging:
6
6
metrics :
7
7
statsd : null
8
8
sentry_dsn : null # TODO: Automatically fill this with the internal project DSN
9
+
10
+ # If you have statsd server, you can utilize that to monitor self-hosted Symbolicator.
11
+ # To start, uncomment the following line and adjust the options as needed.
12
+ #
13
+ # metrics:
14
+ # statsd: "100.100.123.123:8125" # It is recommended to use IP address instead of domain name
15
+ # prefix: "sentry.symbolicator" # Adjust this to your needs, default is "symbolicator"
You can’t perform that action at this time.
0 commit comments