Commit Graph

304 Commits

Author SHA1 Message Date
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
Vincent Composieux
75be7931d6
Merge pull request #66 from andrewchumchal/master
Having issues with Dashboard
2020-12-30 14:09:24 +01:00
Andrew Chumchal
3f4f4b8249
Update dashboard.json 2020-12-29 16:51:46 -06:00
Andrew Chumchal
33a98de35b
Update dashboard.json 2020-12-29 16:49:37 -06:00
Vincent Composieux
b74429e554
Merge pull request #65 from eko/dependabot/go_modules/github.com/prometheus/client_golang-1.9.0
Bump github.com/prometheus/client_golang from 1.8.0 to 1.9.0
2020-12-18 04:45:07 +01: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
Vincent Composieux
5cf5d9176f
Fixed alpine version to 3.11 at the moment (missing upx on 3.12) 2020-10-21 23:28:15 +02:00
Vincent Composieux
467d683585
Merge pull request #56 from htr/custom-port
allows user to specify a custom admin port
2020-07-27 22:37:35 +02:00
Hugo Tavares Reis
5e40a146ed allows user to specify a custom admin port 2020-07-27 15:03:58 +02:00
Vincent Composieux
a9316b28cc
Merge pull request #53 from eko/dependabot/go_modules/github.com/heetch/confita-0.9.2
Bump github.com/heetch/confita from 0.9.1 to 0.9.2
2020-06-27 22:26:11 +02: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
Vincent Composieux
9cc2b0206d
Merge pull request #52 from spikegrobstein/add-https-support
add support for pi-hole running behind https
2020-06-06 09:25:54 +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
Vincent Composieux
8cd4287e69
Merge pull request #44 from eko/dependabot/go_modules/github.com/heetch/confita-0.9.1
Bump github.com/heetch/confita from 0.9.0 to 0.9.1
2020-05-09 10:47:59 +02: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
e4df327c5e
Added GitHub actions badge in README 2020-05-05 14:24:41 +02:00
Vincent Composieux
6115c12e88
Merge pull request #43 from eko/ci
Ci
2020-05-05 13:55:40 +02:00
Vincent Composieux
dce9330523
Replace Travis-CI with GitHub actions and use docker buildx 2020-05-05 13:54:30 +02:00