Extra metrics are being sent to DataDog when using Allow list with pattern matching enabled #39400
Open
2 tasks done
Labels
affected_version:main_branch
Issues Reported for main branch
area:core
area:metrics
kind:bug
This is a clearly a bug
Apache Airflow version
main (development)
If "Other Airflow 2 version" selected, which one?
No response
What happened?
with
AIRFLOW__METRICS__METRICS_USE_PATTERN_MATCH
set totrue
andAIRFLOW__METRICS__METRICS_ALLOW_LIST
set to.*get_astronauts.*
, I notice several other metrics being sent to datadog that don't match the pattern:What you think should happen instead?
Following metrics shouldn't be showing up on datadog when the allow list is
.*get_astronauts.*
:airflow.dag.task.duration.*
airflow.ti.*
datadog.*
(Not sure if we have any control to block these)How to reproduce
env variables:
.*print_astronaut_craft.*
Once you update your datadog key here, you will start seeing metrics in datadog-->metrics-->summary . use the tag
testNo:C2
to filterOperating System
Debian GNU/Linux 11 (bullseye)
Versions of Apache Airflow Providers
No response
Deployment
Astronomer
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: