Replies: 1 comment 2 replies
-
Because high-cardinality attributes are best to be avoided in metrics. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The following piece of code creates an
attrs
array, appends the formatted query and sends the newly created array to the trace. On the other hand, the query is not sent when recording thequeryHistogram
.source: https://github.com/uptrace/opentelemetry-go-extra/blob/main/otelsql/otel.go#L94-L108
Beta Was this translation helpful? Give feedback.
All reactions