Comments (2)
A workaround here:
sum(increase(airflow_task_status{status="failed"}[10m])) without (pod,instance) > 0 or max without(pod, instance) (airflow_task_status{status="failed"} != 0 unless airflow_task_status{status="failed"} offset 10m)
reference: prometheus/prometheus#1673
from airflow-exporter.
A caveat with the workaround is that the exporter provides a total count of past failures, so when you first start the exporter (or if there's a sufficiently long interruption in metrics), when the exporter comes up everything that failed in the past will show new failures. So, zero initialization would be superior.
from airflow-exporter.
Related Issues (20)
- How can I export metrics to prometheus or grafana? HOT 2
- Integration with MWAA AWS?
- Sqlalchemy error with Airflow 2.0.1 HOT 5
- PyPI source package HOT 2
- airflow v2.1.3 webserver failing to start after installing latest airflow-exporter HOT 2
- airflow exporter is failing on /admin/metrics page HOT 4
- Bug with state is null in dag_run table
- Custom labels not working after upgrade to Airflow 2.3.1 HOT 1
- PostgreSQL CPU consumption HOT 1
- Custom labels not working in Airflow 2.3.3
- [question] What would be the right Servicemonitor configuration for Kubernetes?
- Add a label to indicate if DAG is paused or not
- Plugin broken with Airflow 1.10.14 HOT 10
- Not getting metrics after pip install in container HOT 6
- Tests for recent Airflow versions: 1.10.12+
- Not compatible with 2.0.0 HOT 7
- Plugin loaded multiple times in webserver HOT 2
- [question] - airflow-exporter vs. StatsD HOT 3
- DAG not found in serialized_dag table HOT 11
- Exporter fails with MySQL: get_dag_duration_info HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airflow-exporter.