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
8484 # Leaving the value empty to just pass whatever is set
8585 # on the host system (or in the .env file)
8686 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
8791services :
8892 smtp :
8993 << : *restart_policy
Original file line number Diff line number Diff line change @@ -18,3 +18,14 @@ processing:
1818#
1919# health:
2020# 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():
396396# to allow specific hosts. It might be IP addresses or domain names (without `http://` or `https://`).
397397
398398# 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:
66metrics :
77 statsd : null
88sentry_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