Skip to content

chore(relay): specify spool.enveloppe.max_backpressure_memory_percent configuration for handling relay's failing healthcheck #3635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions relay/config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@ processing:

# In some cases, relay might fail to find out the actual machine memory
# therefore it makes the healthcheck fail and events can't be submitted.
# As a workaround, uncomment the following line:
# See https://github.com/getsentry/self-hosted/issues/3330 for more details.
# As a workaround, uncomment the following `health` and `spool` sections:
#
# health:
# max_memory_percent: 1.0
# spool:
# envelopes:
# path: "/tmp/relay-spool-envelopes"
# max_backpressure_memory_percent: 1.0

# If you have statsd server, you can utilize that to monitor self-hosted Relay.
# To start, uncomment the following line and adjust the options as needed.
# To start, uncomment the following `metrics` section and adjust the options as needed.
#
# metrics:
# statsd: "100.100.123.123:8125" # It is recommended to use IP address instead of domain name
Expand Down