Skip to content

Commit

Permalink
Expose discarded bytes metric (#1317)
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
  • Loading branch information
roidelapluie authored and rfratto committed Nov 25, 2019
1 parent 91bbe86 commit 5d1fec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/validation/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ var DiscardedSamples = prometheus.NewCounterVec(
)

func init() {
prometheus.MustRegister(DiscardedSamples)
prometheus.MustRegister(DiscardedSamples, DiscardedBytes)
}

0 comments on commit 5d1fec5

Please sign in to comment.