From 6a8257d3ce28bad041bf9d57287ea385cf4bef2e Mon Sep 17 00:00:00 2001 From: Brent Villanueva Date: Fri, 20 Sep 2024 10:25:04 +0900 Subject: [PATCH 1/5] Add max_duration Signed-off-by: Brent Villanueva --- charts/tempo-distributed/values.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charts/tempo-distributed/values.yaml b/charts/tempo-distributed/values.yaml index ccbb560de1..f781036aae 100755 --- a/charts/tempo-distributed/values.yaml +++ b/charts/tempo-distributed/values.yaml @@ -823,6 +823,10 @@ queryFrontend: trace_by_id: # -- The number of shards to split a trace by id query into. query_shards: 50 + metrics: + # The maximum allowed time range for a metrics query. + # 0 disables this limit. + max_duration: 3h autoscaling: # -- Enable autoscaling for the query-frontend enabled: false @@ -1340,6 +1344,8 @@ config: | concurrent_jobs: {{ .Values.queryFrontend.config.search.concurrent_jobs }} trace_by_id: query_shards: {{ .Values.queryFrontend.config.trace_by_id.query_shards }} + metrics: + max_duration: {{ .Values.queryFrontend.config.metrics.max_duration }} ingester: lifecycler: From 769a767eb4ebc49ef01df3f04a4e25554ff7ab67 Mon Sep 17 00:00:00 2001 From: Brent Villanueva Date: Fri, 20 Sep 2024 10:38:24 +0900 Subject: [PATCH 2/5] chart version and readme update Signed-off-by: Brent Villanueva --- charts/tempo-distributed/Chart.yaml | 2 +- charts/tempo-distributed/README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/tempo-distributed/Chart.yaml b/charts/tempo-distributed/Chart.yaml index 0c31a9b274..68a6eb7a95 100644 --- a/charts/tempo-distributed/Chart.yaml +++ b/charts/tempo-distributed/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: tempo-distributed description: Grafana Tempo in MicroService mode type: application -version: 1.18.0 +version: 1.18.1 appVersion: 2.6.0 engine: gotpl home: https://grafana.com/docs/tempo/latest/ diff --git a/charts/tempo-distributed/README.md b/charts/tempo-distributed/README.md index fbbcf5dd28..44e3ab9bcd 100755 --- a/charts/tempo-distributed/README.md +++ b/charts/tempo-distributed/README.md @@ -1,6 +1,6 @@ # tempo-distributed -![Version: 1.18.0](https://img.shields.io/badge/Version-1.18.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.0](https://img.shields.io/badge/AppVersion-2.6.0-informational?style=flat-square) +![Version: 1.18.1](https://img.shields.io/badge/Version-1.18.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.0](https://img.shields.io/badge/AppVersion-2.6.0-informational?style=flat-square) Grafana Tempo in MicroService mode @@ -739,6 +739,7 @@ The memcached default args are removed and should be provided manually. The sett | queryFrontend.autoscaling.targetMemoryUtilizationPercentage | string | `nil` | Target memory utilisation percentage for the query-frontend | | queryFrontend.config.max_outstanding_per_tenant | int | `2000` | Maximum number of outstanding requests per tenant per frontend; requests beyond this error with HTTP 429. | | queryFrontend.config.max_retries | int | `2` | Number of times to retry a request sent to a querier | +| queryFrontend.config.metrics.max_duration | string | `"3h"` | | | queryFrontend.config.search.concurrent_jobs | int | `1000` | The number of concurrent jobs to execute when searching the backend | | queryFrontend.config.search.target_bytes_per_job | int | `104857600` | The target number of bytes for each job to handle when performing a backend search | | queryFrontend.config.trace_by_id | object | `{"query_shards":50}` | Trace by ID lookup configuration | From 73ecb9dbe68d782fd0d1080af241f1d94bcddb30 Mon Sep 17 00:00:00 2001 From: Brent Villanueva Date: Wed, 2 Oct 2024 06:49:36 +0900 Subject: [PATCH 3/5] chart version and readme update Signed-off-by: Brent Villanueva --- charts/tempo-distributed/Chart.yaml | 2 +- charts/tempo-distributed/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/tempo-distributed/Chart.yaml b/charts/tempo-distributed/Chart.yaml index 68a6eb7a95..63250f02c2 100644 --- a/charts/tempo-distributed/Chart.yaml +++ b/charts/tempo-distributed/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: tempo-distributed description: Grafana Tempo in MicroService mode type: application -version: 1.18.1 +version: 1.18.2 appVersion: 2.6.0 engine: gotpl home: https://grafana.com/docs/tempo/latest/ diff --git a/charts/tempo-distributed/README.md b/charts/tempo-distributed/README.md index 44e3ab9bcd..dedec85a9a 100755 --- a/charts/tempo-distributed/README.md +++ b/charts/tempo-distributed/README.md @@ -1,6 +1,6 @@ # tempo-distributed -![Version: 1.18.1](https://img.shields.io/badge/Version-1.18.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.0](https://img.shields.io/badge/AppVersion-2.6.0-informational?style=flat-square) +![Version: 1.18.2](https://img.shields.io/badge/Version-1.18.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.0](https://img.shields.io/badge/AppVersion-2.6.0-informational?style=flat-square) Grafana Tempo in MicroService mode From 375179c1b845c1a51d3692bea2a0998b19325073 Mon Sep 17 00:00:00 2001 From: Brent Villanueva Date: Tue, 22 Oct 2024 07:18:26 +0900 Subject: [PATCH 4/5] bump version to 1.20.0 Signed-off-by: Brent Villanueva --- charts/tempo-distributed/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/tempo-distributed/Chart.yaml b/charts/tempo-distributed/Chart.yaml index 9f57b1e752..0fd3101b7c 100644 --- a/charts/tempo-distributed/Chart.yaml +++ b/charts/tempo-distributed/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: tempo-distributed description: Grafana Tempo in MicroService mode type: application -version: 1.19.0 +version: 1.20.0 appVersion: 2.6.0 engine: gotpl home: https://grafana.com/docs/tempo/latest/ From 5fa0e3d61418db20513bdc272f257130a7cfa8f8 Mon Sep 17 00:00:00 2001 From: Brent Villanueva Date: Tue, 22 Oct 2024 07:20:49 +0900 Subject: [PATCH 5/5] readme update Signed-off-by: Brent Villanueva --- charts/tempo-distributed/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/tempo-distributed/README.md b/charts/tempo-distributed/README.md index 684e244049..659b29c864 100755 --- a/charts/tempo-distributed/README.md +++ b/charts/tempo-distributed/README.md @@ -1,6 +1,6 @@ # tempo-distributed -![Version: 1.19.0](https://img.shields.io/badge/Version-1.19.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.0](https://img.shields.io/badge/AppVersion-2.6.0-informational?style=flat-square) +![Version: 1.20.0](https://img.shields.io/badge/Version-1.20.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.0](https://img.shields.io/badge/AppVersion-2.6.0-informational?style=flat-square) Grafana Tempo in MicroService mode