Skip to content

Add datname label to pg_statio_user_indexes. #1139

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aleszeleny
Copy link

Add datname label to pg_statio_user_indexes metrics similar to pg_statio_user_tables where the datname label already exists.
This allows distinguishing indexes with the same fully qualified name (schema name and index name) within different databases running in a PostgreSQL instance.

Signed-off-by: Aleš Zelený <zeleny.ales@gmail.com>
@aleszeleny aleszeleny force-pushed the pg_statio_user_indexes-add_datname branch from cde7445 to 9c7a458 Compare March 19, 2025 13:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant