New Relic Plugin for Apache Airflow
Project description
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.
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a634c4fd01cbd7c6b2fb55093037a509541f9e4bd270f3bbc118cb4d511953aa |
|
MD5 | 2dcc62ef840e82ec133bab5cbbb3c6f1 |
|
BLAKE2b-256 | bcdce75ae78a6e8e4ba6a7d35cc8dbbabba1691e190d8964a4e7fdbe0dd696be |
Hashes for newrelic_airflow_plugin-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 785c83377f4000cbdf857566351e2f121be326b565329f7d38817c293f32139a |
|
MD5 | 5582dd59accd662e24ffd150f72e4342 |
|
BLAKE2b-256 | e9dd4cf64bc6654d6f801b0614e5be0ba22d88d42c843e2b869456b77bff1e21 |