aws / amazon-mwaa-docker-images

Apache License 2.0
27 stars 11 forks source link

Fix Metrics Deprecation Warning #98

Open rafidka opened 4 months ago

rafidka commented 4 months ago

Overview

We are seeing this message repeatedly in our logs:

RemovedInAirflow3Warning: The basic metric validator will be deprecated in the future in favor of pattern-matching. You can try this now by setting config option metrics_use_pattern_match to True.

We need to start setting the mentioned flag to True to avoid this error. This would also require updating our internal CloudWatch Agent (the airflow.go plugin) to treat the allow/block-list as containing regex.

Acceptance Criteria

Additional Info

N/A