Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Gitlab collector: Total relation size collector and test #847

Conversation

Sticksman
Copy link
Contributor

Split from #819

Signed-off-by: Felix Yuan <felix.yuan@reddit.com>
relnamespace::regnamespace as schemaname,
relname as relname,
pg_total_relation_size(oid) bytes
FROM pg_class
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems like there are several collectors that query pg_class. I wonder if we should refactor this into a pg_class collector that gathers all the data in one shot.

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