You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/11/15 02:52:11 UTC
[airflow] 28/32: Move metrics configuration to new section -
metrics (#12165)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 44b50770f7f449da324e8bbc303a5f95a930be31
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun Nov 15 03:46:54 2020 +0100
Move metrics configuration to new section - metrics (#12165)
* Move metrics configuration to new section
* fixup! Move metrics configuration to new section
* fixup! fixup! Move metrics configuration to new section
* Apply suggestions from code review
Co-authored-by: Xiaodong DENG <xd...@gmail.com>
* fixup! Apply suggestions from code review
Co-authored-by: Xiaodong DENG <xd...@gmail.com>
(cherry-picked from commit 833ba453de9490bce742ebf4b648eec48caf2037)
---
chart/values.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/chart/values.yaml b/chart/values.yaml
index 1e3b81f..0f5b313 100644
--- a/chart/values.yaml
+++ b/chart/values.yaml
@@ -600,6 +600,11 @@ config:
auth_backend: airflow.api.auth.backend.deny_all
logging:
logging_level: DEBUG
+ metrics:
+ statsd_on: '{{ ternary "True" "False" .Values.statsd.enabled }}'
+ statsd_port: 9125
+ statsd_prefix: airflow
+ statsd_host: '{{ printf "%s-statsd" .Release.Name }}'
webserver:
enable_proxy_fix: 'True'
expose_config: 'True'
@@ -610,6 +615,7 @@ config:
scheduler:
scheduler_heartbeat_sec: 5
+ # For Airflow 1.10, backward compatibility
statsd_on: '{{ ternary "True" "False" .Values.statsd.enabled }}'
statsd_port: 9125
statsd_prefix: airflow