Skip to content

Commit

Permalink
Merge pull request #729 from grafana/jdb/2021-10-ingester-rf
Browse files Browse the repository at this point in the history
[enterprise-metrics] Ensure production values set ingester replication factor to three
  • Loading branch information
techgnosis committed Oct 19, 2021
2 parents a2d32ef + f2ace03 commit f57f20b
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 5 deletions.
8 changes: 8 additions & 0 deletions charts/enterprise-metrics/CHANGELOG.md
Expand Up @@ -10,6 +10,14 @@ Entries should be ordered as follows:

Entries should include a reference to the Pull Request that introduced the change.

## 1.6.0

* [FEATURE] Upgrade to [Grafana Enterprise Metrics v1.5.1](https://grafana.com/docs/metrics-enterprise/latest/downloads/#v151----september-21st-2021). #729
* [CHANGE] Production values set the ingester replication factor to three to avoid data loss.
The resource calculations of these values already factored in this replication factor but did not apply it in the configuration.
If you have not reduced the compute resources in these values then this change should have no impact besides increased resilience to ingester failure.
If you have reduced the compute resources, consider increasing them back to the recommended values before installing this version. #729

## 1.5.6

* [BUGFIX] YAML exports are no longer included as part of the Helm chart. #726
Expand Down
2 changes: 1 addition & 1 deletion charts/enterprise-metrics/Chart.yaml
@@ -1,5 +1,5 @@
apiVersion: v2
version: 1.5.6
version: 1.6.0
appVersion: v1.5.0
description: 'Grafana Enterprise Metrics'
engine: gotpl
Expand Down
10 changes: 9 additions & 1 deletion charts/enterprise-metrics/capped-large.yaml
@@ -1,6 +1,6 @@
# These values configure the Grafana Enterprise Metrics cluster to
# handle production ingestion of ~10M active series using the blocks
# storage engine.
# storage engine scraped with a 15s interval.
# Query requirements can vary dramatically depending on query rate and query
# ranges. The values here satisfy a "usual" query load as seen from our
# production clusters at this scale.
Expand All @@ -11,6 +11,14 @@
# for more information.
# Minio is no longer enabled and you are encouraged to use your cloud providers
# object storage service for production deployments.
# Ingesters are configured with a replication factor of 3 to ensure that a single ingester failur does not
# result in data loss.
config:
ingester:
lifecycler:
ring:
replication_factor: 3

admin_api:
replicas: 3
resources:
Expand Down
10 changes: 9 additions & 1 deletion charts/enterprise-metrics/capped-small.yaml
@@ -1,6 +1,6 @@
# These values configure the Grafana Enterprise Metrics cluster to
# handle production ingestion of ~1M active series using the blocks
# storage engine.
# storage engine scraped with a 15s interval.
# Query requirements can vary dramatically depending on query rate and query
# ranges. The values here satisfy a "usual" query load as seen from our
# production clusters at this scale.
Expand All @@ -11,6 +11,14 @@
# for more information.
# Minio is no longer enabled and you are encouraged to use your cloud providers
# object storage service for production deployments.
# Ingesters are configured with a replication factor of 3 to ensure that a single ingester failur does not
# result in data loss.
config:
ingester:
lifecycler:
ring:
replication_factor: 3

admin_api:
replicas: 3
resources:
Expand Down
10 changes: 9 additions & 1 deletion charts/enterprise-metrics/large.yaml
@@ -1,6 +1,6 @@
# These values configure the Grafana Enterprise Metrics cluster to
# handle production ingestion of ~10M active series using the blocks
# storage engine.
# storage engine scraped with a 15s interval.
# Query requirements can vary dramatically depending on query rate and query
# ranges. The values here satisfy a "usual" query load as seen from our
# production clusters at this scale.
Expand All @@ -11,6 +11,14 @@
# for more information.
# Minio is no longer enabled and you are encouraged to use your cloud providers
# object storage service for production deployments.
# Ingesters are configured with a replication factor of 3 to ensure that a single ingester failur does not
# result in data loss.
config:
ingester:
lifecycler:
ring:
replication_factor: 3

admin_api:
replicas: 3
resources:
Expand Down
10 changes: 9 additions & 1 deletion charts/enterprise-metrics/small.yaml
@@ -1,6 +1,6 @@
# These values configure the Grafana Enterprise Metrics cluster to
# handle production ingestion of ~1M active series using the blocks
# storage engine.
# storage engine scraped with a 15s interval.
# Query requirements can vary dramatically depending on query rate and query
# ranges. The values here satisfy a "usual" query load as seen from our
# production clusters at this scale.
Expand All @@ -11,6 +11,14 @@
# for more information.
# Minio is no longer enabled and you are encouraged to use your cloud providers
# object storage service for production deployments.
# Ingesters are configured with a replication factor of 3 to ensure that a single ingester failur does not
# result in data loss.
config:
ingester:
lifecycler:
ring:
replication_factor: 3

admin_api:
replicas: 3
resources:
Expand Down

0 comments on commit f57f20b

Please sign in to comment.