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

Group the total db size by 5m intervals #139

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

m0dular
Copy link
Contributor

@m0dular m0dular commented Feb 21, 2023

Prior to this commit, we used the magic $__interval for the total db sizes in the postgres dashboard. But, since this uses a sum() of multiple "total" columns, the data was skewed when changing the interval in the graph. This commit uses 5m since that is the default interval for the metrics collector, and the panel should work for any interval
5m or longer.

Prio to this commit, we used the magic $__interval for the total db
sizes in the postgres dashboard.  But, since this uses a sum() of
multiple "total" columns, the data was skewed when changing the interval
in the graph.  This commit uses 5m since that is the default interval
for the metrics collector, and the panel should work for any interval
  >=5m.
@m0dular m0dular requested a review from a team as a code owner February 21, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants