node-integration-tests: port GraphQL suites to span streaming

Open
#24,139 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
graphql, node.js, typescript
Domain
testing-qa

Research direction

Start with the parent issue's porting recipe, then inspect the listed suites under tracing/apollo-graphql, tracing/graphql-tracing-channel, and aws-serverless/graphql. Update the suites for the specified GraphQL span names, processing type, and segment-name behavior; done means all listed suites are ported and their tests pass.

Written by the indexing model from the issue text.

Description

javascript Task

Follow the porting recipe in the parent issue.

Small group, but the span names change the most: GraphQL phase spans now use the low cardinality fallback name and carry graphql.processing.type, and the segment name update from useOperationNameForRootSpan lands on the segment span instead of the transaction name.

Suites

  • tracing/apollo-graphql, tracing/apollo-graphql/resolvers, tracing/apollo-graphql/useOperationNameForRootSpan
  • tracing/graphql-tracing-channel, tracing/graphql-tracing-channel/resolvers, tracing/graphql-tracing-channel/useOperationNameForRootSpan
  • aws-serverless/graphql/useOperationNameForRootSpan

No -streamed twins exist for this group.

Dominant language
TypeScript
Stars
8.7k
Forks
1.9k
Avg merge
1d 18h
Merged PRs (30d)
543

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-javascript

All issues in getsentry/sentry-javascript

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.