Merge branch 'v3' into v3
Some checks failed
automerge / automerge (pull_request) Failing after 20s
autoapprove / autoapprove (pull_request) Failing after 1m38s
lint / lint (pull_request) Successful in 3m59s
dependabot-automerge / automerge (pull_request) Failing after 13m39s
test / test (pull_request) Successful in 15m58s
Some checks failed
automerge / automerge (pull_request) Failing after 20s
autoapprove / autoapprove (pull_request) Failing after 1m38s
lint / lint (pull_request) Successful in 3m59s
dependabot-automerge / automerge (pull_request) Failing after 13m39s
test / test (pull_request) Successful in 15m58s
This commit is contained in:
commit
3dcb589de9
@ -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}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user