Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## master / unreleased

* [CHANGE] Add the default preset 'extra_small_user' and reference it in the CLI flags. This will raise the limits of the 'small_user' preset to the defaults for `ingester.max-samples-per-query` and `ingester.max-series-per-query`. #200
* [ENHANCEMENT] Add the Ruler to the write resources dashboard #205
* [ENHANCEMENT] Read dashboards now use `cortex_querier_request_duration_seconds` metrics to allow for accurate dashboards when deploying Cortex as a single-binary. #199
* [ENHANCEMENT] Improved Ruler dashboard. Includes information about notifications and per user per rule group evaluation. #197
* [FEATURE] Latency recording rules for the metric`cortex_querier_request_duration_seconds` are now part of a `cortex_querier_api` rule group. #199
Expand Down
1 change: 1 addition & 0 deletions cortex-mixin/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
ingester: '(ingester|cortex$)',
distributor: '(distributor|cortex$)',
querier: '(querier|cortex$)',
ruler: '(ruler|cortex$)',
query_frontend: '(query-frontend|cortex$)',
table_manager: '(table-manager|cortex$)',
store_gateway: '(store-gateway|cortex$)',
Expand Down
19 changes: 19 additions & 0 deletions cortex-mixin/dashboards/writes-resources.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,25 @@ local utils = import 'mixin-utils/utils.libsonnet';
.addPanel(
$.goHeapInUsePanel('Memory (go heap inuse)', 'ingester'),
)
)
.addRow(
$.row('Ruler')
.addPanel(
$.panel('Rules') +
$.queryPanel('sum by(instance) (cortex_prometheus_rule_group_rules{%s})' % $.jobMatcher($._config.job_names.ruler), '{{instance}}'),
)
.addPanel(
$.containerCPUUsagePanel('CPU', 'ruler'),
)
)
.addRow(
$.row('')
.addPanel(
$.containerMemoryWorkingSetPanel('Memory (workingset)', 'ruler'),
)
.addPanel(
$.goHeapInUsePanel('Memory (go heap inuse)', 'ruler'),
)
) + {
templating+: {
list: [
Expand Down