xBis7 commented on code in PR #64902:
URL: https://github.com/apache/airflow/pull/64902#discussion_r3181259436
##########
chart/values.schema.json:
##########
@@ -8611,6 +8634,254 @@
}
}
},
+ "otelCollector": {
+ "description": "OpenTelemetry Collector settings.",
+ "type": "object",
+ "x-docsSection": "OpenTelemetry",
+ "additionalProperties": false,
+ "properties": {
+ "tracesEnabled": {
+ "description": "Send Airflow traces to the OTel Collector.
Sets `[traces] otel_on` in the rendered Airflow config and deploys the
collector when either `tracesEnabled` or `metricsEnabled` is true.",
+ "type": "boolean",
+ "default": true
+ },
+ "metricsEnabled": {
+ "description": "Send Airflow metrics to the OTel
Collector. Sets `[metrics] otel_on` in the rendered Airflow config and forces
`[metrics] statsd_on` to False because Airflow can only export metrics to one
backend at a time.",
+ "type": "boolean",
+ "default": false
+ },
+ "metricExportIntervalMs": {
+ "description": "Interval (in milliseconds) at which the
OTel SDK exports metrics to the collector. Sets the
`OTEL_METRIC_EXPORT_INTERVAL` env var on Airflow pods.",
+ "type": "integer",
+ "default": 30000
Review Comment:
Fixed. Also added a `minimum` to all other integer configs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]