Giter Site home page Giter Site logo

cannot see custom attributes on new relic ui for graphql operations in a distributed trace about newrelic-node-apollo-server-plugin HOT 2 CLOSED

rhyek avatar rhyek commented on August 17, 2024
cannot see custom attributes on new relic ui for graphql operations in a distributed trace

from newrelic-node-apollo-server-plugin.

Comments (2)

workato-integration avatar workato-integration commented on August 17, 2024

https://issues.newrelic.com/browse/NR-163343

from newrelic-node-apollo-server-plugin.

bizob2828 avatar bizob2828 commented on August 17, 2024

@rhyek using the configuration of customResolverAttributes and customOperationAttributes will assign those custom attributes to all resolver or operation spans, depending on how you set it. You appear to be highlighting a root span, you'd need to find the ones that are named /GraphQL/operation/ApolloServer/[operation-type]/[operation-name]/[deepest-unique-path] or /GraphQL/resolve/ApolloServer/[path].

Using our api addCustomAttributes it will add those attributes to whatever is the active span, so that would require more context into when/where you're calling that method.

I recommend working this through support.newrelic.com. They can help deep-dive into solving the problem. They will also ask to collect the necessary information which may or may not be sensitive (such as logs, account information, etc.). If you have a simple reproduction case, I may be able to take a look but would definitely need more information.

from newrelic-node-apollo-server-plugin.

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.