Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions metrics/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ func metricFamily(registry Registry, name string) (mf *dto.MetricFamily, err err
},
}},
}, nil
case metrics.StandardGaugeInfo:
// TODO(qdm12) handle this somehow maybe with dto.MetricType_UNTYPED
return nil, fmt.Errorf("%w: %q is a %T", errMetricSkip, name, metric)
default:
return nil, fmt.Errorf("metric %q: type is not supported: %T", name, metric)
}
Expand Down
Loading