Skip to content

@opentelemetry/instrumentation-graphql: Improve graphql instrumentation configuration #2735

Open
@ArturAralin

Description

@ArturAralin
  • This only affects the JavaScript OpenTelemetry library
  • This may affect other libraries, but I would like to get opinions here first

Good day everyone! I'd started using graphql instrumentation and I noticed that some of traces isn't useful for regular (non debugging) tracing. I have a proposal to change default graphql patching to execute only. Rest two parser and validate should be able enabled by configuration flag.

If this proposal is appropriate I can make a PR with API update

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions