Luzilla / dnsbl_exporter

Prometheus compatible exporter to query DNSBLs/RBLs.
https://www.luzilla-capital.com/
Other
33 stars 8 forks source link

Stray "foo" #107

Closed lapo-luchini closed 2 years ago

lapo-luchini commented 2 years ago

I get this in /metrics/:

# HELP luzilla_rbls_listed The number of listings in RBLs (this is bad)
# TYPE luzilla_rbls_listed gauge
luzilla_rbls_listed{rbl="foo"} 1
# HELP luzilla_rbls_used The number of RBLs to check IPs against (configured via rbls.ini)
# TYPE luzilla_rbls_used gauge
luzilla_rbls_used 86

I know no Go, but I guess this might the problem.

PS: nice exporter, will be useful to me, thanks!

till commented 2 years ago

@lapo-luchini Thanks for reporting. And glad that you like it. I'll take a look tomorrow. :)

till commented 2 years ago

Sorry, got a bit derailed with the C-thing. Looking at this soon.

till commented 2 years ago

@lapo-luchini I made a PR, the foo is gone, it will now show this (I just forgot to add this):

# HELP luzilla_rbls_listed The number of listings in RBLs (this is bad)
# TYPE luzilla_rbls_listed gauge
luzilla_rbls_listed{rbl="ix.dnsbl.manitu.net"} 0
luzilla_rbls_listed{rbl="zen.spamhaus.org"} 0

As an aggregate how many listing each has, and to keep track of it over time.

till commented 2 years ago

This is released in: https://github.com/Luzilla/dnsbl_exporter/releases/tag/v0.6.0-alpha1