Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

cannot use s.objectives (type map[float64]float64) as type float64 in argument to quantile.NewTargeted #25

Open
conseev opened this issue Oct 29, 2019 · 0 comments

Comments

@conseev
Copy link

conseev commented Oct 29, 2019

Get that error when running the exporter:

libvirt_exporter]# go run libvirt_exporter.go

github.com/prometheus/client_golang/prometheus

../../prometheus/client_golang/prometheus/summary.go:330:31: cannot use s.objectives (type map[float64]float64) as type float64 in argument to quantile.NewTargeted

Causes HTTP requests to fail:

curl http://127.0.0.1:9177

curl: (7) Failed connect to 127.0.0.1:9177; Connection refused

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant