puppetlabs / puppet_operational_dashboards

Apache License 2.0
5 stars 22 forks source link

Group the total db size by 5m intervals #139

Closed m0dular closed 1 year ago

m0dular commented 1 year ago

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.