From c30a72a5315d173f4c7a7afe3dd9bb19cf11b4aa Mon Sep 17 00:00:00 2001
From: Tyler Witlin <45468117+coolguy1771@users.noreply.github.com>
Date: Sat, 14 Dec 2024 23:01:24 -0500
Subject: [PATCH] fix(kyak): increase metrics per-user series limit

Signed-off-by: Tyler Witlin <45468117+coolguy1771@users.noreply.github.com>
---
 .../monitoring/grafana-k8s-monitoring/app/helmrelease.yaml    | 2 +-
 kubernetes/kyak/apps/monitoring/mimir/app/helmrelease.yaml    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/kubernetes/kyak/apps/monitoring/grafana-k8s-monitoring/app/helmrelease.yaml b/kubernetes/kyak/apps/monitoring/grafana-k8s-monitoring/app/helmrelease.yaml
index 6dd49ab88a..25bdfb19c9 100644
--- a/kubernetes/kyak/apps/monitoring/grafana-k8s-monitoring/app/helmrelease.yaml
+++ b/kubernetes/kyak/apps/monitoring/grafana-k8s-monitoring/app/helmrelease.yaml
@@ -33,7 +33,7 @@ spec:
       loki:
         host: http://loki-gateway.monitoring.svc
       tempo:
-        host: http://tempo.monitoring.svc:4318
+        host: http://tempo.monitoring.svc:4317
     metrics:
       enabled: true
       alloy:
diff --git a/kubernetes/kyak/apps/monitoring/mimir/app/helmrelease.yaml b/kubernetes/kyak/apps/monitoring/mimir/app/helmrelease.yaml
index 3373973c7b..2371d5ab16 100644
--- a/kubernetes/kyak/apps/monitoring/mimir/app/helmrelease.yaml
+++ b/kubernetes/kyak/apps/monitoring/mimir/app/helmrelease.yaml
@@ -96,7 +96,7 @@ spec:
     runtimeConfig:
       ingester_limits: # limits that each ingester replica enforces
         max_ingestion_rate: 20000
-        max_series: 1500000
+        max_series: 2500000
         max_tenants: 1000
         max_inflight_push_requests: 30000
       distributor_limits: # limits that each distributor replica enforces
@@ -106,7 +106,7 @@ spec:
       overrides:
         tenant-1: # limits for tenant-1 that the whole cluster enforces
           ingestion_tenant_shard_size: 9
-          max_global_series_per_user: 1500000
+          max_global_series_per_user: 2500000
           max_fetched_series_per_query: 100000
 
     alertmanager: