Skip to content

Conversation

@s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Apr 8, 2025

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.28 KB +0.01% +1 B 🔺
@sentry/browser - with treeshaking flags 23.12 KB - -
@sentry/browser (incl. Tracing) 36.95 KB +0.01% +1 B 🔺
@sentry/browser (incl. Tracing, Replay) 74.14 KB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.51 KB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 78.8 KB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 90.61 KB - -
@sentry/browser (incl. Feedback) 39.68 KB +0.01% +1 B 🔺
@sentry/browser (incl. sendFeedback) 27.9 KB +0.01% +1 B 🔺
@sentry/browser (incl. FeedbackAsync) 32.67 KB - -
@sentry/react 25.09 KB +0.01% +1 B 🔺
@sentry/react (incl. Tracing) 38.87 KB - -
@sentry/vue 27.51 KB - -
@sentry/vue (incl. Tracing) 38.67 KB - -
@sentry/svelte 23.32 KB +0.01% +1 B 🔺
CDN Bundle 24.51 KB - -
CDN Bundle (incl. Tracing) 36.95 KB - -
CDN Bundle (incl. Tracing, Replay) 71.99 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 77.16 KB +0.01% +1 B 🔺
CDN Bundle - uncompressed 71.47 KB - -
CDN Bundle (incl. Tracing) - uncompressed 109.23 KB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 220.52 KB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 233.05 KB - -
@sentry/nextjs (client) 40.49 KB - -
@sentry/sveltekit (client) 37.39 KB - -
@sentry/node 143.13 KB +0.07% +100 B 🔺
@sentry/node - without tracing 96.24 KB +0.01% +2 B 🔺
@sentry/aws-serverless 120.58 KB -0.01% -3 B 🔽

View base workflow run

@s1gr1d s1gr1d requested a review from mydea April 11, 2025 12:31
@s1gr1d s1gr1d marked this pull request as ready for review April 11, 2025 12:32
test('should instrument GraphQL queries used from Apollo Server.', async () => {
const EXPECTED_TRANSACTION = {
transaction: 'Test Transaction',
transaction: 'Test Transaction (query)',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this lacking a query name on purpose? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The query in this test doesn't have a name:

      await server.executeOperation({
        query: '{hello}',
      });

Whereas, when it has one like this:

    await apolloServer.executeOperation({
     query: 'query GetHello {hello}',
   });

the transaction is named like this: Test Transaction (query GetHello)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh right, makes sense 👍

@s1gr1d s1gr1d merged commit f4cc3d2 into develop Apr 16, 2025
156 checks passed
@s1gr1d s1gr1d deleted the sig/graphql-aws-set-operation branch April 16, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

graphqlIntegration does not rename the root span with the operation name in AWS Lambda

3 participants