Skip to content

Conversation

@wrouesnel
Copy link
Contributor

@wrouesnel wrouesnel commented Nov 16, 2016

Resolutions to a whole bunch of outstanding issues I've left for far too long.

The key change being made here is a significant upgrade to the testing infrastructure to stamp out some of the issues this exporter has had. We will now be running Travis builds which test every version of postgres, in replicated and non-replicated mode, and which do a deep inspection on the internals via an integration test binary.

Resolves #29 by the improvements in the replication queries.
Resolves #16 with Postgres version checking support.

This is the postgres_exporter WIP port for Prometheus and avoids the
by default collision with the nginx_exporter.

Closes #22.
This PR is not general to all versions of postgres, and in the worst case
meant the query returned nothing.

Closes #30 and shows we need a test case.
Similar to the node_exporter, this key is synthetic and used to create
a constant metric which records the version strings of PostgreSQL in its
labels.
Use docker-compose and p2 to setup a replicated environment for each
version of PostgreSQL we want to support.

Still missing: key-specific tests to ensure each version doesn't lose
metrics.
This puts us on the road to dropping the bash tests and doing it all in
Go.
…uite.

This is the first step in moving the integration test suite to a more
reliable Golang based one.
@wrouesnel wrouesnel force-pushed the bugfixes_and_upgrades branch from c721980 to 1246d1b Compare November 17, 2016 16:42
@wrouesnel wrouesnel merged commit e3ba4b3 into master Nov 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants