Skip to content

Commit

Permalink
Merge pull request #191 from prometheus/mr/error-counters-total
Browse files Browse the repository at this point in the history
Add missing `_total` suffix to error counters
  • Loading branch information
matthiasr authored Dec 6, 2023
2 parents ccdd318 + 23359d1 commit 9498b92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,13 @@ func New(server string, timeout time.Duration, logger log.Logger, tlsConfig *tls
nil,
),
itemStoreTooLarge: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, "", "item_too_large"),
prometheus.BuildFQName(Namespace, "", "item_too_large_total"),
"The number of times an item exceeded the max-item-size when being stored.",
nil,
nil,
),
itemStoreNoMemory: prometheus.NewDesc(
prometheus.BuildFQName(Namespace, "", "item_no_memory"),
prometheus.BuildFQName(Namespace, "", "item_no_memory_total"),
"The number of times an item could not be stored due to no more memory.",
nil,
nil,
Expand Down

0 comments on commit 9498b92

Please sign in to comment.