Skip to content

Commit

Permalink
🏗️ build(docker): Add OTEL_LOGS_EXPORTER environmental variable to pr…
Browse files Browse the repository at this point in the history
…ofile-service
  • Loading branch information
orazefabian committed Jun 5, 2024
1 parent d5519b5 commit 09b85bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chart/templates/profile-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09b85bb

Please sign in to comment.