Comments (5)
Hi @PetrKaleta - thanks for reporting this!
The backtrace in sidekiq/sidekiq#1823 doesn't make much sense, and there are multiple calls to methods called duration
, none of which immediately seems like the obvious culprit here, so a bit more information from you would be helpful in tracking this down:
- How consistently does this happen (as a percentage of all of your jobs, what number appear to be affected?)
- If this only affects a subset of jobs, do you notice anything about that subset that separates it from the rest of your jobs (for example, jobs only jobs that make HTTP requests appear to be affected)?
- If it happens frequently enough, are you able to grab your Heroku logs around an occurrence? If there's an upstream error in the agent that's being masked, it should show up in your Heroku logs.
We'll keep digging as well and let you know if we find anything.
Thanks again, and sorry for the trouble!
Ben
from newrelic-ruby-agent.
Hmm, I also notice that honeybadger's gem has a Sidekiq middleware that will end up calling a method called duration.
Given the backtrace, I lean towards agreeing with Mike's comment that it looks like it might be something after New Relic in the middleware chain.
Given this, could you maybe try disabling or removing newrelic_rpm in order to confirm whether the problem goes away without us? If it persists, then honeybadger might be the next place to investigate.
from newrelic-ruby-agent.
Hi @PetrKaleta - have you had a chance to look into this any more?
We're still not able to reproduce this issue, and any additional info you can provide would be helpful - either answers to any of the questions above, or the results of an experiment where you disable the Ruby agent in your Sidekiq workers (you can easily do this for just your Sidekiq workers by setting the NEW_RELIC_AGENT_ENABLED
environment variable to false
).
Thanks!
from newrelic-ruby-agent.
Hey guys, sorry for delayed response. This crash happened just once, was caught by Honeybadger, I sent you whole stack trace that I was able to grab from it.
Job that crashed was doing HTTP call to 3rd party service and parsing its response using nokogiri.
from newrelic-ruby-agent.
We are closing this issue due to age. If this issue is still a problem, please open a new issue, reach out on the New Relic Explorers Hub or contact Support.
Thank you!
from newrelic-ruby-agent.
Related Issues (20)
- serverless: wrapper script can't find the agent when another Ruby layer is involved HOT 2
- severless: GHA and Dockerfile issues HOT 3
- serverless: Contribute RubyGems.org polling to our internal cron based layer auto-publisher repo HOT 2
- Prep k8s operator repo for Ruby HOT 2
- Add supportability metric for agent version HOT 2
- Remove support for memcached and memcache-client HOT 1
- CI: Improve CI failure output HOT 1
- k8s: Spike on a suitable `require` and load order solution to power the Go based operator HOT 2
- "rake console" target requires Pry despite Pry being unavailable by default HOT 1
- CI: Introduce Ruby 3.4-preview1 as a Ruby instance HOT 2
- serverless: rework the Ruby CI/CD to leverage GitHub Actions and drop Docker HOT 2
- serverless: CI/CD - separate out the "build" process from the "publish" process HOT 2
- Instrument Mongoid HOT 1
- serverless: Investigate a reported requirement that the NR Ruby layer be the first layer HOT 1
- Add support for Natalie Ruby HOT 1
- Support non-Gemfile based Kamal deployments HOT 1
- Spike: Investigate `Nested` controller traces HOT 1
- Support Rails 8.0 HOT 1
- Support Rails 7.2 HOT 1
- Update a2q-apm-ruby base image HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newrelic-ruby-agent.