Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
feat: add support for global logging configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
charlie-haley authored Dec 8, 2023
1 parent 060bce5 commit b9b53a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ metadata:
{{- include "benthos.labels" . | nindent 4 }}
data:
benthos.yaml: |
{{- with .Values.logger }}
logger:
{{- toYaml . | nindent 6}}
{{- end }}
{{- with .Values.metrics }}
metrics:
{{- toYaml . | nindent 6}}
Expand Down
7 changes: 6 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,18 @@ serviceMonitor:

# metrics:
# prometheus: {}
#

# tracing:
# openTelemetry:
# http: []
# grpc: []
# tags: {}

# logger:
# level: INFO
# static_fields:
# '@service': benthos

# command -- Command replaces the entrypoint command of the docker
command: []

Expand Down

0 comments on commit b9b53a8

Please sign in to comment.