Skip to content

Commit f937a34

Browse files
authored
Merge pull request #3659 from abenbachir/abderb/tempo-helm-storage-blocklist-config
[tempo-distributed] add configs for storage search and blocklist
2 parents 3139437 + 638f4e1 commit f937a34

File tree

3 files changed

+41
-2
lines changed

3 files changed

+41
-2
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.38.1
5+
version: 1.38.2
66
appVersion: 2.7.1
77
engine: gotpl
88
home: https://grafana.com/docs/tempo/latest/

charts/tempo-distributed/README.md

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

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

55
Grafana Tempo in MicroService mode
66

@@ -911,8 +911,14 @@ The memcached default args are removed and should be provided manually. The sett
911911
| storage.trace.backend | string | `"local"` | The supported storage backends are gcs, s3 and azure, as specified in https://grafana.com/docs/tempo/latest/configuration/#storage |
912912
| storage.trace.block.dedicated_columns | list | `[]` | Lis with dedicated attribute columns (only for vParquet3 or later) |
913913
| storage.trace.block.version | string | `nil` | The supported block versions are specified here https://grafana.com/docs/tempo/latest/configuration/parquet/ |
914+
| storage.trace.blocklist_poll | string | `"5m"` | How often to repoll the backend for new blocks |
915+
| storage.trace.blocklist_poll_concurrency | string | `nil` | Number of blocks to process in parallel during polling. |
916+
| storage.trace.blocklist_poll_fallback | string | `nil` | fallback to scanning the entire bucket. Set to false to disable this behavior. |
917+
| storage.trace.blocklist_poll_stale_tenant_index | string | `nil` | The oldest allowable tenant index. |
918+
| 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. |
914919
| storage.trace.pool.max_workers | int | `400` | Total number of workers pulling jobs from the queue |
915920
| 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 |
921+
| 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. |
916922
| tempo.image.pullPolicy | string | `"IfNotPresent"` | |
917923
| tempo.image.pullSecrets | list | `[]` | Optional list of imagePullSecrets. Overrides `global.image.pullSecrets` |
918924
| tempo.image.registry | string | `"docker.io"` | The Docker registry |

charts/tempo-distributed/values.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,6 +1526,24 @@ config: |
15261526
path: /var/tempo/traces
15271527
wal:
15281528
path: /var/tempo/wal
1529+
search:
1530+
{{- toYaml .Values.storage.trace.search | nindent 6}}
1531+
1532+
{{- if .Values.storage.trace.blocklist_poll }}
1533+
blocklist_poll: {{ .Values.storage.trace.blocklist_poll }}
1534+
{{- end }}
1535+
{{- if .Values.storage.trace.blocklist_poll_concurrency }}
1536+
blocklist_poll_concurrency: {{ .Values.storage.trace.blocklist_poll_concurrency }}
1537+
{{- end }}
1538+
{{- if .Values.storage.trace.blocklist_poll_fallback }}
1539+
blocklist_poll_fallback: {{ .Values.storage.trace.blocklist_poll_fallback }}
1540+
{{- end }}
1541+
{{- if .Values.storage.trace.blocklist_poll_tenant_index_builders }}
1542+
blocklist_poll_tenant_index_builders: {{ .Values.storage.trace.blocklist_poll_tenant_index_builders }}
1543+
{{- end }}
1544+
{{- if .Values.storage.trace.blocklist_poll_stale_tenant_index }}
1545+
blocklist_poll_stale_tenant_index: {{ .Values.storage.trace.blocklist_poll_stale_tenant_index }}
1546+
{{- end }}
15291547
15301548
# Set Tempo server configuration
15311549
# Refers to https://grafana.com/docs/tempo/latest/configuration/#server
@@ -1584,6 +1602,21 @@ storage:
15841602
max_workers: 400
15851603
# -- Length of job queue. imporatant for querier as it queues a job for every block it has to search
15861604
queue_depth: 20000
1605+
# The supported search are specified here https://grafana.com/docs/tempo/latest/configuration/#search-config
1606+
search:
1607+
# -- Number of traces to prefetch while scanning blocks. Increasing this value can improve trace search performance at the cost of memory.
1608+
prefetch_trace_count: 1000
1609+
# -- How often to repoll the backend for new blocks
1610+
blocklist_poll: 5m
1611+
# -- Number of blocks to process in parallel during polling.
1612+
blocklist_poll_concurrency: null
1613+
# -- By default components will pull the blocklist from the tenant index. If that fails the component can
1614+
# -- fallback to scanning the entire bucket. Set to false to disable this behavior.
1615+
blocklist_poll_fallback: null
1616+
# -- Maximum number of compactors that should build the tenant index. All other components will download the index.
1617+
blocklist_poll_tenant_index_builders: null
1618+
# -- The oldest allowable tenant index.
1619+
blocklist_poll_stale_tenant_index: null
15871620
# Settings for the Admin client storage backend and buckets. Only valid is enterprise.enabled is true.
15881621
admin:
15891622
# -- The supported storage backends are gcs, s3 and azure, as specified in https://grafana.com/docs/enterprise-traces/latest/configure/reference/#admin_client_config

0 commit comments

Comments
 (0)