Skip to content

Commit 135ac99

Browse files
Merge pull request #3835 from jacobcrawford/tempo_distributed_configure_empty_tenant_deletion_enabled
[tempo-distributed] You should be able to configure empty tenant deletion
2 parents 42d4d00 + fabc5db commit 135ac99

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

charts/tempo-distributed/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: tempo-distributed
33
description: Grafana Tempo in MicroService mode
44
type: application
5-
version: 1.51.1
5+
version: 1.51.2
66
appVersion: 2.9.0
77
engine: gotpl
88
home: https://grafana.com/docs/tempo/latest/

charts/tempo-distributed/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tempo-distributed
22

3-
![Version: 1.51.1](https://img.shields.io/badge/Version-1.51.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.0](https://img.shields.io/badge/AppVersion-2.9.0-informational?style=flat-square)
3+
![Version: 1.51.2](https://img.shields.io/badge/Version-1.51.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.0](https://img.shields.io/badge/AppVersion-2.9.0-informational?style=flat-square)
44

55
Grafana Tempo in MicroService mode
66

@@ -963,6 +963,8 @@ The memcached default args are removed and should be provided manually. The sett
963963
| storage.trace.blocklist_poll_fallback | string | `nil` | fallback to scanning the entire bucket. Set to false to disable this behavior. |
964964
| storage.trace.blocklist_poll_stale_tenant_index | string | `nil` | The oldest allowable tenant index. |
965965
| storage.trace.blocklist_poll_tenant_index_builders | string | `nil` | Maximum number of compactors that should build the tenant index. All other components will download the index. |
966+
| storage.trace.empty_tenant_deletion_age | string | `nil` | How fast the poller will delete a tenant if it is empty. Will need to be enabled in 'empty_tenant_deletion_enabled'. |
967+
| storage.trace.empty_tenant_deletion_enabled | string | `nil` | Delete empty tenants. |
966968
| storage.trace.pool.max_workers | int | `400` | Total number of workers pulling jobs from the queue |
967969
| storage.trace.pool.queue_depth | int | `20000` | Length of job queue. imporatant for querier as it queues a job for every block it has to search |
968970
| storage.trace.search.prefetch_trace_count | int | `1000` | Number of traces to prefetch while scanning blocks. Increasing this value can improve trace search performance at the cost of memory. |

charts/tempo-distributed/values.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1600,6 +1600,12 @@ config: |
16001600
{{- if .Values.storage.trace.blocklist_poll_stale_tenant_index }}
16011601
blocklist_poll_stale_tenant_index: {{ .Values.storage.trace.blocklist_poll_stale_tenant_index }}
16021602
{{- end }}
1603+
{{- if .Values.storage.trace.empty_tenant_deletion_age }}
1604+
empty_tenant_deletion_age: {{ .Values.storage.trace.empty_tenant_deletion_age }}
1605+
{{- end }}
1606+
{{- if .Values.storage.trace.empty_tenant_deletion_enabled }}
1607+
empty_tenant_deletion_enabled: {{ .Values.storage.trace.empty_tenant_deletion_enabled }}
1608+
{{- end }}
16031609
16041610
# Set Tempo server configuration
16051611
# Refers to https://grafana.com/docs/tempo/latest/configuration/#server
@@ -1673,7 +1679,12 @@ storage:
16731679
blocklist_poll_tenant_index_builders: null
16741680
# -- The oldest allowable tenant index.
16751681
blocklist_poll_stale_tenant_index: null
1676-
# Settings for the Admin client storage backend and buckets. Only valid is enterprise.enabled is true.
1682+
# -- How fast the poller will delete a tenant if it is empty. Will need to be enabled in 'empty_tenant_deletion_enabled'.
1683+
empty_tenant_deletion_age: null
1684+
# -- Delete empty tenants.
1685+
empty_tenant_deletion_enabled: null
1686+
1687+
# Settings for the Admin client storage backend and buckets. Only valid is enterprise.enabled is true
16771688
admin:
16781689
# -- The supported storage backends are gcs, s3 and azure, as specified in https://grafana.com/docs/enterprise-traces/latest/configure/reference/#admin_client_config
16791690
backend: filesystem

0 commit comments

Comments
 (0)