docs: update usage reporting docs for dynamic exclusions via VRL expressions#104
Open
Copilot wants to merge 14 commits into
Open
docs: update usage reporting docs for dynamic exclusions via VRL expressions#104Copilot wants to merge 14 commits into
Copilot wants to merge 14 commits into
Conversation
…essions (router#932) Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/4fb074ac-500c-4a50-89d4-003a1192ea8b Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/4fb074ac-500c-4a50-89d4-003a1192ea8b Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
ardatan
May 5, 2026 14:57
View session
|
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/a6cb60f4-651b-440f-9765-b594a24e1e5d Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/d62a398b-b3f5-4e11-b6a9-0f7fc08f94e3 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
…ame/version Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/9a63a64f-3527-485e-9e0e-34614a366dcb Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
ardatan
approved these changes
May 5, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Hive Router documentation to describe excluding operations from usage reporting, including a new dynamic exclusion mechanism via VRL expressions, and refreshes related telemetry/expression references.
Changes:
- Added an “Excluding Operations” section to usage reporting docs, documenting both legacy operation-name lists and a VRL expression-based format.
- Expanded the telemetry configuration reference to document the
excludefield’s supported formats, with examples (operation name and header-based exclusions). - Updated the Expressions overview page to include usage-reporting exclusion as a documented use case.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| packages/documentation/content/docs/router/observability/usage_reporting.mdx | Adds a new section explaining how to exclude operations (legacy list vs VRL expression) with examples. |
| packages/documentation/content/docs/router/configuration/telemetry.mdx | Updates the usage_reporting reference to describe/exemplify the new exclude formats. |
| packages/documentation/content/docs/router/configuration/expressions.mdx | Adds a new bullet linking expressions to usage-reporting exclusions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
kamilkisiela
reviewed
May 6, 2026
… exclude example Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/261dd532-74f5-4d19-939b-eaf83497ca2b Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/6721615f-e464-4ce1-84f6-2be5cf3d01f0 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Member
|
@ardatan can you please add docs/example also to https://github.com/graphql-hive/docs/blob/main/packages/documentation/content/docs/other-integrations/apollo-router.mdx ? |
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/d1c2f38e-8df5-438d-980d-74cc75826df5 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/graphql-hive/docs/sessions/d1c2f38e-8df5-438d-980d-74cc75826df5 Co-authored-by: ardatan <20847995+ardatan@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bun run lint,bun run build,bun run test); build passes, lint has pre-existing warnings, and tests currently fail becausehttp://localhost:1440is already in usepackages/documentation/content/docs/other-integrations/apollo-router.mdx