Skip to content

Commit

Permalink
Update documentation for exemplar label limit (#1095)
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Enestad <fredrik@enestad.com>
  • Loading branch information
fredr committed Jul 27, 2022
1 parent ba4a543 commit a528aff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prometheus/counter.go
Expand Up @@ -51,7 +51,7 @@ type Counter interface {
// will lead to a valid (label-less) exemplar. But if Labels is nil, the current
// exemplar is left in place. AddWithExemplar panics if the value is < 0, if any
// of the provided labels are invalid, or if the provided labels contain more
// than 64 runes in total.
// than 128 runes in total.
type ExemplarAdder interface {
AddWithExemplar(value float64, exemplar Labels)
}
Expand Down
2 changes: 1 addition & 1 deletion prometheus/observer.go
Expand Up @@ -58,7 +58,7 @@ type ObserverVec interface {
// current time as timestamp, and the provided Labels. Empty Labels will lead to
// a valid (label-less) exemplar. But if Labels is nil, the current exemplar is
// left in place. ObserveWithExemplar panics if any of the provided labels are
// invalid or if the provided labels contain more than 64 runes in total.
// invalid or if the provided labels contain more than 128 runes in total.
type ExemplarObserver interface {
ObserveWithExemplar(value float64, exemplar Labels)
}

0 comments on commit a528aff

Please sign in to comment.