Skip to content

PMM-14527 Ability to have aurora specific queries.#373

Open
JiriCtvrtka wants to merge 6 commits intomainfrom
PMM-14527-aurora-queries
Open

PMM-14527 Ability to have aurora specific queries.#373
JiriCtvrtka wants to merge 6 commits intomainfrom
PMM-14527-aurora-queries

Conversation

@JiriCtvrtka
Copy link

@JiriCtvrtka JiriCtvrtka commented Feb 19, 2026

PMM-14527

FB: Percona-Lab/pmm-submodules#4233

Aurora Detection:
The exporter now automatically detects if it is connected to an Aurora PostgreSQL instance by running SHOW rds.extensions; on startup. If results are returned, the exporter sets the server distribution to aurora; otherwise, it defaults to standard, or could be skip completely by "!".

Constants for Distributions:
Introduced DistributionStandard and DistributionAurora constants for clarity and maintainability.

Conditional Query Selection:
Query selection logic and YAML configuration support both standard and Aurora-specific queries, with fallback and skip logic as appropriate.

@@ -0,0 +1,92 @@
// Copyright 2021 The Prometheus Authors
Copy link
Author

Choose a reason for hiding this comment

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

Not sure about license in new file.

Copy link
Member

Choose a reason for hiding this comment

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

@JiriCtvrtka If Percona authors the code, then we should put Percona's name in the copyright notice.

@JiriCtvrtka JiriCtvrtka changed the title PMM-14527 Ability to have aurora queries. PMM-14527 Ability to have aurora specific queries. Feb 20, 2026
@JiriCtvrtka JiriCtvrtka marked this pull request as ready for review February 21, 2026 07:38
@JiriCtvrtka JiriCtvrtka requested a review from a team as a code owner February 21, 2026 07:38
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