newrelic-telemetry-sdk
New Relic Telemetry SDK
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires NEW_RELIC_LICENSE_KEY environment variable set with a valid New Relic account license key.
- 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 · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
last release 2025-10-23 (295 days) · last repo commit 2026-08-01 · 42 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 845,991 downloads/mo, #4,917 on PyPI
Alternatives
Verify before relying
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()- 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
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 on it.
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
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.
Requires NEW_RELIC_LICENSE_KEY environment variable set with a valid New Relic account license key.
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()
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 packageurllib3 |
| 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 |
| Classifiers | 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 |
Evidence: newrelic_telemetry_sdk-0.9.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “new relic telemetry sdk”
- newrelic-telemetry-sdkSends custom metrics, events, logs, and distributed traces to New…
- newrelic-apiA Python client for interacting with New Relic's API v2, providing a…
- opentelemetry-instrumentation-google-genaiAdds OpenTelemetry instrumentation to the Google GenAI SDK,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also newrelic · newrelic-api · azure-monitor-opentelemetry-exporter · opentelemetry-exporter-gcp-monitoring · opentelemetry-instrumentation-flask · opentelemetry-instrumentation-google-genai · azure-monitor-ingestion · uptrace · opentelemetry-instrumentation-fastapi · applicationinsights