Skip to main content

New Relic Plugin for Apache Airflow

Project description

header

New Relic Airflow Metric Exporter

ci black

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

newrelic-airflow-plugin-0.1.3.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

newrelic_airflow_plugin-0.1.3-py2.py3-none-any.whl (10.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file newrelic-airflow-plugin-0.1.3.tar.gz.

File metadata

  • Download URL: newrelic-airflow-plugin-0.1.3.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.6

File hashes

Hashes for newrelic-airflow-plugin-0.1.3.tar.gz
Algorithm Hash digest
SHA256 06ee6f37efa446f2015c55d735565eeb1ee7d2bce1bfc0aa9d06bd1c4756eff9
MD5 b66ac5c6a8ae0703d00009f65eca8a75
BLAKE2b-256 e0b5f926056c1f353ba4a2a1b3069deebb192271a92a699af6c948c3c40d0226

See more details on using hashes here.

File details

Details for the file newrelic_airflow_plugin-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: newrelic_airflow_plugin-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.6

File hashes

Hashes for newrelic_airflow_plugin-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c2fe2568c1c89a95aefdc500f87eabb79482874d17919382a2477cb8106ae717
MD5 2abb4c22e27a0349d5eef0ee560e3494
BLAKE2b-256 bd6a3f7ff6632ad142486362b7789460cb5ee3fd3c4d995d10ac2bbc57f6e5c1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page