Skip to content

Commit

Permalink
Helm: support statsd publishing (mastodon#20455)
Browse files Browse the repository at this point in the history
* Allow statsd publishing from Helm

* Apply suggestions from code review

Co-authored-by: Erik Sundell <[email protected]>

Co-authored-by: Erik Sundell <[email protected]>
  • Loading branch information
deepy and consideRatio authored Nov 13, 2022
1 parent e62b514 commit 82c6633
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/templates/configmap-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,3 +310,6 @@ data:
LDAP_UID_CONVERSION_REPLACE: {{ .Values.externalAuth.ldap.uid_conversion.replace }}
{{- end }}
{{- end }}
{{- with .Values.mastodon.metrics.statsd.address }}
STATSD_ADDR: {{ . }}
{{- end }}
5 changes: 5 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ mastodon:
web:
port: 3000

metrics:
statsd:
# Enable statsd publishing via STATSD_ADDR environment variable
address: ""

ingress:
enabled: true
annotations:
Expand Down

0 comments on commit 82c6633

Please sign in to comment.