Commit Graph

26 Commits

Author SHA1 Message Date
Galorhallen
e62bf2af05 Add pre-commit 2022-10-25 09:53:44 +02:00
Galorhallen
55dca92b79 Print go version at startup 2022-10-25 09:43:34 +02:00
Galorhallen
b743735aa4 Merge branch 'async' of github.com:Galorhallen/pihole-exporter into async 2022-02-10 11:11:57 +01:00
Galorhallen
ecfd7f75fd Fixed empty field in Config String function 2022-01-30 11:23:26 +01:00
Galorhallen
7824dee545 Merge branch 'master' into async 2022-01-07 22:57:00 +01:00
Galorhallen
89284bf1c4 Fix wrong parenthesis 2022-01-07 22:55:31 +01:00
Galorhallen
98f9693ec1 Fix go.mod 2022-01-07 22:54:02 +01:00
Galorhallen
4381338fae Removed 'interval' configuration. Add timeout 2022-01-05 22:05:32 +01:00
Galorhallen
a31d5c382f Removed print of token and password in Config.String 2022-01-05 21:20:06 +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
d4a012d404 Add trim space to env variables and fix protocol index bug 2021-12-23 12:05:26 +01:00
Galorhallen
8170a4c0f7 Add readme 2021-12-18 00:25:23 +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
9df82ecde2 chore: rename pihole api token occurences 2020-04-26 23:38:28 +01:00
shaned24
a3081487fd feat(ApiTokenAuth): Add support for using PiHole's api token 2020-04-07 00:36:49 +01:00
Sidd Shah
54942ee26d Skip print statement if PIHolePassword
Resolves eko/pihole-exporter#31
2020-04-04 14:59:31 -04:00
Adam Moss
0dea13ed46 fix(default-port): update default port to 9617
Signed-off-by: Adam Moss <2951486+adam-moss@users.noreply.github.com>
2019-07-29 17:03:33 +01:00
Vincent Composieux
68f0032961
Added latest metrics available 2019-05-09 21:11:31 +02:00
Vincent Composieux
021de28520
Added Travis-CI 2019-05-09 13:26:42 +02:00
Vincent Composieux
7457599d3e
Initialize 2019-05-08 23:54:32 +02:00