Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Metrics Deprecation Warning #98

Open
rafidka opened this issue Jun 27, 2024 · 0 comments
Open

Fix Metrics Deprecation Warning #98

rafidka opened this issue Jun 27, 2024 · 0 comments

Comments

@rafidka
Copy link
Contributor

rafidka commented Jun 27, 2024

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

  • Enable the metrics_use_pattern_match flag.
  • Update our CloudWatch agent to treat the patterns in allow/block-list as regex.
  • Important: Is there any potential customer impact? Probably not, but we need to verify.

Additional Info

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant