PBWebMedia / airflow-prometheus-exporter

Export Airflow metrics (from mysql) in prometheus format
MIT License
29 stars 10 forks source link

PostgreSQL support #2

Closed jpds closed 6 years ago

jpds commented 6 years ago

Added the ability to use PostgreSQL as the DB backend.

marcusklaas commented 6 years ago

Thanks @jpds!

:bowing_man: :+1: :100: :fire:

DemonTPx commented 6 years ago

Nice! Thanks :+1:

DemonTPx commented 6 years ago

Oops, with this PR, it tried using the mysql driver to connect to the postgresql backend and the connection dsn was formatted incorrectly... I've fixed that in the latest version: https://github.com/PBWebMedia/airflow-prometheus-exporter/commit/c2b1f800a0bd9445e11573a082cdcd3f11c775bd