Closed zentavr closed 3 months ago
Label is hard as each label blows up the storage requirements in prometheus. I am not sure if I am logging it though. Have you checked there?
@till we just have an information about if the resource blacklisted or not. That’s it.
@zentavr maybe logging the response? Would you be able to help with a PR?
@till I’m not so good with the Golang, but I can try that.
@zentavr I have to rebase my PR, but potentially it is already fixed (or at least I tried to): https://github.com/Luzilla/dnsbl_exporter/blob/6ba677d467c26e31b87e1a794220975d780ecc1d/pkg/rbl/rbl.go#L82-L104
Do you have an example of a listed host that I can use?
So, do you want to produce an error string and fetch it with the tool like promtail (then Loki -> Grafana), correct?--Thanks, Andrii Miroshnychenko @. серп. 2023 р. о 14:54 Till! @.> пише: @zentavr I have to rebase my PR, but potentially it is already fixed (or at least I tried to): https://github.com/Luzilla/dnsbl_exporter/blob/6ba677d467c26e31b87e1a794220975d780ecc1d/pkg/rbl/rbl.go#L82-L104 Do you have an example of a listed host that I can use?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
@zentavr yeah, I guess. A logline, because the /metrics
endpoint doesn't really suite itself to show errors.
Log line should be there now: https://github.com/Luzilla/dnsbl_exporter/blob/8e2cb6ccc781609a07397fd151d2a72ac389c2b2/collector/collector.go#L159
Hello @till!
Thank you for the nice tool! Very oftenly DNSBL providers provide the description of the block, when you query TXT record. For example:
I wonder if it is possible to put this, saying, into the label?