Commit Graph

16 Commits

Author SHA1 Message Date
Justin M
62f51680c5 Teach pihole-exporter how to bind to a specific interface. 2023-05-01 10:02:10 -07:00
Galorhallen
6fdcc9bb16 Fix modules 2022-02-10 11:21:54 +01:00
Galorhallen
b743735aa4 Merge branch 'async' of github.com:Galorhallen/pihole-exporter into async 2022-02-10 11:11:57 +01:00
Galorhallen
4381338fae Removed 'interval' configuration. Add timeout 2022-01-05 22:05:32 +01:00
Galorhallen
1d96b5c332 Removed fmt used as log 2022-01-05 21:25:14 +01:00
Galorhallen
2c062e5bf9 Woring on logging 2022-01-05 20:44:11 +01:00
Galorhallen
7009c705bb Add async metrics fetch for multiple piholes
parent 8d5586558c
author Galorhallen <andrea.ponte1987@gmail.com> 1640558190 +0100
committer Galorhallen <andrea.ponte1987@gmail.com> 1640821760 +0100

Add test for multiple pihole

Add async mode for multiple piholes

Fixed GitHub Actions go versions

Add test for multiple pihole

Cleanup
2021-12-30 00:49:33 +01:00
Galorhallen
035842e305 Add test for multiple pihole 2021-12-26 23:36:30 +01:00
Galorhallen
fc19ac5d29 Better /metrics handling 2021-12-10 15:39:22 +01:00
Galorhallen
fdbd1a678f Add initial support to multiple pihole servers 2021-12-10 04:48:28 +01:00
Vanetta
26ddc36a4e only scrape when asked
will only scape metrics on pihole when asked on /metrics
allow port 0 to be used when using strict https redirects

Resolves: #49
2021-08-16 23:55:05 +02:00
Hugo Tavares Reis
5e40a146ed allows user to specify a custom admin port 2020-07-27 15:03:58 +02:00
Spike Grobstein
36aaa18f45 add support for pi-hole running behind https
This adds support for a new environment variable `PIHOLE_PROTOCOL`,
which defaults to `http`.
2020-06-05 16:51:16 -07:00
shaned24
a3081487fd feat(ApiTokenAuth): Add support for using PiHole's api token 2020-04-07 00:36:49 +01:00
Vincent Composieux
68f0032961
Added latest metrics available 2019-05-09 21:11:31 +02:00
Vincent Composieux
7457599d3e
Initialize 2019-05-08 23:54:32 +02:00