GithubHelp home page GithubHelp logo

Comments (4)

willnewrelic avatar willnewrelic commented on July 19, 2024

Hi VadimBelov

If ErrorCollector.Enabled is set to false, errors and error events should not be captured due to the following conditional:
https://github.com/newrelic/go-agent/blob/master/internal_txn.go#L284

I don't see any code issues and everything works as expected in my tests. Could you please try testing this again?

from go-agent.

VadimBelov avatar VadimBelov commented on July 19, 2024

Hi willnewrelic,
The errors that I see reported in New Relic APM page ("Error Analytics" and "Errors" views under EVENTS section) are panic events that occur in the middle of a transaction.
Considering this we assume that nor "analytics events" neither "traced errors" (the views described above) should show events if Error Collector is disabled.

from go-agent.

willnewrelic avatar willnewrelic commented on July 19, 2024

Hi VadimBelov

I think I understand the issue now:

When ErrorCollector.Enabled is set to false, the go-agent still creates error metrics. This shows that errors are happening on the "Errors" and "Error Analytics" pages, even though examples of these errors are not being captured.

Though this is intended behavior, I see how it could be surprising and confusing. I will research this issue, and we will either change the behavior or improve the documentation.

Expect an update next week.

from go-agent.

willnewrelic avatar willnewrelic commented on July 19, 2024

Hi VadimBelov

Just released version 1.2. This version has a fix: Error metrics are no longer created when ErrorCollector.Enabled is set to false. I am hopeful that this solves your issue!

Closing this issue: Please reopen it if problems persist.

from go-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.