update deps
Some checks failed
build / test (push) Has been cancelled
build / lint (push) Has been cancelled
codeql / analyze (go) (push) Has been cancelled

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2024-03-27 11:42:49 +03:00
parent b64ea019ed
commit 4cd610a474
4 changed files with 30 additions and 12 deletions

View File

@@ -294,7 +294,7 @@ func (m *prometheusMeter) Write(w io.Writer, opts ...options.Option) error {
return err
}
enc := expfmt.NewEncoder(w, expfmt.FmtText)
enc := expfmt.NewEncoder(w, expfmt.NewFormat(expfmt.TypeTextPlain))
for name, metrics := range m.counter {
mf := &dto.MetricFamily{