Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): Add new Instruments API #3793

Merged
merged 29 commits into from
Mar 5, 2025
Merged

feat(core): Add new Instruments API #3793

merged 29 commits into from
Mar 5, 2025

Conversation

EmrysMyrddin
Copy link
Collaborator

No description provided.

Copy link

changeset-bot bot commented Feb 20, 2025

🦋 Changeset detected

Latest commit: 03a012b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 24 packages
Name Type
@graphql-yoga/nestjs-federation Patch
@graphql-yoga/plugin-apollo-inline-trace Major
@graphql-yoga/plugin-disable-introspection Major
@graphql-yoga/plugin-prometheus Major
@graphql-yoga/plugin-response-cache Major
graphql-yoga Minor
@graphql-yoga/plugin-apollo-usage-report Major
hello-world-benchmark Patch
@graphql-yoga/nestjs Major
@graphql-yoga/render-graphiql Major
@graphql-yoga/apollo-managed-federation Major
@graphql-yoga/plugin-apq Major
@graphql-yoga/plugin-csrf-prevention Major
@graphql-yoga/plugin-defer-stream Major
@graphql-yoga/plugin-graphql-sse Major
@graphql-yoga/plugin-jwt Major
@graphql-yoga/plugin-persisted-operations Major
@graphql-yoga/plugin-sofa Major
apollo-federation-gateway-with-yoga Patch
apollo-subgraph-with-yoga Patch
graphql-lambda Patch
cloudflare-advanced Patch
cloudflare Patch
nextjs-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Feb 20, 2025

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

Copy link
Contributor

github-actions bot commented Feb 20, 2025

💻 Website Preview

The latest changes are available as preview in: https://cdbecdfb.graphql-yoga.pages.dev

@EmrysMyrddin EmrysMyrddin force-pushed the feat/tracer branch 2 times, most recently from cd41af9 to f3d1050 Compare February 27, 2025 14:37
Copy link
Contributor

github-actions bot commented Feb 27, 2025

✅ Benchmark Results

     ✓ no_errors{mode:graphql}
     ✓ expected_result{mode:graphql}
     ✓ no_errors{mode:graphql-jit}
     ✓ expected_result{mode:graphql-jit}
     ✓ no_errors{mode:graphql-response-cache}
     ✓ expected_result{mode:graphql-response-cache}
     ✓ no_errors{mode:graphql-no-parse-validate-cache}
     ✓ expected_result{mode:graphql-no-parse-validate-cache}
     ✓ no_errors{mode:uws}
     ✓ expected_result{mode:uws}

     checks.......................................: 100.00% ✓ 496730      ✗ 0     
     data_received................................: 2.0 GB  13 MB/s
     data_sent....................................: 100 MB  665 kB/s
     http_req_blocked.............................: avg=1.57µs   min=1.04µs   med=1.38µs   max=791.6µs p(90)=2.03µs   p(95)=2.23µs  
     http_req_connecting..........................: avg=5ns      min=0s       med=0s       max=732.7µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=374.83µs min=217.35µs med=342.95µs max=18.33ms p(90)=492.48µs p(95)=525.24µs
       { expected_response:true }.................: avg=374.83µs min=217.35µs med=342.95µs max=18.33ms p(90)=492.48µs p(95)=525.24µs
     ✓ { mode:graphql-jit }.......................: avg=290.86µs min=217.35µs med=275.39µs max=18.33ms p(90)=306.71µs p(95)=318.82µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=523µs    min=409.65µs med=496.63µs max=11.85ms p(90)=563.69µs p(95)=620.95µs
     ✓ { mode:graphql-response-cache }............: avg=357.93µs min=276.26µs med=340.52µs max=7.56ms  p(90)=373.64µs p(95)=385.97µs
     ✓ { mode:graphql }...........................: avg=378.5µs  min=283.83µs med=352.01µs max=14.91ms p(90)=402.8µs  p(95)=436.41µs
     ✓ { mode:uws }...............................: avg=367.31µs min=277.09µs med=347.65µs max=6.91ms  p(90)=390.44µs p(95)=413.85µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 248365
     http_req_receiving...........................: avg=32.96µs  min=16.43µs  med=32.32µs  max=2.78ms  p(90)=39.02µs  p(95)=42.34µs 
     http_req_sending.............................: avg=8.72µs   min=5.99µs   med=7.65µs   max=1.7ms   p(90)=11.13µs  p(95)=12.42µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s      p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=333.13µs min=186.62µs med=302.12µs max=18.21ms p(90)=450.23µs p(95)=481.36µs
     http_reqs....................................: 248365  1655.749578/s
     iteration_duration...........................: avg=598.88µs min=396.54µs med=562.81µs max=19.5ms  p(90)=718.55µs p(95)=759.73µs
     iterations...................................: 248365  1655.749578/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

@EmrysMyrddin EmrysMyrddin force-pushed the feat/tracer branch 3 times, most recently from 6633cd4 to 12684fa Compare March 4, 2025 13:49
@EmrysMyrddin EmrysMyrddin changed the title feat(core): Add new Tracer API feat(core): Add new Instruments API Mar 4, 2025
@ardatan ardatan merged commit 63b78d5 into main Mar 5, 2025
29 checks passed
@ardatan ardatan deleted the feat/tracer branch March 5, 2025 14:56
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.

2 participants