Skip to content

Conversation

russss
Copy link
Contributor

@russss russss commented Nov 1, 2019

These are useful for knowing if WAL archiving is working successfully.

I believe the pg_stat_archiver view was added in 9.4 (which is the oldest currently-supported version of postgres), but it's not clear whether I can stop this being queried in older versions.

These are useful for knowing if WAL archiving is working successfully.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 64.516% when pulling 0d443d8 on russss:archive-stats into 852ec5d on wrouesnel:master.

@wrouesnel
Copy link
Contributor

I'm happy with the test suite passing the integration tests, which represent the sort of limits of what I want to guarantee. This looks good so merging.

@wrouesnel wrouesnel merged commit 2772da8 into prometheus-community:master Nov 19, 2019
@russss russss deleted the archive-stats branch November 19, 2019 23:23
@nikhil-bhat
Copy link

@russss @wrouesnel I am getting repeated errors because version of posgres(9.2.23) doesnt have this view . COuld you let me know how i can disable this as this causes postgres logs to fill up
2019-12-12 08:05:43 EST:::1(52124):postgres@postgres:[181027]:ERROR: relation "pg_stat_archiver" does not exist at character 94

@nikhil-bhat
Copy link

I am willing to create a PR for this

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.

4 participants