docs(router): circuit breaker in subgraph execution#86
docs(router): circuit breaker in subgraph execution#86
Conversation
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/df201bf4-472a-4cd5-8286-7cf523e0365d Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/adb0fa7f-61d4-4b30-b4ea-aa2ebf2aaf89 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/a0c25c65-fc2d-4849-9d1f-e7e2cef52f58 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
|
There was a problem hiding this comment.
Pull request overview
Adds Router documentation describing the new circuit breaker behavior for subgraph execution and exposes the related traffic_shaping.circuit_breaker configuration in the reference docs (supporting graphql-hive/router#900).
Changes:
- Add a new “Circuit Breaker” section to the Performance Tuning guide (states, configuration examples, tuning guidance, and a metric mention).
- Extend the
traffic_shapingconfiguration reference to document thecircuit_breakeroption and its fields. - Update the “Outbound Options” section to include
circuit_breakeramong globally/per-subgraph overrideable settings.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| packages/documentation/content/docs/router/guides/performance-tuning.mdx | Introduces circuit breaker guide content, examples, and metrics/tuning notes. |
| packages/documentation/content/docs/router/configuration/traffic_shaping.mdx | Documents traffic_shaping.*.circuit_breaker config schema and links to the tuning guide. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…tuning.mdx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…tuning.mdx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…tuning.mdx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@copilot fix linting |
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/5cfb6b53-b887-4443-9179-567a36d06d91 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
|
@copilot resolve the merge conflicts in this pull request, and update documentation based on the recent changes in graphql-hive/router#900 |
…r documentation Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
…hanges Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/cdda2700-6dc4-4de9-a73f-35a02f4cb635 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Done in 74c48ab. Merged
|
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/ad229756-753a-46cf-8b15-0b0dbb718ed5 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
error_status_codesfield documentation totraffic_shaping.mdxerror_status_codesto the configuration table inperformance-tuning.mdx