Skip to content

Commit 2512a6b

Browse files
cijothomaspellareddmathieu
authored
Clarify overflow attribute description in doc.go to indicate it is boolean true (#7247)
and not string "true" --------- Co-authored-by: Robert Pająk <[email protected]> Co-authored-by: Damien Mathieu <[email protected]>
1 parent 45bb4ba commit 2512a6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/metric/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
//
5151
// New attribute sets are dropped when the cardinality limit is reached. The measurement of
5252
// these sets are aggregated into
53-
// a special attribute set containing "otel.metric.overflow" attribute with "true" value.
53+
// a special attribute set containing attribute.Bool("otel.metric.overflow", true).
5454
// This ensures total metric values (e.g., Sum, Count) remain correct for the
5555
// collection cycle, but information about the specific dropped sets
5656
// is not preserved.

0 commit comments

Comments
 (0)