-
Notifications
You must be signed in to change notification settings - Fork 305
feat(subscription): add operation_name label to apollo.router.opened.subscriptions counter #7606
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
Conversation
…subscriptions counter Signed-off-by: Benjamin <[email protected]>
This comment has been minimized.
This comment has been minimized.
✅ Docs preview readyThe preview is ready to be viewed. View the preview File Changes 0 new, 18 changed, 0 removed
Build ID: 7b98c8b2b5e28b90dae5f374 URL: https://www.apollographql.com/docs/deploy-preview/7b98c8b2b5e28b90dae5f374 |
…ross tokio tasks.
…operation_name_subscription_metric
….com:apollographql/router into bnjjj/add_operation_name_subscription_metric
Signed-off-by: Benjamin <[email protected]>
Signed-off-by: Benjamin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs docs for the subscription metric updated.
Signed-off-by: Benjamin <[email protected]>
….com:apollographql/router into bnjjj/add_operation_name_subscription_metric
✅ Docs preview readyThe preview is ready to be viewed. View the preview File Changes 0 new, 22 changed, 0 removed
Build ID: 161290569748dcc2b656cc43 URL: https://www.apollographql.com/docs/deploy-preview/161290569748dcc2b656cc43 |
🛠️ Docs preview building...The preview is currently being built. Build ID: 161290569748dcc2b656cc43 |
3 similar comments
🛠️ Docs preview building...The preview is currently being built. Build ID: 161290569748dcc2b656cc43 |
🛠️ Docs preview building...The preview is currently being built. Build ID: 161290569748dcc2b656cc43 |
🛠️ Docs preview building...The preview is currently being built. Build ID: 161290569748dcc2b656cc43 |
…subscriptions counter (#7606) Signed-off-by: Benjamin <[email protected]> Co-authored-by: carodewig <[email protected]> Co-authored-by: bryn <[email protected]> (cherry picked from commit e7b7e40) # Conflicts: # apollo-router/src/metrics/mod.rs # docs/source/routing/observability/telemetry/instrumentation/standard-instruments.mdx
…subscriptions counter (backport #7606) (#7656) Signed-off-by: Benjamin <[email protected]>
This PR adds a new label on
apollo.router.opened.subscriptions
metric to know exactly which subscription is still opened.Checklist
Complete the checklist (and note appropriate exceptions) before the PR is marked ready-for-review.
Exceptions
Note any exceptions here
Notes
Footnotes
It may be appropriate to bring upcoming changes to the attention of other (impacted) groups. Please endeavour to do this before seeking PR approval. The mechanism for doing this will vary considerably, so use your judgement as to how and when to do this. ↩
Configuration is an important part of many changes. Where applicable please try to document configuration examples. ↩
A lot of (if not most) features benefit from built-in observability and
debug
-level logs. Please read this guidance on metrics best-practices. ↩Tick whichever testing boxes are applicable. If you are adding Manual Tests, please document the manual testing (extensively) in the Exceptions. ↩