Skip to content

Conversation

heniek
Copy link

@heniek heniek commented Nov 2, 2023

Changes to be committed:
modified: cmd/postgres_exporter/postgres_exporter.go
modified: cmd/postgres_exporter/queries.go

PMM-12650 Adding vacuum monitoring and adjusting pg_stat_activity for better troubleshooting.

Changes to be committed:
	modified:   cmd/postgres_exporter/postgres_exporter.go
	modified:   cmd/postgres_exporter/queries.go

Adding vacuum monitoring and adjusting pg_stat_activity for better troubleshooting.
@heniek heniek requested a review from a team as a code owner November 2, 2023 14:00
@heniek heniek temporarily deployed to CI November 2, 2023 14:01 — with GitHub Actions Inactive
@heniek heniek temporarily deployed to CI November 2, 2023 14:01 — with GitHub Actions Inactive
@heniek heniek temporarily deployed to CI November 2, 2023 14:01 — with GitHub Actions Inactive
@heniek heniek temporarily deployed to CI November 2, 2023 14:01 — with GitHub Actions Inactive
@BupycHuk BupycHuk changed the title On branch PMM-12650-vacuum-monitoring PMM-12650 vacuum monitoring Nov 14, 2023
(
SELECT
datname,
pid,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as far as I remember this pid value creates high cardinality and brings a problem with bad performance and high disk space usage.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BupycHuk Are we going to try it and if needed discart it based on QAs results? Or discart it before merge?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's discard it before merge, because we've faced this problem already in past

@JiriCtvrtka
Copy link

@heniek Could you discard changes related to PID? Thank you.

@heniek
Copy link
Author

heniek commented Dec 7, 2023

Hey,
DGB is now working on the alternate version of the metrics that I included here. Let's keep this PR on hold until he is done with those and then validate if they are still required or not.
Thanks!

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.

3 participants