Skip to content

Commit 2d5d5f7

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

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

55
Grafana Tempo in MicroService mode
66

@@ -946,6 +946,8 @@ The memcached default args are removed and should be provided manually. The sett
946946
| storage.trace.blocklist_poll_fallback | string | `nil` | fallback to scanning the entire bucket. Set to false to disable this behavior. |
947947
| storage.trace.blocklist_poll_stale_tenant_index | string | `nil` | The oldest allowable tenant index. |
948948
| 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. |
949+
| 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'. |
950+
| storage.trace.empty_tenant_deletion_enabled | string | `nil` | Delete empty tenants. |
949951
| storage.trace.pool.max_workers | int | `400` | Total number of workers pulling jobs from the queue |
950952
| 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 |
951953
| 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
@@ -1571,6 +1571,12 @@ config: |
15711571
{{- if .Values.storage.trace.blocklist_poll_stale_tenant_index }}
15721572
blocklist_poll_stale_tenant_index: {{ .Values.storage.trace.blocklist_poll_stale_tenant_index }}
15731573
{{- end }}
1574+
{{- if .Values.storage.trace.empty_tenant_deletion_age }}
1575+
empty_tenant_deletion_age: {{ .Values.storage.trace.empty_tenant_deletion_age }}
1576+
{{- end }}
1577+
{{- if .Values.storage.trace.empty_tenant_deletion_enabled }}
1578+
empty_tenant_deletion_enabled: {{ .Values.storage.trace.empty_tenant_deletion_enabled }}
1579+
{{- end }}
15741580
15751581
# Set Tempo server configuration
15761582
# Refers to https://grafana.com/docs/tempo/latest/configuration/#server
@@ -1644,7 +1650,12 @@ storage:
16441650
blocklist_poll_tenant_index_builders: null
16451651
# -- The oldest allowable tenant index.
16461652
blocklist_poll_stale_tenant_index: null
1647-
# Settings for the Admin client storage backend and buckets. Only valid is enterprise.enabled is true.
1653+
# -- How fast the poller will delete a tenant if it is empty. Will need to be enabled in 'empty_tenant_deletion_enabled'.
1654+
empty_tenant_deletion_age: null
1655+
# -- Delete empty tenants.
1656+
empty_tenant_deletion_enabled: null
1657+
1658+
# Settings for the Admin client storage backend and buckets. Only valid is enterprise.enabled is true
16481659
admin:
16491660
# -- The supported storage backends are gcs, s3 and azure, as specified in https://grafana.com/docs/enterprise-traces/latest/configure/reference/#admin_client_config
16501661
backend: filesystem

0 commit comments

Comments
 (0)