1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-09-16 09:26:25 +02:00

Clarify overflow attribute description in doc.go to indicate it is boolean true (#7247)

and not string "true"

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
This commit is contained in:
Cijo Thomas
2025-08-26 02:04:11 -07:00
committed by GitHub
parent 45bb4ba720
commit 2512a6b087

View File

@@ -50,7 +50,7 @@
//
// New attribute sets are dropped when the cardinality limit is reached. The measurement of
// these sets are aggregated into
// a special attribute set containing "otel.metric.overflow" attribute with "true" value.
// a special attribute set containing attribute.Bool("otel.metric.overflow", true).
// This ensures total metric values (e.g., Sum, Count) remain correct for the
// collection cycle, but information about the specific dropped sets
// is not preserved.