Features
pihole_queries_last_10minandpihole_ads_last_10minare back. They are the queries and blocked queries of the last full 10-minute slot, read from the Pi-hole v6/api/historyendpoint, so the admin's Permitted vs Blocked graph can be recreated in Grafana again. (#345, thanks @keyvanakbary)TOP_CLIENTS_COUNT/-top_clients_count(default 10) sets how many clients are exported inpihole_top_sourcesandpihole_top_sources_blocked. Set it above your number of clients to export all of them. (#348, #344)
Bug fixes
pihole_top_sourcescounted blocked queries twice. Pi-hole already includes blocked queries in a client's total, but the exporter added the blocked count on top of it. Clients that were only in the blocked top list were exported with their blocked count alone, and the value jumped whenever a client entered or left a top list.pihole_top_sourcesnow equals the client's total in Pi-hole. (#348, thanks @pdelagrave for the analysis in #344)- Grafana dashboard: "DNS Query types", "% of ads blocked", "Top queries" and "Top ads domains" now follow the
nodevariable instead of showing every Pi-hole together. (#349, thanks @madic-creates in #346)
Changes
pihole_top_sourcesvalues change with the fix above: they drop for clients in the blocked top list. Expect a step in graphs anddelta()/increase()alerts at upgrade time.
Documentation
- Kubernetes: how to give the
hostnamelabel a stable value when the exporter runs as a sidecar and connects to the pod IP. (#349)
Maintenance
- Go 1.27.4 builder image. (#347)