Comments (12)
Hi @rosenfeld - thanks much for reporting this!
It looks like our instrumentation is not compatible with some recent changes in the mongo gem in version 1.10.0. For now, you can disable the mongo instrumentation by setting disable_mongo: true
in your newrelic.yml file, or setting NEW_RELIC_DISABLE_MONGO=1
in your application's environment.
I'll dig into exactly what's going on here and let you know as soon as we have an update.
from newrelic-ruby-agent.
Yes, we've done so already, but I thought you would be interested on knowing about the issue.
from newrelic-ruby-agent.
Very much so, thanks again, and sorry for the trouble this caused you! We'll let you know once we have a fix.
from newrelic-ruby-agent.
Not much trouble since we're mostly interested on other metric and we don't actually check the Mongo metrics since we don't store much sensitive data on it nor do we make much processing with those data so not having those metrics is not a big deal for us. We only had to disable it to get it running on staging, but it's good to report as someone else might depend more on this :)
from newrelic-ruby-agent.
+1 to this issue, the above fixed works fine
from newrelic-ruby-agent.
FYI, we've put in a stopgap measure in newrelic_rpm-3.8.0 that automatically disables our mongo instrumentation for mongo-1.10.0 and above, since fixing this turned out to be non-trivial. I'll keep this open until we actually release proper instrumentation for that version of the mongo gem.
from newrelic-ruby-agent.
@rosenfeld @danlo - we've just released version 3.8.1 of the newrelic_rpm gem, which includes support for version 1.10.0 of the mongo driver gem. We've also made some fixes that should prevent new versions of the mongo driver gem from breaking like this in the future.
If you're able to try out 3.8.1 (without disable_mongo
), we'd be very interested in getting confirmation that things are working as you expect.
Thanks again for reporting this!
from newrelic-ruby-agent.
Thanks, but it's Friday and I'm almost leaving. I'll leave as soon as I fix a bug that has just been reported to me... I'll take a look into this on Monday.
from newrelic-ruby-agent.
Awesome! No rush at all.
from newrelic-ruby-agent.
Bad juju to deploy friday afternoon :)
Monday for me too.
from newrelic-ruby-agent.
Ok, I could find some time to deploy the new released newrelic gem with my last fixes and I can confirm that everything is working after re-enabling mongo in newrelic.yml.
from newrelic-ruby-agent.
Awesome! Thanks for following up.
from newrelic-ruby-agent.
Related Issues (20)
- Evaluate additional Ruby VM stats for inclusion HOT 3
- Enhance the "Ruby VMs" UI section HOT 2
- Explore what is possible with transaction and/or span scoped Ruby VM stats HOT 1
- Create spans instead of TTs HOT 1
- Implement a Dimensional Metrics API HOT 1
- Spec: Add thread.id to Span events HOT 1
- Spec: Truncate custom event attributes HOT 2
- Spec: Add stack trace attribute to datastore segments HOT 1
- Spec: Add support for json logs HOT 1
- Elasticsearch: Instrumentation adds potentially dangerous `GET _cluster/health` request to every initial request HOT 11
- Refactor GuidGenerator to use SecureRandom (Fly backport) HOT 1
- [Spike] Ruby Agent - APM missing information for creation of APM to Cloud service relationships HOT 2
- Explore options for AWS Lambda instrumentation HOT 4
- [Spike] Add support for OpenAI Instrumentation HOT 2
- Add support for Bedrock (AI SDK) instrumentation HOT 1
- Consolidate "Unknown" constant values HOT 1
- Remove the Ruby/Thread + other spans HOT 1
- Retire deprecated way of creating deployment markers HOT 1
- Report Sidekiq jobs that call other jobs HOT 2
- Add Tests for Falcon HOT 1
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.