Skip to content

Commit

Permalink
Merge #134664
Browse files Browse the repository at this point in the history
134664: server: remove seemingly unnecessary log entries r=dt a=stevendanna

It is unclear what these messages are trying to tell me or how they are useful.

Epic: none
Release note: None

Co-authored-by: Steven Danna <[email protected]>
  • Loading branch information
craig[bot] and stevendanna committed Nov 13, 2024
2 parents a4b63f4 + 456b6fa commit ffee3ec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/server/status/recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -714,9 +714,6 @@ func extractValue(name string, mtr interface{}, fn func(string, float64)) error
}
case metric.PrometheusVector:
for _, m := range mtr.ToPrometheusMetrics() {
log.Infof(context.TODO(), "prome metric %s as gauge: %v+", name, m.Gauge)
log.Infof(context.TODO(), "prome metric %s as counter: %v+", name, m.Counter)

if m.Gauge != nil {
fn(name, *m.Gauge.Value)
continue
Expand Down

0 comments on commit ffee3ec

Please sign in to comment.