this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix label count for unknown (#626)

authored by

Jaz and committed by
GitHub
65fc1854 a2e24bb9

+5
+5
sonar/sonar.go
··· 270 270 default: 271 271 log.Warn("unknown record type", "rec", rec) 272 272 } 273 + 274 + if len(labelValues) == 2 { 275 + labelValues = append(labelValues, "unknown") 276 + } 277 + 273 278 recordsProcessedCounter.WithLabelValues(labelValues...).Inc() 274 279 if parseError != nil { 275 280 s.Logger.Error("error parsing time", "err", parseError)