-
Notifications
You must be signed in to change notification settings - Fork 75
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
Unsafe code: label «run_id» of «airflow_dag_run_duration» has unlimited cardinality #59
Comments
@victorkashirin This is a good observation. Do you have a solution in mind? Use case for this metric was to monitor and alert on stuck dagruns. Maybe we do not need Thoughts? |
Stuck dag run will require investigation anyway, and you can retrieve information about currently running dagruns and their duration in seconds via Ad Hoc Query(/admin/queryview/) with something like this (for Postgres):
Here |
I agree, we will change exported metrics not to include |
The label and metric naming guide states the following about labels:
Given that typical
run_id
includes the date of run, it should generate new time series for each individual dag run, which might eventually blow up Prometheus.The text was updated successfully, but these errors were encountered: