Skip to content

Commit d73a322

Browse files
Merge pull request #3783 from leiwingqueen/tempo-distributed/support-max_attribute_bytes-param
[tempo-distributed] tempo distributed support max_attribute_bytes param
2 parents 6855dbc + 7d629f6 commit d73a322

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-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.47.2
5+
version: 1.47.3
66
appVersion: 2.8.2
77
engine: gotpl
88
home: https://grafana.com/docs/tempo/latest/

charts/tempo-distributed/README.md

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

3-
![Version: 1.47.2](https://img.shields.io/badge/Version-1.47.2-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.3](https://img.shields.io/badge/Version-1.47.3-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

@@ -372,6 +372,7 @@ The memcached default args are removed and should be provided manually. The sett
372372
| distributor.config.log_discarded_spans.include_all_attributes | bool | `false` | |
373373
| distributor.config.log_received_spans | object | `{"enabled":false,"filter_by_status_error":false,"include_all_attributes":false}` | Enable to log every received span to help debug ingestion or calculate span error distributions using the logs |
374374
| distributor.config.log_received_traces | string | `nil` | WARNING: Deprecated. Use log_received_spans instead. |
375+
| distributor.config.max_attribute_bytes | int | `0` | Trace Attribute bytes limit. This is the maximum number of bytes that can be used in a trace.0 for no limit. |
375376
| distributor.extraArgs | list | `[]` | Additional CLI args for the distributor |
376377
| distributor.extraContainers | list | `[]` | Containers to add to the distributor pod |
377378
| distributor.extraEnv | list | `[]` | Environment variables to add to the distributor pods |

charts/tempo-distributed/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,8 @@ distributor:
612612
filter_by_status_error: false
613613
# -- Disables write extension with inactive ingesters
614614
extend_writes: null
615+
# -- Trace Attribute bytes limit. This is the maximum number of bytes that can be used in a trace.0 for no limit.
616+
max_attribute_bytes: 0
615617
# Configures usage trackers in the distributor which expose metrics of ingested traffic grouped by configurable
616618
# attributes exposed on /usage_metrics.
617619
cost_attribution:
@@ -1455,6 +1457,9 @@ config: |
14551457
{{- if .Values.distributor.config.extend_writes }}
14561458
extend_writes: {{ .Values.distributor.config.extend_writes }}
14571459
{{- end }}
1460+
{{- if .Values.distributor.config.max_attribute_bytes }}
1461+
max_attribute_bytes: {{ .Values.distributor.config.max_attribute_bytes }}
1462+
{{- end }}
14581463
querier:
14591464
frontend_worker:
14601465
frontend_address: {{ include "tempo.resourceName" (dict "ctx" . "component" "query-frontend-discovery") }}:9095

0 commit comments

Comments
 (0)