Update workflows #109

Merged
vtolstov merged 2 commits from atolstikhin/micro-meter-prometheus:v3 into v3 2024-12-19 19:53:22 +03:00
Showing only changes of commit 3dcb589de9 - Show all commits

View File

@ -65,7 +65,7 @@ func TestHistogram(t *testing.T) {
p.Observe(10)
p.Observe(30)
mdto := &dto.Metric{}
p.Write(mdto)
_ = p.Write(mdto)
pbuf := bytes.NewBuffer(nil)
enc := expfmt.NewEncoder(pbuf, expfmt.NewFormat(expfmt.TypeTextPlain))
mf := &dto.MetricFamily{Name: &name, Type: dto.MetricType_HISTOGRAM.Enum(), Metric: []*dto.Metric{mdto}}