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
Will Rouesnel
3ecfd46549
Switch to debian baseimage for docker ( #376 )
2020-02-26 00:49:30 +11:00
Janis Orlovs
06781103f0
Docker file added multistage build to add non-root user running under ID:20001 for image.
...
Reduces attack surface by not running image as root user
2019-07-03 22:17:37 +10:00
Will Rouesnel
5b9fea01ee
Add cross-compilation Makefile targets and tar-based releases.
...
Revamp the build system to be more inline with other Prometheus exporters.
Notably add Darwin and Windows build targets, and add support for releases
using tar files.
2017-11-30 13:17:13 +10:00
Alex Simenduev
37e6dd3bec
Update Dockerfile with the new port (9187) ( #37 )
2016-11-26 13:06:23 +11:00
Will Rouesnel
5fec9aacab
Fix docker build steps.
...
Docker 1.12 completely broke setting entrypoints on import, so we need to
switch to using an actual Dockerfile.
2016-09-09 00:56:57 +10:00
Will Rouesnel
054d825c7d
Vendor all dependencies, add docker build to makefile.
...
Vendor and store all dependencies. This allows us to have a makefile which
builds to a minimized docker image.
2016-03-12 21:16:17 +11:00
Will Rouesnel
2a08787a90
Compiling version of the postgres_exporter.
...
This is based on the mysqld_exporter, but drastically changes how metrics are
discovered and enumerated since postgres already very closely follows the
Prometheus format.
2015-08-25 03:28:41 +10:00