Commit Graph

218 Commits

Author SHA1 Message Date
Paulo E. Castro
aa09e7c660
Close client connection when done.
This will take care of cleaning all the lingering connections that would have been left open which would eventually trigger a too many files error or an OOM.
2022-11-25 20:24:50 +00:00
Vincent Composieux
84463e2815
Merge pull request #152 from Galorhallen/master
Minor chores and add pre-commit hooks
2022-11-20 10:19:49 +01:00
Vincent Composieux
decec9d4b7
Merge pull request #155 from eko/dependabot/go_modules/github.com/prometheus/client_golang-1.14.0
Bump github.com/prometheus/client_golang from 1.13.1 to 1.14.0
2022-11-18 08:10:17 +01:00
dependabot[bot]
5d3b6ec911
Bump github.com/prometheus/client_golang from 1.13.1 to 1.14.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.13.1...v1.14.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>
2022-11-09 04:02:58 +00:00
Vincent Composieux
fc7c3faf4f
Merge pull request #153 from eko/dependabot/docker/golang-1.19.3-alpine3.15
Bump golang from 1.19.2-alpine3.15 to 1.19.3-alpine3.15
2022-11-07 07:52:37 +01:00
Vincent Composieux
8f0c60f26d
Merge pull request #154 from eko/dependabot/go_modules/github.com/prometheus/client_golang-1.13.1
Bump github.com/prometheus/client_golang from 1.13.0 to 1.13.1
2022-11-07 07:52:21 +01:00
dependabot[bot]
cf04a492b6
Bump github.com/prometheus/client_golang from 1.13.0 to 1.13.1
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.13.1/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.13.0...v1.13.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-03 04:03:16 +00:00
dependabot[bot]
d6006c2a83
Bump golang from 1.19.2-alpine3.15 to 1.19.3-alpine3.15
Bumps golang from 1.19.2-alpine3.15 to 1.19.3-alpine3.15.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 04:09:01 +00:00
Galorhallen
fabf06d272 Add pre-commit 2022-10-25 10:00:54 +02:00
Galorhallen
9a58810747 Merge branch 'master' of github.com:Galorhallen/pihole-exporter 2022-10-25 09:55:56 +02:00
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
Vincent Composieux
aa779b3c57
Merge pull request #151 from eko/dependabot/go_modules/github.com/stretchr/testify-1.8.1
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1
2022-10-24 07:41:13 +02:00
dependabot[bot]
f41783e019
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 04:19:43 +00:00
Vincent Composieux
2428af74c7
Merge pull request #147 from jmherbst/readme-fix
docs: Updating docker run commands with missing port mapping for consistency
2022-10-16 10:28:00 +02:00
Vincent Composieux
f275c78577
Merge pull request #148 from jmherbst/warn-missing-auth
Adding warning logging if full metrics set is not available.
2022-10-16 10:27:41 +02:00
Vincent Composieux
1b5d712bc9
Merge pull request #149 from rafi0101/fix-readme-png-url
FIX incorrect file extension in readme
2022-10-16 10:27:07 +02:00
Vincent Composieux
409f1c5eff
Merge pull request #150 from eko/dependabot/docker/golang-1.19.2-alpine3.15
Bump golang from 1.19.1-alpine3.15 to 1.19.2-alpine3.15
2022-10-16 10:26:51 +02:00
dependabot[bot]
d458836a6a
Bump golang from 1.19.1-alpine3.15 to 1.19.2-alpine3.15
Bumps golang from 1.19.1-alpine3.15 to 1.19.2-alpine3.15.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-05 05:02:01 +00:00
rafi0101
da114c79ef
FIX incorrect file extension 2022-10-04 11:49:40 +02:00
Jake Herbst
b57e6a2e05
Adding warning logging if full metrics set is not available.
This will inform the user that pi-hole auth is missing or incorrect and some metrics will be missing from the exporter
2022-10-03 10:20:33 -04:00
Jake Herbst
ec5f746839
docs: Updating docker run commands with missing port mapping for consistency 2022-10-03 09:17:55 -04:00
Vincent Composieux
de5e5e783a
Merge pull request #146 from rafi0101/raphael-influxdb2
Grafana Dashboard for Influxdb2
2022-10-02 10:14:43 +02:00
rafi0101
1d4fb6db8f
Fix influxdb2 spelling 2022-10-01 10:54:41 +02:00
rafi0101
c20393c5dd
ADD grafana dashboard for influxdb2 (flux) 2022-10-01 10:53:26 +02:00
Vincent Composieux
ccc6bf3445
Merge pull request #144 from eko/dependabot/docker/golang-1.19.1-alpine3.15
Bump golang from 1.19.0-alpine3.15 to 1.19.1-alpine3.15
2022-09-12 07:33:23 +02:00
dependabot[bot]
49da58ae7f
Bump golang from 1.19.0-alpine3.15 to 1.19.1-alpine3.15
Bumps golang from 1.19.0-alpine3.15 to 1.19.1-alpine3.15.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-07 04:09:08 +00:00
Vincent Composieux
7f2a01991b
Merge pull request #142 from eko/dependabot/go_modules/github.com/prometheus/client_golang-1.13.0
Bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0
2022-08-09 17:31:29 +02:00
dependabot[bot]
2f838be297
Bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.2 to 1.13.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.2...v1.13.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>
2022-08-08 04:24:46 +00:00
Vincent Composieux
7d2c627996
Merge pull request #141 from eko/dependabot/docker/golang-1.19.0-alpine3.15
Bump golang from 1.19rc2-alpine3.15 to 1.19.0-alpine3.15
2022-08-04 13:38:16 +02:00
dependabot[bot]
350d41065b
Bump golang from 1.19rc2-alpine3.15 to 1.19.0-alpine3.15
Bumps golang from 1.19rc2-alpine3.15 to 1.19.0-alpine3.15.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 04:10:25 +00:00
Vincent Composieux
d94b9caf87
Merge pull request #140 from eko/dependabot/go_modules/github.com/sirupsen/logrus-1.9.0
Bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0
2022-07-21 20:00:02 +02:00
dependabot[bot]
f31c965e9a
Bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.8.1...v1.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 04:15:39 +00:00
Vincent Composieux
2dfe26e596
Update dependabot.yml 2022-07-13 14:46:05 +02:00
Vincent Composieux
963bd4f2cc
Merge pull request #139 from eko/dependabot/docker/golang-1.19rc2-alpine3.15
Bump golang from 1.18.3-alpine3.15 to 1.19rc2-alpine3.15
2022-07-13 14:39:02 +02:00
dependabot[bot]
e6e74153e3
Bump golang from 1.18.3-alpine3.15 to 1.19rc2-alpine3.15
Bumps golang from 1.18.3-alpine3.15 to 1.19rc2-alpine3.15.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-13 04:18:00 +00:00
Vincent Composieux
f1054300a2
Merge pull request #138 from eko/dependabot/go_modules/github.com/stretchr/testify-1.8.0
Bump github.com/stretchr/testify from 1.7.5 to 1.8.0
2022-06-30 20:56:56 +02:00
dependabot[bot]
da4304fb4a
Bump github.com/stretchr/testify from 1.7.5 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 04:16:41 +00:00
Vincent Composieux
50d78c15a7
Merge pull request #136 from eko/dependabot/go_modules/github.com/stretchr/testify-1.7.5
Bump github.com/stretchr/testify from 1.7.4 to 1.7.5
2022-06-25 09:00:09 +02:00
dependabot[bot]
b78bbe8799
Bump github.com/stretchr/testify from 1.7.4 to 1.7.5
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.4...v1.7.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-24 04:14:22 +00:00
Vincent Composieux
5b3540d271
Merge pull request #135 from eko/dependabot/go_modules/github.com/stretchr/testify-1.7.4
Bump github.com/stretchr/testify from 1.7.2 to 1.7.4
2022-06-21 20:57:10 +02:00
dependabot[bot]
a811063dfa
Bump github.com/stretchr/testify from 1.7.2 to 1.7.4
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 04:14:16 +00:00
Vincent Composieux
2f756d0a89
Merge pull request #134 from eko/dependabot/go_modules/github.com/stretchr/testify-1.7.2
Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
2022-06-11 14:35:50 +02:00
dependabot[bot]
d4d05d5f30
Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 04:11:40 +00:00
Vincent Composieux
8fd83b38f2
Merge pull request #132 from Zozman/addPushToAction
Added `push=true` to docker build output
2022-06-06 22:17:22 +02:00
Vincent Composieux
5fec8a95d1
Merge pull request #131 from eko/dependabot/docker/golang-1.18.3-alpine3.15
Bump golang from 1.18.2-alpine3.15 to 1.18.3-alpine3.15
2022-06-06 22:16:53 +02:00
Vincent Composieux
85925c87ab
Updated to go 1.18 and added master branch latest docker tag 2022-06-06 22:12:37 +02:00
Zozman
e2f405f09a Added push=true to build output to ensure all platform builds are pushed to the docker registry 2022-06-05 22:03:56 -07:00
dependabot[bot]
aabfa5705c
Bump golang from 1.18.2-alpine3.15 to 1.18.3-alpine3.15
Bumps golang from 1.18.2-alpine3.15 to 1.18.3-alpine3.15.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 04:10:19 +00:00
Vincent Composieux
3d7368bd1d
Merge pull request #128 from eko/dependabot/docker/golang-1.18.2-alpine3.15
Bump golang from 1.18.1-alpine3.15 to 1.18.2-alpine3.15
2022-05-21 23:01:04 +02:00