skillfed

newrelic-telemetry-sdk

New Relic Telemetry SDK

newrelic-telemetry-sdk v0.9.0 846.0K downloads/30d#4,917 on PyPI42
Permissive license Apache-2.0 Active released

What it is and what it does

The New Relic Telemetry SDK is a Python library that sends observability data directly to New Relic's ingestion APIs without requiring a full APM agent. It supports four data types: metrics (gauge, count, summary), events (custom business events), logs (application log messages), and spans (distributed traces). You instantiate a client for each data type, construct the appropriate data objects, and call send or send_batch to transmit them to New Relic.

The package depends only on urllib3 for HTTP transport and supports Python 3.9 through 3.14 on both CPython and PyPy. It's useful when you want fine-grained control over what telemetry you collect and send, or when you need to instrument custom code without deploying a full agent. The documentation references New Relic's rate limits for each API, which you should review before high-volume use.

Use it for:

  • Send custom business metrics (e.g., user signups, transaction amounts) to New Relic dashboards
  • Instrument distributed traces across microservices by creating and sending Span objects
  • Log application events and errors directly to New Relic for centralized audit and diagnostics
  • Monitor custom application gauges (e.g., queue depth, cache hit rate) without an agent
  • Build lightweight observability into serverless or containerized workloads where agent overhead is undesirable

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Sends custom metrics, events, logs, and distributed traces to New Relic for monitoring and observability without requiring a full agent installation.

Yes, if you need lightweight custom telemetry ingestion to New Relic and want to avoid agent overhead. The package is actively maintained, has no known vulnerabilities, and a permissive license. Install it when you're building observability into specific code paths rather than instrumenting an entire application.

Install

newrelic-telemetry-sdk on PyPI

pip

pip install newrelic-telemetry-sdk

uv

uv add newrelic-telemetry-sdk

poetry

poetry add newrelic-telemetry-sdk

Installing newrelic-telemetry-sdk

Before you install

Low friction installation with a single lightweight runtime dependency (urllib3). Actively maintained with recent releases; marked as Alpha status but in use across a substantial user base.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.

Quickstart

pip install newrelic-telemetry-sdk

import os
from newrelic_telemetry_sdk import GaugeMetric, MetricClient

metric_client = MetricClient(os.environ["NEW_RELIC_LICENSE_KEY"])
temp = GaugeMetric("temperature", 78.6, {"units": "Fahrenheit"})
response = metric_client.send_batch([temp])
response.raise_for_status()

Requires NEW_RELIC_LICENSE_KEY environment variable set with a valid New Relic account license key.

Verify before relying

  • Whether the package supports async/await patterns for telemetry submission
  • Rate-limit handling behavior and retry strategies beyond the documented API limits
  • Performance characteristics when sending high-volume telemetry batches

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 1 — urllib3
Maintenance actively maintained — 295 days since the last release
Last repo commit
First released
Downloads 845,991/month — #4,917 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: newrelic_telemetry_sdk-0.9.0-py3-none-any.whl

Development Status :: 3 - AlphaProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: System :: Monitoring

Tags

new relic telemetry sdksend metrics to new reliccustom observability pythondistributed tracing sdkapplication monitoring librarytelemetry data ingestionnew relic api client
observabilitynew-relictelemetry

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

newrelic

Instruments Python web applications to collect…

permissive · top 5,000 on PyPI

newrelic-api

A Python client for interacting with New…

permissive · top 15,000 on PyPI

azure-monitor-opentelemetry-exporter

Exports OpenTelemetry traces, metrics, and logs…

permissive · top 1,000 on PyPI

opentelemetry-exporter-gcp-monitoring

Exports OpenTelemetry metrics to Google Cloud…

permissive · top 5,000 on PyPI

opentelemetry-instrumentation-flask

Adds distributed tracing to Flask web…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation-google-genai

Adds OpenTelemetry instrumentation to the…

permissive · top 5,000 on PyPI

azure-monitor-ingestion

Sends custom logs and structured data to Azure…

permissive · top 5,000 on PyPI

uptrace

Uptrace is a thin wrapper over OpenTelemetry…

permissive · top 15,000 on PyPI

opentelemetry-instrumentation-fastapi

Automatically instruments FastAPI applications…

permissive · top 1,000 on PyPI

applicationinsights

Sends telemetry events, metrics, and traces to…

permissive · top 5,000 on PyPI