From e21e7fd3ab5a8792032e326c9a9a3244efeb967a Mon Sep 17 00:00:00 2001 From: Fabian Oraze Date: Wed, 5 Jun 2024 14:03:13 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=EF=B8=8F=20build(docker):=20Add=20?= =?UTF-8?q?OTEL=5FLOGS=5FEXPORTER=20environmental=20variable=20to=20profil?= =?UTF-8?q?e-service?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chart/templates/profile-service.yaml | 2 ++ chart/values.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/chart/templates/profile-service.yaml b/chart/templates/profile-service.yaml index 896e3a1c..20029eb2 100644 --- a/chart/templates/profile-service.yaml +++ b/chart/templates/profile-service.yaml @@ -67,6 +67,8 @@ spec: value: {{ quote .Values.profileService.deployment.container.env.SPRING_DATASOURCE_USERNAME }} - name: SPRING_DATASOURCE_PASSWORD value: {{ quote .Values.profileService.deployment.container.env.SPRING_DATASOURCE_PASSWORD }} + - name: OTEL_LOGS_EXPORTER + value: {{ quote .Values.profileService.deployment.container.env.OTEL_LOGS_EXPORTER}} - name: OTEL_METRICS_EXPORTER value: {{ quote .Values.profileService.deployment.container.env.OTEL_METRICS_EXPORTER }} - name: OTEL_RESOURCE_ATTRIBUTES diff --git a/chart/values.yaml b/chart/values.yaml index a2ce89e0..3a1bf9ca 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -80,6 +80,7 @@ profileService: ports: containerPort: 8080 env: + OTEL_LOGS_EXPORTER: none OTEL_METRICS_EXPORTER: none OTEL_RESOURCE_ATTRIBUTES: service.name=unguard-profile-service OTEL_TRACES_EXPORTER: none