Commit Graph

128 Commits

Author SHA1 Message Date
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
Vincent Composieux
b06c5833c8
Upgraded to go 1.17 and alpine 3.15 2021-12-31 17:50:55 +01:00
Vincent Composieux
2e99d259b8
Merge pull request #105 from Galorhallen/master
[Bugfix] When multiple host is specified, one port/protocol can't be specified
2021-12-27 15:18:23 +01:00
Galorhallen
035842e305 Add test for multiple pihole 2021-12-26 23:36:30 +01:00
Galorhallen
922b295ba0 Merge branch 'master' of github.com:Galorhallen/pihole-exporter 2021-12-23 13:19:43 +01:00
Galorhallen
d4a012d404 Add trim space to env variables and fix protocol index bug 2021-12-23 12:05:26 +01:00
Vincent Composieux
b8873c499e
Fixed GitHub Actions go versions 2021-12-22 08:45:08 +01:00
Vincent Composieux
53b1034f19
Merge pull request #104 from Galorhallen/master
Support multiple pihole instances
2021-12-22 08:39:43 +01:00
Galorhallen
3cf4ad6781 Removed commented code 2021-12-21 14:59:21 +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
Vincent Composieux
53aae16d90
Merge pull request #103 from eko/dependabot/docker/golang-1.17.3-alpine3.13
Bump golang from 1.17.2-alpine3.13 to 1.17.3-alpine3.13
2021-11-06 11:02:53 +01:00
dependabot[bot]
a3b90451a1
Bump golang from 1.17.2-alpine3.13 to 1.17.3-alpine3.13
Bumps golang from 1.17.2-alpine3.13 to 1.17.3-alpine3.13.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-05 04:13:13 +00:00
Vincent Composieux
58b8396f9b
Merge pull request #102 from darmiel/patch-1
feat: include sha256sum for release files
2021-10-23 09:34:30 +02:00
Daniel
7709529f1a
feat: include sha256sum for release files 2021-10-18 12:35:35 +02:00
Vincent Composieux
502756592f
Merge pull request #100 from eko/eko-patch-1
Removed CI build on branches and pull requests
2021-10-12 11:49:43 +02:00
Vincent Composieux
0985fda8a7
Update master.yml 2021-10-12 11:48:41 +02:00
Vincent Composieux
a1ccafcf33
Merge pull request #99 from eko/dependabot/docker/golang-1.17.2-alpine3.13
Bump golang from 1.17.1-alpine3.13 to 1.17.2-alpine3.13
2021-10-09 09:47:13 +02:00
dependabot[bot]
f084c3de61
Bump golang from 1.17.1-alpine3.13 to 1.17.2-alpine3.13
Bumps golang from 1.17.1-alpine3.13 to 1.17.2-alpine3.13.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 04:17:10 +00:00
Vincent Composieux
9d50a54945
Merge pull request #96 from tsunam/master
Update test matrix for supported go versions and add example docker-compose.yml
2021-09-26 00:22:21 +02:00
Joshua Jackson
e20140af99 fix typo for consistency 2021-09-22 17:49:22 -07:00
Joshua Jackson
af7761653d add docker-compose.yml examples
Why do we need this change?
----
Give a practical docker-compose.yml example to make it easier for people
to build and or run within their own compose setups

What effects does this change have?
----
2021-09-22 17:43:58 -07:00
Joshua Jackson
55d5fabbc5 Adjust test build suite to go versions that support %w
Why do we need this change?
----
Go version 1.12 does not support the %w case which requires go >= 1.13.
This resolves the build tests partially failing since 26ddc36a4e
Additionally as we are upgrading to 1.17 for various things ensure that
we test up to those latest version we support
2021-09-22 17:16:24 -07:00
Vincent Composieux
55cb08ca81
Merge pull request #95 from eko/dependabot/docker/golang-1.17.1-alpine3.13
Bump golang from 1.17.0-alpine3.13 to 1.17.1-alpine3.13
2021-09-15 22:02:48 +02:00
dependabot[bot]
99f4005d9b
Bump golang from 1.17.0-alpine3.13 to 1.17.1-alpine3.13
Bumps golang from 1.17.0-alpine3.13 to 1.17.1-alpine3.13.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 04:17:26 +00:00
Vincent Composieux
d7beaa9dff
Merge pull request #94 from eko/dependabot/go_modules/github.com/xonvanetta/shutdown-0.0.3
Bump github.com/xonvanetta/shutdown from 0.0.2 to 0.0.3
2021-09-04 21:07:46 +02: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
Vincent Composieux
693df0796b
Merge pull request #92 from xonvanetta/master
only scrape when asked
2021-08-21 16:38:21 +02:00
Vincent Composieux
db68ba54da
Merge pull request #93 from eko/dependabot/docker/golang-1.17.0-alpine3.13
Bump golang from 1.16-alpine3.13 to 1.17.0-alpine3.13
2021-08-21 16:33:53 +02:00
dependabot[bot]
112819e7ad
Bump golang from 1.16-alpine3.13 to 1.17.0-alpine3.13
Bumps golang from 1.16-alpine3.13 to 1.17.0-alpine3.13.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-17 04:14:34 +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
Vincent Composieux
ad8778b523
Merge pull request #89 from eko/dependabot/go_modules/github.com/prometheus/client_golang-1.11.0
Bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0
2021-06-12 19:00:59 +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
Vincent Composieux
26404b7d01
Updated alpine version 2021-06-07 01:32:32 +02:00
Vincent Composieux
f78e432c21
Merge pull request #87 from eko/dependabot/docker/golang-1.16.4-alpine3.12
Bump golang from 1.16.3-alpine3.12 to 1.16.4-alpine3.12
2021-05-08 08:47:56 +02:00
dependabot[bot]
c8be2ba157
Bump golang from 1.16.3-alpine3.12 to 1.16.4-alpine3.12
Bumps golang from 1.16.3-alpine3.12 to 1.16.4-alpine3.12.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 04:11:40 +00:00
Vincent Composieux
6d25dd576e
Merge pull request #85 from eko/dependabot/go_modules/github.com/heetch/confita-0.10.0
Bump github.com/heetch/confita from 0.9.2 to 0.10.0
2021-05-05 18:37:22 +02: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
Vincent Composieux
fccce147d3
Merge pull request #86 from eko/dependabot/go_modules/github.com/prometheus/client_golang-1.10.0
Bump github.com/prometheus/client_golang from 1.9.0 to 1.10.0
2021-05-04 22:35:40 +02: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
Vincent Composieux
7aa65732f6
Merge pull request #84 from eko/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-05-02 09:43:24 +02:00
dependabot-preview[bot]
0f38ff768d
Upgrade to GitHub-native Dependabot 2021-04-29 15:25:36 +00:00
Vincent Composieux
7ab968aacf
Merge pull request #82 from eko/dependabot/docker/golang-1.16.3-alpine3.12
Bump golang from 1.16.2-alpine3.12 to 1.16.3-alpine3.12
2021-04-07 08:58:31 +02:00
dependabot-preview[bot]
75ba6aa064
Bump golang from 1.16.2-alpine3.12 to 1.16.3-alpine3.12
Bumps golang from 1.16.2-alpine3.12 to 1.16.3-alpine3.12.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-02 04:53:46 +00:00
Vincent Composieux
8f3189edd0
Merge pull request #79 from eko/dependabot/docker/golang-1.16.2-alpine3.12
Bump golang from 1.16.0-alpine3.12 to 1.16.2-alpine3.12
2021-03-19 09:53:39 +01:00
dependabot-preview[bot]
612dd87f53
Bump golang from 1.16.0-alpine3.12 to 1.16.2-alpine3.12
Bumps golang from 1.16.0-alpine3.12 to 1.16.2-alpine3.12.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-12 04:50:42 +00:00
Vincent Composieux
5afdca0f8a
Merge pull request #77 from tabic/fix-dashboard-datasource
Replace hardcoded datasource name with variable
2021-03-10 12:03:01 +01:00
tabic
eecbd65864
Replace hardcoded datasource name with variable
The datasource name was hardcoded to `Prometheus`. The dashboard will throw errors if the prometheus datasource is named different.
2021-03-06 17:41:18 +01:00