diff --git a/chart/templates/configmap-env.yaml b/chart/templates/configmap-env.yaml index 00e60f315778c9c9fe7dcba3b0c8df83b0c3eadb..82a6a31e4acf79a4787e18b6ec40c509d2386608 100644 --- a/chart/templates/configmap-env.yaml +++ b/chart/templates/configmap-env.yaml @@ -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 }} diff --git a/chart/values.yaml b/chart/values.yaml index 5cee86e0ec611a2a2bda32899fdbfecf7825f7c7..af1c7cbfc7650758c4aafa12526d0a07f7c9ebe4 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -101,6 +101,11 @@ mastodon: web: port: 3000 + metrics: + statsd: + # Enable statsd publishing via STATSD_ADDR environment variable + address: "" + ingress: enabled: true annotations: