Issue
I am using the Ruby SDK and I am missing certain request headers from my Sentry events even though I know that they exist when the event is sent.
Applies To
- Ruby SDK users
Resolution
The "X-Forwarded-For" header is not sent with the event by default as we consider it to be PII.
To enable the SDK to send that information, you can enable this option below within the initialization settings of the SDK -
config.send_default_pii = true