Commit graph

24 commits

Author SHA1 Message Date
Galorhallen
55dca92b79 Print go version at startup 2022-10-25 09:43:34 +02:00
Galorhallen
ecfd7f75fd Fixed empty field in Config String function 2022-01-30 11:23:26 +01:00
Galorhallen
ea2e9ab9ce Fix go.mod 2022-01-07 22:57:18 +01:00
Galorhallen
7824dee545 Merge branch 'master' into async 2022-01-07 22:57:00 +01:00
Galorhallen
98f9693ec1 Fix go.mod 2022-01-07 22:54:02 +01:00
Galorhallen
0d8f3ea9c9 Merge branch 'master' into async 2022-01-05 21:20:36 +01:00
Galorhallen
a31d5c382f Removed print of token and password in Config.String 2022-01-05 21:20:06 +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
Vincent Composieux
b06c5833c8
Upgraded to go 1.17 and alpine 3.15 2021-12-31 17:50:55 +01:00
Galorhallen
035842e305 Add test for multiple pihole 2021-12-26 23:36:30 +01:00
dependabot[bot]
3fd29fc20a
Bump github.com/xonvanetta/shutdown from 0.0.2 to 0.0.3
Bumps [github.com/xonvanetta/shutdown](https://github.com/xonvanetta/shutdown) from 0.0.2 to 0.0.3.
- [Release notes](https://github.com/xonvanetta/shutdown/releases)
- [Commits](https://github.com/xonvanetta/shutdown/compare/v0.0.2...v0.0.3)

---
updated-dependencies:
- dependency-name: github.com/xonvanetta/shutdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 04:17:03 +00: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
dependabot[bot]
a561afcc48
Bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 04:15:15 +00:00
dependabot[bot]
b8642f2459
Bump github.com/heetch/confita from 0.9.2 to 0.10.0
Bumps [github.com/heetch/confita](https://github.com/heetch/confita) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/heetch/confita/releases)
- [Commits](https://github.com/heetch/confita/compare/v0.9.2...v0.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-04 20:38:12 +00:00
dependabot[bot]
42ad5dd15d
Bump github.com/prometheus/client_golang from 1.9.0 to 1.10.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.9.0...v1.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-02 07:57:04 +00:00
dependabot-preview[bot]
a2c48cc105
Bump github.com/prometheus/client_golang from 1.8.0 to 1.9.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.8.0...v1.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-17 04:35:56 +00:00
Vincent Composieux
214e6433d7
Upgrade go 1.15 and prometheus client to v1.8.0 2020-11-11 11:20:36 +01:00
dependabot-preview[bot]
7f76e2aa4b
Bump github.com/heetch/confita from 0.9.1 to 0.9.2
Bumps [github.com/heetch/confita](https://github.com/heetch/confita) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/heetch/confita/releases)
- [Commits](https://github.com/heetch/confita/compare/v0.9.1...v0.9.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-24 04:45:06 +00:00
dependabot-preview[bot]
6d3234908a
Bump github.com/heetch/confita from 0.9.0 to 0.9.1
Bumps [github.com/heetch/confita](https://github.com/heetch/confita) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/heetch/confita/releases)
- [Commits](https://github.com/heetch/confita/compare/v0.9.0...v0.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-07 04:46:27 +00:00
Vincent Composieux
045639e0ee
Upgrade to go1.14 2020-03-01 14:25:29 +01:00
Vincent Composieux
f07f9eb8c9
Travis build: removed go1.8 support and added go1.13 2020-02-01 17:49:45 +01:00
dependabot-preview[bot]
4056859be3
Bump github.com/heetch/confita from 0.8.0 to 0.9.0
Bumps [github.com/heetch/confita](https://github.com/heetch/confita) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/heetch/confita/releases)
- [Commits](https://github.com/heetch/confita/compare/v0.8.0...v0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-21 05:02:38 +00:00
dependabot-preview[bot]
8bfc1948b2
Bump github.com/heetch/confita from 0.5.1 to 0.8.0
Bumps [github.com/heetch/confita](https://github.com/heetch/confita) from 0.5.1 to 0.8.0.
- [Release notes](https://github.com/heetch/confita/releases)
- [Commits](https://github.com/heetch/confita/compare/v0.5.1...v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-08 10:58:21 +00:00
Vincent Composieux
7457599d3e
Initialize 2019-05-08 23:54:32 +02:00