grafana / mimir

Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus.
https://grafana.com/oss/mimir/
GNU Affero General Public License v3.0
4.18k stars 537 forks source link

Resource usage dashboard for tracking daily/weekly/seasonal changes #5662

Open aldernero opened 1 year ago

aldernero commented 1 year ago

Is your feature request related to a problem? Please describe.

It's fairly straightforward to use existing dashboards and metrics to alert on resource usage once it exceeds some threshold. However sometimes it's also useful to see resource usage changes that wouldn't necessarily trigger an alert, but would give earlier warnings about unexpected increases/decreases, and allow a proactive approach to solving problems before they trigger alerts.

Tracking CPU/Memory/Disk/Network usage and comparing to situation-dependent time periods would improve cell observability and allow for a proactive rather than reactive approach to solving issues.

Describe the solution you'd like

I would like to add dashboard(s) to the Mimir dashboard mixin that provide some time based comparisons for resource usage. For example, I would like to see the CPU and Memory usage for a given Mimir component compared to 1 week prior. The dashboard would allow the user see these comparisons for CPU, Memory, disk usage (capacity), and Network. Some predefined time periods for comparison would be daily, weekly, day of week, monthly, but should allow for arbitrary time periods as well.

Describe alternatives you've considered

Alternatives are to create custom dashboards, recording rules, alerts, etc. However this is a common enough scenario that it would be beneficial to the full Mimir community, so adding such a dashboard to the mixin makes sense.

Additional context

Some typical use cases where this would be beneficial:

I plan to spend some time working on this, so I'm creating this issue for visibility and tracking.

gavinwoolley commented 1 year ago

Hi @aldernero just wondered if you got anywhere with this yet? We also have a requirement for this type of functionality. Thanks

javlonsodikov commented 11 months ago

Hello aldernero We need to create a dashboard with the same requirements