Skip to content

Commit

Permalink
Merge pull request grafana/cortex-jsonnet#354 from grafana/add-object…
Browse files Browse the repository at this point in the history
…-storage-metrics-to-ruler-and-alertmanager-dashboards

Aded object storage metrics for Ruler and Alertmanager
  • Loading branch information
pracucci authored Jul 6, 2021
2 parents 106e70c + acb4a07 commit 82d1e11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jsonnet/mimir-mixin/dashboards/alertmanager.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,8 @@ local utils = import 'mixin-utils/utils.libsonnet';
$.panel('Latency') +
utils.latencyRecordingRulePanel('cortex_request_duration_seconds', $.jobSelector($._config.job_names.gateway) + [utils.selector.re('route', 'api_v1_alerts|alertmanager')])
)
)
.addRows(
$.getObjectStoreRows('Alertmanager Configuration Object Store (Alertmanager accesses)', 'alertmanager-storage')
),
}
3 changes: 3 additions & 0 deletions jsonnet/mimir-mixin/dashboards/ruler.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -248,5 +248,8 @@ local utils = import 'mixin-utils/utils.libsonnet';
'{{ user }}'
)
)
)
.addRows(
$.getObjectStoreRows('Ruler Configuration Object Store (Ruler accesses)', 'ruler-storage')
),
}

0 comments on commit 82d1e11

Please sign in to comment.