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

docs(telemetry): specify which mode lets you disable specific attributes #4960

Merged
merged 2 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,5 @@ telemetry:
| `attributes` | [standard attributes](./standard-attributes)\|[selectors](./selectors) | | The attributes of the span. |
| `condition` | [conditions](./conditions) | | The condition for adding a custom attribute. |
| `default_attribute_requirement_level` | `required`\|`recommended` | `required` | The default attribute requirement level. |
| `legacy_request_span` | `true`\|`false` | | Include the `request` span in traces. |
| `mode` | `spec_compliant` \| `deprecated` | `deprecated` | The attributes of the span. |

Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ Standard attributes of the `supergraph` service:

| Attribute | Values | Description |
|-----------------------------|-------------------------------------|---------------------------------------------|
| `graphql.operation.name` | | The operation name from the graphql query |
| `graphql.operation.name` | | The operation name from the graphql query (need `spec_compliant` [mode](./spans/#mode) to disable it) |
| `graphql.operation.type` | `query`\|`mutation`\|`subscription` | The operation kind from the subgraph query |
| `graphql.document` | | The GraphQL query to the subgraph |
| `graphql.document` | | The GraphQL query to the subgraph (need `spec_compliant` [mode](./spans/#mode) to disable it) |


#### Subgraph
Expand All @@ -92,7 +92,7 @@ Standard attributes of the `subgraph` service:

| Attribute | Values | Description |
|------------------------------------|-------------------------------------|------------------------------------------------|
| `subgraph.name` | | The name of the subgraph |
| `subgraph.graphql.operation.name` | | The operation name from the subgraph query |
| `subgraph.name` | | The name of the subgraph (need `spec_compliant` [mode](./spans/#mode) to disable it) |
| `subgraph.graphql.operation.name` | | The operation name from the subgraph query (need `spec_compliant` [mode](./spans/#mode) to disable it) |
| `subgraph.graphql.operation.type` | `query`\|`mutation`\|`subscription` | The operation kind from the subgraph query |
| `subgraph.graphql.document` | | The GraphQL query to the subgraph |
| `subgraph.graphql.document` | | The GraphQL query to the subgraph (need `spec_compliant` [mode](./spans/#mode) to disable it) |
Loading