Commit Graph

25 Commits

Author SHA1 Message Date
Will Rouesnel
989489096e Refactor repository layout and convert build system to Mage.
This commit implements a massive refactor of the repository, and
moves the build system over to use Mage (magefile.org) which should
allow seamless building across multiple platforms.
2018-03-06 07:29:35 +10:00
Joscha
3e6cf08dc5 In docker example both containers should run on the host net (#149)
* In docker example both containers should run on the host net 
* remove unecessary portmapping in docs
2018-02-20 18:27:58 +10:00
fjavierm
02718d0e26 Add a couple of pre-instructions to the README file for the build process. (#152) 2018-02-02 19:04:07 +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
Chris Travers
8b4d70ae5f Removed unnecessary complexity in readme.md
In PostgreSQL, views run as the defining user, meaning you don't 
need a view wrapping a function (you can just have a view).  This 
improves readability, maintainability, performance, and clarity.
2017-10-26 20:01:59 +11:00
Will Rouesnel
e3dbbe64fd Update README.md 2017-10-26 19:46:02 +11:00
Alexander Savchuk
81194c9219 Grant postgres_exporter role to deployer role
If the deployer role is not superuser (which is the case in AWS RDS,
for example), we need to grant it access to postgres_exporter role
before we can create a schema with AUTHORIZATION postgres_exporter.
2017-06-09 20:04:27 +10:00
Alexander Savchuk
1ec400b707 Fix PostgreSQL name
PostgreSQL name was misspelled in
53b9d9cea7.
2017-06-09 20:04:27 +10:00
Michał Czeraszkiewicz
53b9d9cea7 Improve "Running as non-superuser" documentation.
Closes #53 (rebased and merged).
2017-04-14 00:49:31 +10:00
Matt Bostock
c7ac2b0e12 Make references to PostgreSQL consistent
While many pronounce it as 'post-GRES', the spelling is 'PostgreSQL' with two 's'.

https://www.postgresql.org/about/press/faq/
2017-03-04 02:56:35 +11:00
Will Rouesnel
ff8e0c5382 Add coverage and code quality badges. 2017-02-25 01:18:27 +11:00
Will Rouesnel
8ec2d3d73c Remove the spurious config.expect-replication-stats option.
This was something that was going to be added but never materialized into a practical feature.
2016-11-29 07:44:38 +11:00
Mario Trangoni
cd9bb8605e README.md: Update to new default port 9187 2016-11-21 09:50:15 +01:00
Will Rouesnel
175686dc0f Use the gocheck binary to run Postgres matrix tests. 2016-11-17 22:14:13 +11:00
Nick Cabatoff
64f5d9ac0f Document -extend.query-path in README. Add more examples to queries.yaml. 2016-09-07 15:15:52 -04:00
Will Rouesnel
66db8ebaa0 Update README.md for travis-build 2016-05-28 14:35:17 +10:00
Will Rouesnel
c929bad6a1 README.md connection strings were wrong
Looks like lib/pq has updated their connection strings upstream so the URL parsing is more URL-like.
2016-05-20 19:04:31 +10:00
Will Rouesnel
4c8b9700c6 Merge branch 'local_changes' 2016-03-12 21:18:05 +11: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
fiknytte
7e8fbdf07f Added support for collecting arbitrary sql queries.
Added metrics for locks per database per mode, pg_stat_activity, pg_stat_replication.
Updated README.md with possible solution for running as non-superuser.
2016-01-21 13:15:20 +01:00
Will Rouesnel
c931b83b7c Update README.md
Update README with a workable connection string for local use.
2015-09-07 15:25:10 +10:00
Will Rouesnel
f8c46f1f15 Update README.md 2015-08-28 14:05:11 +10:00
Will Rouesnel
5428cf141f Update README.md 2015-08-28 07:08:54 +10:00
Will Rouesnel
48e00bf01f Update README.md 2015-08-28 07:05:30 +10: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