Skip to content
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

OpenTelemetry nil dereference #1827

Open
sengi opened this issue Feb 8, 2024 · 1 comment
Open

OpenTelemetry nil dereference #1827

sengi opened this issue Feb 8, 2024 · 1 comment

Comments

@sengi
Copy link
Contributor

sengi commented Feb 8, 2024

OTel is logging this nil dereference at quite a rate, nearly 1000/s during daily peak traffic in prod:

ERROR -- : OpenTelemetry error: undefined method `env' for nil:NilClass

Disabled OTel in prod until we figure out what's going on here and fix it.

sengi added a commit that referenced this issue Feb 8, 2024
Disable OpenTelemetry in prod until #1827 is fixed.
@theseanything
Copy link
Contributor

The root cause is due to logstasher gem not including the "request" object in the payload for "process_action.action_controller" events. The gem strangely re-implements the event handler. A suggested fix is here shadabahmed/logstasher#185. However, development on that gem is somewhat stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants