Skip to content

Commit

Permalink
fix: log raw metrics at V(3)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluecmd committed Jul 27, 2024
1 parent b091ebb commit 31b79a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ func (m *metricRegistry) PrometheusRegistry() *prometheus.Registry {
}

func (m *metricRegistry) Update(name string, json string) error {
log.V(3).Infof("New raw metric for %q: %s", name, json)
for _, mm := range matchers {
match := mm.re.FindStringSubmatch(name)
if match == nil {
Expand Down

0 comments on commit 31b79a0

Please sign in to comment.