mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: bump github.com/prometheus/client_golang from 1.18.0 to 1.19.1 (#13232)
* chore: bump github.com/prometheus/client_golang from 1.18.0 to 1.19.1
This commit is contained in:
@@ -64,7 +64,7 @@ func readMetrics() ([]*dto.MetricFamily, error) {
|
||||
|
||||
var metrics []*dto.MetricFamily
|
||||
|
||||
decoder := expfmt.NewDecoder(f, expfmt.FmtProtoText)
|
||||
decoder := expfmt.NewDecoder(f, expfmt.NewFormat(expfmt.TypeProtoText))
|
||||
for {
|
||||
var m dto.MetricFamily
|
||||
err = decoder.Decode(&m)
|
||||
|
||||
Reference in New Issue
Block a user