Commit Graph

11 Commits

Author SHA1 Message Date
Joe Adams
cc751b7966 Add config module
The config module supports adding configuration to the exporter via a config file. This supports adding authentication details in a config file so that /probe requests can specify authentication for endpoints

Signed-off-by: Joe Adams <github@joeadams.io>
2022-07-28 10:19:32 -04:00
dependabot[bot]
a167b91654
Bump github.com/prometheus/common from 0.34.0 to 0.35.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.34.0 to 0.35.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](https://github.com/prometheus/common/compare/v0.34.0...v0.35.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 17:06:17 +00:00
SuperQ
81c4933986
Update build
* Update to Go 1.18.
* Update minimum Go version to 1.17.
* Update Go modules for 1.17 format.
* Bump Go modules
* Enable dependabot.
* Update Prometheus common files.
* Fixup yamllint.

Signed-off-by: SuperQ <superq@gmail.com>
2022-05-25 11:27:42 +02:00
Antoine Barbare
ecd002833d fix: CVE-2022-21698
Signed-off-by: Antoine Barbare <antoinebarbare@gmail.com>
2022-03-11 08:19:36 +01:00
SuperQ
fcb2535aff
Release 0.10.1
* [BUGFIX] Fix broken log-level for values other than debug. #560

Signed-off-by: SuperQ <superq@gmail.com>
2022-01-14 17:27:06 +01:00
Harkishen Singh
c1ab341279 Fix broken log-level for values other than debug.
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
2021-07-14 16:19:00 +05:30
Joe Adams
820c05b747
Revert go version change
Signed-off-by: Joe Adams <github@joeadams.io>
2021-07-08 09:31:06 -04:00
Joe Adams
c6632ab1e4
Rollback lib/pq to v1.10.1 for illumos compatability
Signed-off-by: Joe Adams <github@joeadams.io>
2021-07-07 16:54:36 -04:00
Joe Adams
08fd458df0
Update dependencies and fix tests
Signed-off-by: Joe Adams <github@joeadams.io>
2021-07-07 09:52:56 -04:00
Julien Pivotto
be790e12ff Switch to go-kit log and enable TLS/basic auth
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-03-02 15:31:55 +01:00
Ben Kochie
b67b69acd3
Update for Prometheus Community
Add standard Prometheus build setup
* CircleCI config
* Makefile
* Go modules
* Golang-CI Lint
* promu config
* Remove /vendor
* Remove mage build
* Update READMEs

https://github.com/prometheus-community/postgres_exporter/issues/478

Signed-off-by: Ben Kochie <superq@gmail.com>
2021-02-23 10:51:33 +01:00