Skip to content

Commit

Permalink
docs(telemetry): specify which mode lets you disable specific attribu…
Browse files Browse the repository at this point in the history
…tes (#4960)

Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
  • Loading branch information
bnjjj authored Apr 23, 2024
1 parent 8d39abf commit 734d1e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
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) |

0 comments on commit 734d1e8

Please sign in to comment.