New Relic Plugin for Apache Airflow
Project description
New Relic Airflow Metric Exporter
A plugin for Apache Airflow to send metrics to New Relic.
Requirements
Airflow versions >= 1.10 are preferred for ease of use; however, versions >= 1.8 should work.
Using the plugin
To start, the newrelic-airflow-plugin package must be installed. To install via pip:
$ pip install newrelic-airflow-plugin
Configuration
Set the NEW_RELIC_INSERT_KEY environment variable to a valid New Relic insert key
The NEW_RELIC_SERVICE_NAME environment variable can be set to customize the service.name attribute on all generated metrics. The default value is Airflow.
NEW_RELIC_HOST environment variable can be used to set datacenter host. For example, to send metrics to EU data center set this variable to metric-api.eu.newrelic.com By default metrics will be send to US data center.
Airflow Versions >= 1.10
✨ That’s it! ✨
Airflow Versions < 1.10
The newrelic_plugin.py file must be copied into the configured plugins_folder directory. This defaults to {AIRFLOW_HOME}/plugins.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for newrelic-airflow-plugin-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06ee6f37efa446f2015c55d735565eeb1ee7d2bce1bfc0aa9d06bd1c4756eff9 |
|
MD5 | b66ac5c6a8ae0703d00009f65eca8a75 |
|
BLAKE2b-256 | e0b5f926056c1f353ba4a2a1b3069deebb192271a92a699af6c948c3c40d0226 |
Hashes for newrelic_airflow_plugin-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2fe2568c1c89a95aefdc500f87eabb79482874d17919382a2477cb8106ae717 |
|
MD5 | 2abb4c22e27a0349d5eef0ee560e3494 |
|
BLAKE2b-256 | bd6a3f7ff6632ad142486362b7789460cb5ee3fd3c4d995d10ac2bbc57f6e5c1 |