Skip to content

Commit 054b915

Browse files
chore(relay): specify spool.enveloppe.max_backpressure_memory_percent configuration for handling relay's failing healthcheck (#3635)
* chore(relay): specify spool.enveloppe.max_backpressure_memory_percent configuration for handling relay's failing healthcheck Although a fix is being rolled out, that does not mean every relay instance would suddenly be fixed. We would need to still provide a workaround for people to try out. Refer to this specific issue comment: #3330 (comment) * Update config.example.yml Co-authored-by: Riccardo Busetti <riccardob36@gmail.com> * chore: default path for relay spool envelopes --------- Co-authored-by: Riccardo Busetti <riccardob36@gmail.com>
1 parent a956339 commit 054b915

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

relay/config.example.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,18 @@ processing:
1414

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

2227
# 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.
28+
# To start, uncomment the following `metrics` section and adjust the options as needed.
2429
#
2530
# metrics:
2631
# statsd: "100.100.123.123:8125" # It is recommended to use IP address instead of domain name

0 commit comments

Comments
 (0)