Comments (7)
Should be fixed in v1.5.1
from airflow-exporter.
Interesting.
Can you help me with creation of test case that fails?
from airflow-exporter.
This was out of the box Airflow 2.0.1 with MySQL DB and example dags provided. What would help for a test case?
from airflow-exporter.
Ok, digging through the code, I can see that it is probably falling through to default
in line 139 in the durations
dict to possibly get this exception on a value - epoch
expression.
I'm using the mysql+mysqlconnector
driver for the connection - I'm not sure with that driver what Session.bind.driver
returns.
from airflow-exporter.
Yup, I think that's the problem:
>>> db.session.bind
Engine(mysql+mysqlconnector://root:***@127.0.0.1:3307/airflow?charset=utf8)
>>> db.session.bind.driver
'mysqlconnector'
from airflow-exporter.
Adding mysqlconnector
to the dict with the same value as mysqldb
has fixed the issue for me.
from airflow-exporter.
@dmeibusch I see, we have pending PR that fixes this issue: #94
For some reason I was sure, that it is already merged. Will do
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
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.