8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63af4c6 commit ad2353cCopy full SHA for ad2353c
coderd/prometheusmetrics/collector.go
@@ -57,8 +57,7 @@ func (v *CachedGaugeVec) Collect(ch chan<- prometheus.Metric) {
57
58
func (v *CachedGaugeVec) WithLabelValues(operation VectorOperation, value float64, labelValues ...string) {
59
switch operation {
60
- case VectorOperationAdd:
61
- case VectorOperationSet:
+ case VectorOperationAdd, VectorOperationSet:
62
default:
63
panic("unsupported vector operation")
64
}
0 commit comments