Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 5009433

Browse files
authored
Add support for local ruler_client_type (#175)
1 parent e3f50a2 commit 5009433

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* [CHANGE] Add overrides config to tsdb store-gateway. #167
77
* [CHANGE] Ingesters now default to running as `StatefulSet` with WAL enabled. It is controlled by the config `$._config.ingester_deployment_without_wal` which is `false` by default. Setting the config to `true` will yeild the old behaviour (stateless `Deployment` without WAL enabled). #72
88
* [CHANGE] We now allow queries that are 32 days long. For example, rate(metric[32d]). Before it was 31d. #173
9+
* [BUGFIX] Add support the `local` ruler client type
910

1011
## 1.3.0 / 2020-08-21
1112

cortex/config.libsonnet

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
},
220220

221221
ruler_enabled: false,
222-
ruler_client_type: error 'you must specify a storage backend type for the ruler (azure, configdb, gcs, s3)',
222+
ruler_client_type: error 'you must specify a storage backend type for the ruler (azure, configdb, gcs, s3, local)',
223223
// TODO: Generic client generating functions would be nice.
224224
ruler_s3_bucket_name: $._config.s3_bucket_name,
225225
ruler_gcs_bucket_name: error 'must specify a GCS bucket name',
@@ -238,6 +238,9 @@
238238
s3: {
239239
's3.url': 'https://%s/%s' % [$._config.aws_region, $._config.ruler_s3_bucket_name],
240240
},
241+
'local': {
242+
'ruler.storage.local.directory': $._config.ruler_local_directory,
243+
},
241244
}[$._config.ruler_client_type],
242245

243246
overrides: {

0 commit comments

Comments
 (0)