Skip to content

Commit 05cee21

Browse files
committed
You should be able to configure empty tenant deletion
Signed-off-by: Jacob Crawford <[email protected]>
1 parent dc7572f commit 05cee21

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.47.0
5+
version: 1.47.1
66
appVersion: 2.8.2
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.47.0](https://img.shields.io/badge/Version-1.47.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.8.2](https://img.shields.io/badge/AppVersion-2.8.2-informational?style=flat-square)
3+
![Version: 1.47.1](https://img.shields.io/badge/Version-1.47.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.8.2](https://img.shields.io/badge/AppVersion-2.8.2-informational?style=flat-square)
44

55
Grafana Tempo in MicroService mode
66

@@ -948,6 +948,8 @@ The memcached default args are removed and should be provided manually. The sett
948948
| storage.trace.blocklist_poll_fallback | string | `nil` | fallback to scanning the entire bucket. Set to false to disable this behavior. |
949949
| storage.trace.blocklist_poll_stale_tenant_index | string | `nil` | The oldest allowable tenant index. |
950950
| 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. |
951+
| 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'. |
952+
| storage.trace.empty_tenant_deletion_enabled | string | `nil` | Delete empty tenants. |
951953
| storage.trace.pool.max_workers | int | `400` | Total number of workers pulling jobs from the queue |
952954
| 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 |
953955
| 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
@@ -1577,6 +1577,12 @@ config: |
15771577
{{- if .Values.storage.trace.blocklist_poll_stale_tenant_index }}
15781578
blocklist_poll_stale_tenant_index: {{ .Values.storage.trace.blocklist_poll_stale_tenant_index }}
15791579
{{- end }}
1580+
{{- if .Values.storage.trace.empty_tenant_deletion_age }}
1581+
empty_tenant_deletion_age: {{ .Values.storage.trace.empty_tenant_deletion_age }}
1582+
{{- end }}
1583+
{{- if .Values.storage.trace.empty_tenant_deletion_enabled }}
1584+
empty_tenant_deletion_enabled: {{ .Values.storage.trace.empty_tenant_deletion_enabled }}
1585+
{{- end }}
15801586
15811587
# Set Tempo server configuration
15821588
# Refers to https://grafana.com/docs/tempo/latest/configuration/#server
@@ -1650,7 +1656,12 @@ storage:
16501656
blocklist_poll_tenant_index_builders: null
16511657
# -- The oldest allowable tenant index.
16521658
blocklist_poll_stale_tenant_index: null
1653-
# Settings for the Admin client storage backend and buckets. Only valid is enterprise.enabled is true.
1659+
# -- How fast the poller will delete a tenant if it is empty. Will need to be enabled in 'empty_tenant_deletion_enabled'.
1660+
empty_tenant_deletion_age: null
1661+
# -- Delete empty tenants.
1662+
empty_tenant_deletion_enabled: null
1663+
1664+
# Settings for the Admin client storage backend and buckets. Only valid is enterprise.enabled is true
16541665
admin:
16551666
# -- The supported storage backends are gcs, s3 and azure, as specified in https://grafana.com/docs/enterprise-traces/latest/configure/reference/#admin_client_config
16561667
backend: filesystem

0 commit comments

Comments
 (0)