Skip to content

Commit

Permalink
Add: specify logger to use
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Lamirault <[email protected]>
  • Loading branch information
nlamirault committed Nov 14, 2022
1 parent 6b1b118 commit 731caca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy/kubernetes/helm/sloth/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ spec:
{{- if .Values.customSloConfig.enabled }}
- --slo-period-windows-path={{ .Values.customSloConfig.path }}
{{- end }}
- --logger={{ .Values.sloth.logger }}
{{- if .Values.sloth.debug.enabled }}
- --debug
{{- end}}
Expand Down
2 changes: 2 additions & 0 deletions deploy/kubernetes/helm/sloth/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ sloth:
optimizedRules: true # Reduce prom load for calculating period window burnrates.
debug:
enabled: false
# Could be: default or json
logger: default

commonPlugins:
enabled: true
Expand Down

0 comments on commit 731caca

Please sign in to comment.