Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github.com/prometheus/common/log not exist!!! #12

Open
kmorales026 opened this issue Aug 1, 2021 · 2 comments
Open

github.com/prometheus/common/log not exist!!! #12

kmorales026 opened this issue Aug 1, 2021 · 2 comments

Comments

@kmorales026
Copy link

Hi, I am trying to install, and get this error:

package github.com/prometheus/common/log: cannot find package "github.com/prometheus/common/log" in any of:
/usr/lib/go-1.10/src/github.com/prometheus/common/log (from $GOROOT)
/root/go/src/github.com/prometheus/common/log (from $GOPATH)

I check the url "github.com/prometheus/common/log" and it is not exist anymore on github.com/prometheus.

could you help me please!.

@ghost
Copy link

ghost commented Dec 5, 2021

Sadly, this project seems to be abandoned.

The prometheus/common/log module has been deprecated and removed in version 0.27.0 of the Prometheus client library, see prometheus/common#306

Futhermore it uses Go 1.5 which is antique now ;)

If you are using PowerDNS version 4.3.0 (recursor) /4.4.0 (authorative server) or newer, this exporter is obsolete because PowerDNS authorative server, recursor and Dnsdist expose Prometheus metrics natively.

Software Documentation Minimum version
DNSDist https://dnsdist.org/guides/webserver.html
PowerDNS authorative server https://doc.powerdns.com/authoritative/http-api/index.html#metrics-endpoint 4.4.0
PowerDNS recursor https://doc.powerdns.com/recursor/http-api/prometheus.html 4.3.0

Note: I've created a updated fork at https://github.com/Bobobo-bo-Bo-bobo/prometheus-powerdns-exporter but I think it's obsolete too, because PowerDNS now has Prometheus metrics out of the box.

@kny1402
Copy link

kny1402 commented Feb 9, 2022

@Bobobo-bo-Bo-bobo Hello Bobobo
I got error your forked exporter like this,

INFO[0000] Starting Server: :9120
ERRO[0003] Error scraping PowerDNS: json: invalid use of ,string struct tag, trying to unmarshal unquoted value into float64

would you have any idea about this error? Thank you in advance:)

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

No branches or pull requests

2 participants