Skip to content

Commit 64fa11d

Browse files
committed
cortex: Define Azure ruler args
Signed-off-by: Arve Knudsen <[email protected]>
1 parent fc50bc0 commit 64fa11d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
* [ENHANCEMENT] Add ability to override `datasource` for generated dashboards. #407
7979
* [ENHANCEMENT] Use alertmanager jobname for alertmanager dashboard panels #411
8080
* [ENHANCEMENT] Added `CortexDistributorReachingInflightPushRequestLimit` alert. #408
81+
* [ENHANCEMENT] Define Azure object storage ruler args. #416
8182
* [BUGFIX] Fixed `CortexIngesterHasNotShippedBlocks` alert false positive in case an ingester instance had ingested samples in the past, then no traffic was received for a long period and then it started receiving samples again. #308
8283
* [BUGFIX] Alertmanager: fixed `--alertmanager.cluster.peers` CLI flag passed to alertmanager when HA is enabled. #329
8384
* [BUGFIX] Fixed `CortexInconsistentRuntimeConfig` metric. #335

cortex/config.libsonnet

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,11 @@
258258
'ruler-storage.s3.region': $._config.aws_region,
259259
'ruler-storage.s3.bucket-name': $._config.ruler_storage_bucket_name,
260260
},
261-
azure: {},
261+
azure: {
262+
'ruler-storage.azure.container-name': '%(cluster)s-%(namespace)s-ruler' % $._config,
263+
'ruler-storage.azure.account-name': '$(BLOCKS_STORAGE_AZURE_ACCOUNT_NAME)',
264+
'ruler-storage.azure.account-key': '$(BLOCKS_STORAGE_AZURE_ACCOUNT_KEY)',
265+
},
262266
'local': {
263267
'ruler-storage.local.directory': $._config.ruler_local_directory,
264268
},

0 commit comments

Comments
 (0)