Skip to content

Commit a528aff

Browse files
authored
Update documentation for exemplar label limit (#1095)
Signed-off-by: Fredrik Enestad <[email protected]>
1 parent ba4a543 commit a528aff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

prometheus/counter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ type Counter interface {
5151
// will lead to a valid (label-less) exemplar. But if Labels is nil, the current
5252
// exemplar is left in place. AddWithExemplar panics if the value is < 0, if any
5353
// of the provided labels are invalid, or if the provided labels contain more
54-
// than 64 runes in total.
54+
// than 128 runes in total.
5555
type ExemplarAdder interface {
5656
AddWithExemplar(value float64, exemplar Labels)
5757
}

prometheus/observer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ type ObserverVec interface {
5858
// current time as timestamp, and the provided Labels. Empty Labels will lead to
5959
// a valid (label-less) exemplar. But if Labels is nil, the current exemplar is
6060
// left in place. ObserveWithExemplar panics if any of the provided labels are
61-
// invalid or if the provided labels contain more than 64 runes in total.
61+
// invalid or if the provided labels contain more than 128 runes in total.
6262
type ExemplarObserver interface {
6363
ObserveWithExemplar(value float64, exemplar Labels)
6464
}

0 commit comments

Comments
 (0)