Skip to content

Commit ca5e188

Browse files
committed
Register the DiscardedMetadata metric
Signed-off-by: gotjosh <[email protected]>
1 parent f96a4cd commit ca5e188

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/util/validation/validate.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ var DiscardedMetadata = prometheus.NewCounterVec(
7676

7777
func init() {
7878
prometheus.MustRegister(DiscardedSamples)
79+
prometheus.MustRegister(DiscardedMetadata)
7980
}
8081

8182
// SampleValidationConfig helps with getting required config to validate sample.

0 commit comments

Comments
 (0)