go-dnscollector icon indicating copy to clipboard operation
go-dnscollector copied to clipboard

Enable geoip information for prometheus dnscollector_top_requesters

Open KVInventoR opened this issue 1 year ago • 2 comments

Is there support for adding geoip information in prometheus metrics: dnscollector_top_requesters I would like to see some additional information which will be really useful to get additional information for which ASN belongs requester ip>

current output: dnscollector_top_requesters{ip="59.144.144.34",stream_id="dns-mine"} 170

but additional output will be really useful: dnscollector_top_requesters{ip="59.144.144.34",stream_id="dns-mine",asn="9498",asn_owner="BHARTI Airtel Ltd.",geo_ip_isocode="IN"} 170

Such kind of information will provide more information about some possible DDOS for DNS infrastructure.

KVInventoR avatar Aug 13 '23 18:08 KVInventoR

one more point: if geoip module is enabled, it will be good to have some geo statistics, like: top countries, top asn and etc...

KVInventoR avatar Aug 14 '23 05:08 KVInventoR

one more point: if geoip module is enabled, it will be good to have some geo statistics, like: top countries, top asn and etc...

Hi, can you open a new issue for this feature request ?

dmachard avatar Aug 14 '23 16:08 dmachard