Commit Graph

22 Commits

Author SHA1 Message Date
Jake Herbst
b57e6a2e05
Adding warning logging if full metrics set is not available.
This will inform the user that pi-hole auth is missing or incorrect and some metrics will be missing from the exporter
2022-10-03 10:20:33 -04:00
Galorhallen
c2437c8246 Fix wrong log function 2022-02-10 11:33:09 +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
479456edc4 Merge branch 'master' into async 2022-01-05 21:30:47 +01:00
Galorhallen
1d96b5c332 Removed fmt used as log 2022-01-05 21:25:14 +01:00
Galorhallen
bda504dbe4 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
2022-01-05 20:54:53 +01:00
Galorhallen
e4ddf5c3b1 Add channel 2022-01-05 20:54:53 +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
8d5586558c Add channel 2021-12-30 00:43:34 +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
f556b22890
Removed app kill depending on auth status code (fixes #15) 2019-10-02 15:23:51 +02:00
Vincent Composieux
d72e73ce97
Fixed API login response to work properly with PI-Hole v4.3.2 2019-09-29 15:24:27 +02:00
Vincent Composieux
4298f919ab
Fixed a bug when PI-Hole is not protected by a password (fixes #1) 2019-05-10 21:03:33 +02: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