Commit graph

172 commits

Author SHA1 Message Date
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
Vincent Composieux
d7d4e6cb0f
Merge pull request #76 from eko/dependabot/docker/golang-1.16.0-alpine3.12
Bump golang from 1.15-alpine3.12 to 1.16.0-alpine3.12
2021-02-24 16:58:01 +01:00
dependabot-preview[bot]
0a17d18e56
Bump golang from 1.15-alpine3.12 to 1.16.0-alpine3.12
Bumps golang from 1.15-alpine3.12 to 1.16.0-alpine3.12.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-17 04:55:28 +00:00
Vincent Composieux
8d90557f00
Merge pull request #71 from wuast94/patch-1
Fix json format of dashboard.json
2021-01-30 11:28:14 +01:00
wuast94
eaef12f63a
Fix json format
There was a "{" at the first line that isnt needed and coused an error when importing the raw json in grafana
2021-01-29 00:54:17 +01:00
Vincent Composieux
714576a11a
Merge pull request #67 from eko/added-darwin-arm
Added darwin/arm architecture
2021-01-01 11:49:11 +01:00
Vincent Composieux
af5d1b4059
Added darwin/arm architecture 2020-12-31 08:40:20 +01:00