From 9be40535d43785e3e6a335e948ae6c9a44049983 Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont (@ardumont)" <ardumont@softwareheritage.org>
Date: Wed, 10 May 2023 15:35:59 +0200
Subject: [PATCH] Activate opentelemetry collector

Refs. swh/infra/sysadm-environment#4524
---
 .../values/archive-staging-rke2.yaml           | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/cluster-configuration/values/archive-staging-rke2.yaml b/cluster-configuration/values/archive-staging-rke2.yaml
index 52078c27f..c0a860a8d 100644
--- a/cluster-configuration/values/archive-staging-rke2.yaml
+++ b/cluster-configuration/values/archive-staging-rke2.yaml
@@ -19,3 +19,21 @@ certManager:
   enabled: true
   webhookGandiEnabled: true
   useGandiDNS: true
+
+otlpCollector:
+  enabled: true
+  debug: false
+  indexes:
+    swh: staging-logs
+    system: staging-system-logs
+  resources:
+    cpu: 256m
+    memory: 2Gi
+    batch: 10
+    timeout: 10s
+  endpoints:
+    - http://esnode1.internal.softwareheritage.org:9200
+    - http://esnode2.internal.softwareheritage.org:9200
+    - http://esnode3.internal.softwareheritage.org:9200
+    - http://esnode7.internal.softwareheritage.org:9200
+
-- 
GitLab