-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose the the Studio Operation ID to plugins. (#3586)
Fix #2728 This changeset exposes a new key in the context, `studio_operation_id`, which identifies operation you can find in studio: ``` https://studio.apollographql.com/graph/<your_graph_variant>/variant/<your_graph_variant>/operations?query=<studio_operation_id> ``` This new context key is exposed at various stages of the operation pipeline: - Execution service request - Subgraph service request - Subgraph service response - Execution service response - Supergraph service response - Router service response
- Loading branch information
Showing
6 changed files
with
342 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
### Expose the stats_reports_key hash to plugins. ([Issue #2728](https://github.com/apollographql/router/issues/2728)) | ||
|
||
This changeset exposes a new key in the context, `apollo_operation_id`, which identifies operation you can find in studio: | ||
|
||
``` | ||
https://studio.apollographql.com/graph/<your_graph_variant>/variant/<your_graph_variant>/operations?query=<apollo_operation_id> | ||
``` | ||
|
||
This new context key is exposed at various stages of the operation pipeline: | ||
|
||
- Execution service request | ||
- Subgraph service request | ||
|
||
- Subgraph service response | ||
- Execution service response | ||
- Supergraph service response | ||
- Router service response | ||
|
||
By [@o0Ignition0o](https://github.com/o0Ignition0o) in https://github.com/apollographql/router/pull/3586 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.