From 783654c76d14f7f66e4336c9156ae89e272ace50 Mon Sep 17 00:00:00 2001 From: mcgin314 Date: Thu, 27 Feb 2025 11:39:35 -0500 Subject: [PATCH] Move to kube-system namespace --- main.tf | 12 ++++++++---- tempo_values.yaml | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/main.tf b/main.tf index b0cb5dd..1df9024 100644 --- a/main.tf +++ b/main.tf @@ -46,12 +46,12 @@ resource "helm_release" "tempo" { timeout = 300 set { - name = "tempo.storage.trace.s3.insecure" - value = "false" + name = "replicas" + value = "3" } set { - name = "tempo.replicas" - value = "2" + name = "tempo.storage.trace.s3.insecure" + value = "false" } set { name = "tempo.repository" @@ -72,6 +72,10 @@ resource "helm_release" "tempo" { name = "tempo.storage.trace.s3.endpoint" value = "s3.${var.region}.amazonaws.com" } + set { + name = "tempo.metricsGenerator.enabled" + value = true + } set { name = "tempo.metricsGenerator.remoteWriteUrl" value = "http://${var.prometheus_svc}.${var.prometheus_namespace}:${var.prometheus_port}/api/v1/write" diff --git a/tempo_values.yaml b/tempo_values.yaml index 8be8c8b..24b0ce7 100644 --- a/tempo_values.yaml +++ b/tempo_values.yaml @@ -1,4 +1,3 @@ ---- tempo: storage: trace: @@ -10,6 +9,7 @@ tempo: value: "9411" metricsGenerator: enabled: true + remoteWriteUrl: http://prometheus-server.prometheus:80/api/v1/write reportingEnabled: false serviceAccount: