grafana / cortex-jsonnet

Deprecated: see https://github.com/grafana/mimir/tree/main/operations/mimir instead
Apache License 2.0
74 stars 55 forks source link

Fixes to initial state sync panels on alertmanager dashboard. #385

Closed stevesg closed 3 years ago

stevesg commented 3 years ago

What this PR does:

1) Change minimal interval to 1m for sync duration and fetch state panels.

This is in order to show infrequent events at smaller time windows.

2) Change syncs/sec panel to reflect absolute value of metric not rate.

The initial sync only occurs once per-tenant so the counter value is
essentially 0 or 1. Due to how per-tenant metrics are aggregated, the
external facing metric really acts more like a gauge reflecting the number
of tenants which achieved each outcome.

Also, stack this panel as it becomes easier to visually see when the initial
syncs have completed for all tenants (e.g. during a rollout).

Checklist