{"id":37073196,"url":"https://github.com/newrelic/newrelic-airflow-plugin","last_synced_at":"2026-01-14T08:35:31.082Z","repository":{"id":49482769,"uuid":"220074770","full_name":"newrelic/newrelic-airflow-plugin","owner":"newrelic","description":"Send airflow metrics to New Relic!","archived":false,"fork":false,"pushed_at":"2024-08-26T23:35:00.000Z","size":45,"stargazers_count":25,"open_issues_count":18,"forks_count":19,"subscribers_count":23,"default_branch":"main","last_synced_at":"2025-09-24T23:44:26.297Z","etag":null,"topics":["airflow-plugin","monitoring","newrelic","python","telemetry"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/newrelic.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-11-06T19:34:02.000Z","updated_at":"2025-09-10T10:45:12.000Z","dependencies_parsed_at":"2023-11-16T02:00:22.102Z","dependency_job_id":null,"html_url":"https://github.com/newrelic/newrelic-airflow-plugin","commit_stats":{"total_commits":37,"total_committers":8,"mean_commits":4.625,"dds":0.6486486486486487,"last_synced_commit":"f9f73c6bf5ac2a6469324501090bb20638aeefb2"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/newrelic/newrelic-airflow-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelic%2Fnewrelic-airflow-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelic%2Fnewrelic-airflow-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelic%2Fnewrelic-airflow-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelic%2Fnewrelic-airflow-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newrelic","download_url":"https://codeload.github.com/newrelic/newrelic-airflow-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newrelic%2Fnewrelic-airflow-plugin/sbom","scorecard":{"id":681941,"data":{"date":"2025-08-11","repo":{"name":"github.com/newrelic/newrelic-airflow-plugin","commit":"8ad74d49ce05dbcf6a5da99db46ce4d64dddc670"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":7,"reason":"Found 9/12 approved changesets -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":5,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'","Info: 'stale review dismissal' is required to merge on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Info: codeowner review is required on branch 'main'","Warn: 'last push approval' is disabled on branch 'main'","Info: status check found to merge onto on branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/newrelic/.github/SECURITY.md:1","Info: Found linked content: github.com/newrelic/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/newrelic/.github/SECURITY.md:1","Info: Found text in security policy: github.com/newrelic/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T23:28:29.651Z","repository_id":49482769,"created_at":"2025-08-21T23:28:29.651Z","updated_at":"2025-08-21T23:28:29.651Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:31:27.429Z","status":"ssl_error","status_checked_at":"2026-01-14T08:31:19.098Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airflow-plugin","monitoring","newrelic","python","telemetry"],"created_at":"2026-01-14T08:35:30.074Z","updated_at":"2026-01-14T08:35:31.074Z","avatar_url":"https://github.com/newrelic.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"|header|\n\n.. |header| image:: https://github.com/newrelic/opensource-website/raw/master/src/images/categories/Community_Plus.png\n    :target: https://opensource.newrelic.com/oss-category/#community-plus\n\nNew Relic Airflow Metric Exporter\n=================================\n\n|ci| |black|\n\n.. |ci| image:: https://img.shields.io/azure-devops/build/NRAzurePipelines/Python/19.svg\n    :target: https://dev.azure.com/NRAzurePipelines/Python/_build/latest?definitionId=19\u0026branchName=master\n\n.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n\nA plugin for `Apache Airflow \u003chttps://airflow.apache.org/\u003e`_ to send\n`metrics \u003chttps://airflow.apache.org/metrics.html\u003e`_ to\n`New Relic \u003chttps://docs.newrelic.com\u003e`_.\n\nRequirements\n------------\n\nAirflow versions \u003e= 1.10 are preferred for ease of use; however, versions \u003e= 1.8 should work.\n\nUsing the plugin\n----------------\n\nTo start, the ``newrelic-airflow-plugin`` package must be installed. To install\nvia pip:\n\n.. code-block:: bash\n\n    $ pip install newrelic-airflow-plugin\n\n\nConfiguration\n+++++++++++++\n\nSet the ``NEW_RELIC_INSERT_KEY`` environment variable to a valid\n`New Relic insert key \u003chttps://docs.newrelic.com/docs/apis/get-started/intro-apis/types-new-relic-api-keys#event-insert-key\u003e`_\n\nThe ``NEW_RELIC_SERVICE_NAME`` environment variable can be set to customize the\n``service.name`` attribute on all generated metrics. The default value is\n``Airflow``.\n\n``NEW_RELIC_HOST`` environment variable can be used to set datacenter host.\nFor example, to send metrics to EU data center set this variable to ``metric-api.eu.newrelic.com``\nBy default metrics will be send to US data center.\n\n\nAirflow Versions \u003e= 2.0\n++++++++++++++++++++++++\n\nDisable Airflow's lazy plugin loading. This is required for the plugin to properly patch Airflow's Stats engine.\n\nThis can be done via environment variable:\n\n``AIRFLOW__CORE__LAZY_LOAD_PLUGINS=False``\n\nOr can be set in your config file (``airflow.cfg``):\n\n.. code-block::\n\n    [core]\n    lazy_load_plugins = False\n\n\nAirflow Versions \u003e= 1.10,\u003c2.0\n++++++++++++++++++++++++++++++\n\n✨ That's it! ✨\n\nAirflow Versions \u003c 1.10\n+++++++++++++++++++++++\n\nThe `newrelic_plugin.py \u003csrc/newrelic_airflow_plugin/newrelic_plugin.py\u003e`_\nfile must be copied into the configured ``plugins_folder`` directory. This\ndefaults to ``{AIRFLOW_HOME}/plugins``.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewrelic%2Fnewrelic-airflow-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewrelic%2Fnewrelic-airflow-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewrelic%2Fnewrelic-airflow-plugin/lists"}