1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-08-05 06:21:12 +03:00
Commit Graph

240 Commits

Author SHA1 Message Date
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
Mickaël Canévet
83bf7840f5 Add slot_name to pg_stat_replication 2016-09-08 15:24:42 +02:00
Nick Cabatoff
511ef0eacd fix a bug in the query to fetch shared_buffers setting 2016-09-07 16:55:41 -04:00
Nick Cabatoff
b3bb44082a merge with upstream 2016-09-07 16:29:30 -04:00
Nick Cabatoff
64f5d9ac0f Document -extend.query-path in README. Add more examples to queries.yaml. 2016-09-07 15:15:52 -04:00
Nick Cabatoff
fc3a14f645 fix bug with multiple columns in same metric (only the last one was being used because the map was being overwritten each time); add -dumpmaps option for debugging 2016-08-20 12:32:08 -04:00
Will Rouesnel
39bd5d3938 Merge pull request #18 from tmc/master
Update to use common/log
2016-08-06 12:46:52 +10:00
Travis Cline
09a998035d update to use common/log 2016-08-05 18:54:41 -07:00
Will Rouesnel
9cdd620449 Merge pull request #6 from marcusmartins/duration_handling
Handle `pg_runtime_variable` return values
2016-07-30 11:48:44 +10:00
Will Rouesnel
382729a166 Merge pull request #17 from jinty/string-to-flaot
Parse strings to floats
2016-07-30 11:44:17 +10:00
Brian Sutherland
0830d3e098 Parse strings to floats. fixes https://github.com/wrouesnel/postgres_exporter/issues/15 2016-07-28 12:59:28 +02:00
Will Rouesnel
5085f2a137 Merge pull request #13 from wrouesnel/smoketests
Add docker based integration test suite.
2016-07-16 12:54:47 +10:00
Will Rouesnel
8cca2a59a5 Add docker based integration test suite.
This simply pulls and runs postgres against a number of versions and checks
that we can successfully connect to it.
2016-07-16 12:41:34 +10:00
Reda NOUSHI
895166bbbb Made cosmetic changes to fit the Go coding standards 2016-06-29 22:09:42 +00:00
Reda NOUSHI
8dd3912150 Add gopkg.in/yaml.v2 dependency to vendor/ 2016-06-29 01:21:04 +00:00
Reda NOUSHI
c0ae101d89 Add support for custom queries from yaml file 2016-06-29 00:32:47 +00:00
Reda NOUSHI
1d383291eb Add sample queries file 2016-06-28 23:57:13 +00:00
Reda NOUSHI
6565c98ad5 Add queries file support 2016-06-28 23:56:47 +00:00
Will Rouesnel
86caf395f6 Update .travis.yml to release only on master v0.0.1 2016-06-03 23:13:55 +10:00
Will Rouesnel
76f8d57e99 Setup travis releases 2016-05-28 14:53:48 +10:00
Will Rouesnel
66db8ebaa0 Update README.md for travis-build 2016-05-28 14:35:17 +10:00
Will Rouesnel
490e1626f5 Merge branch 'master' of github.com:wrouesnel/postgres_exporter 2016-05-28 14:33:46 +10:00
Will Rouesnel
2711bd78d3 Modifications to setup .travis.yml and builds. 2016-05-28 14:31:43 +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
Marcus Martins
2a8bef5235 Handle pg_runtime_variable return values
When querying postgres `pg_runtime_variable`, postgres might return -1
for `max_standby_archive_delay` and `max_standby_streaming_delay`
2016-05-05 18:07:27 -07: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
Will Rouesnel
bb26a644f9 Merge branch 'knutemann-master' 2016-02-03 13:52:08 +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
William Rouesnel
01e4eb4e67 Add support for collecting runtime variables. 2015-12-09 16:41:28 +11: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
ddf582dcdf Fix the column labeling properly. 0.0.1 2015-08-28 06:58:59 +10:00
Will Rouesnel
4191c1a938 Update gitignore 2015-08-28 04:29:03 +10:00
Will Rouesnel
c92bb1e610 Add explicit type conversion functions from sql to prometheus. 2015-08-28 04:27:36 +10:00
Will Rouesnel
976a50234b Not production ready yet (or working at all). 2015-08-25 04:08:46 +10:00
Will Rouesnel
0fd7504047 Not production ready yet (or working at all). 2015-08-25 04:08:46 +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