GithubHelp home page GithubHelp logo

Comments (12)

benweint avatar benweint commented on July 20, 2024

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.

rosenfeld avatar rosenfeld commented on July 20, 2024

Yes, we've done so already, but I thought you would be interested on knowing about the issue.

from newrelic-ruby-agent.

benweint avatar benweint commented on July 20, 2024

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.

rosenfeld avatar rosenfeld commented on July 20, 2024

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.

danlo avatar danlo commented on July 20, 2024

+1 to this issue, the above fixed works fine

from newrelic-ruby-agent.

benweint avatar benweint commented on July 20, 2024

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.

benweint avatar benweint commented on July 20, 2024

@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.

rosenfeld avatar rosenfeld commented on July 20, 2024

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.

benweint avatar benweint commented on July 20, 2024

Awesome! No rush at all.

from newrelic-ruby-agent.

danlo avatar danlo commented on July 20, 2024

Bad juju to deploy friday afternoon :)

Monday for me too.

from newrelic-ruby-agent.

rosenfeld avatar rosenfeld commented on July 20, 2024

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.

benweint avatar benweint commented on July 20, 2024

Awesome! Thanks for following up.

from newrelic-ruby-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.