Skip to content

High cardinality on server request observations due to graphql.operation #1322

@denniseffing

Description

@denniseffing

Hi,

the documentation states that the graphql.operation tag for server request observations is derived from the operation’s custom name (if provided) or the default operation name, and that it is intended to be low cardinality.

In practice, because clients control the custom operation name, we’re seeing high cardinality in our metrics. For example, in our environment graphql.operation currently has over 1,000 distinct values (for just one service/subgraph).

Could you consider changing the default behavior of graphql.operation to ensure lower cardinality by default?

Metadata

Metadata

Assignees

Labels

in: coreIssues related to config and core supporttype: bugA general bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions