avojak / pihole-influxdb-monitor

Export Pi-hole statistics to InfluxDB 2.x
MIT License
24 stars 6 forks source link

[Request] Top 10 to Top XX #6

Closed c3p0vsr2d2 closed 7 months ago

c3p0vsr2d2 commented 7 months ago

For the docker container, could we get an environment variable to increase the top 10 queries/ads/etc in the code to something else, like top 20 or top 50? Seems that there are only 4 locations in pihole-influxdb.py that need to be changed (I am unfortunately not familiar enough to modify the code to propagate the env variable to the python file)

avojak commented 7 months ago

https://github.com/avojak/pihole-influxdb-monitor/commit/531ac4c402ef22a1ca52458882c9a24423377af5

avojak commented 7 months ago

Added in version 1.3.0

c3p0vsr2d2 commented 7 months ago

whoa, thank you avojak, much appreciated~

avojak commented 7 months ago

Of course! Caught me right as I was about to sit down at my desk to work on some projects 😆