Skip to content
This repository was archived by the owner on Mar 12, 2021. It is now read-only.
This repository was 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

@conseev

Description

@conseev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions