elastic-apm
The official Python module for Elastic APM
Decision gist · record as of 2026-08-14
Yes. Elastic APM is actively maintained, has low install friction, carries no known vulnerabilities, and is the official agent for a widely-used monitoring platform. Install it if you run applications on Elastic APM Server or plan to adopt centralized performance monitoring; skip it if you have no APM infrastructure or use a different monitoring vendor.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Elastic APM Server to send data to; without it, the agent will not report metrics or traces.
- Low install friction with a pure-Python wheel and four lightweight runtime dependencies.
- Actively maintained with recent release activity.
License · maintenance · safety
BSD (permissive) — BSD license is permissive; you can use, modify, and distribute this package freely in commercial and private projects.
last release 2026-06-22 (53 days) · last repo commit 2026-08-14 · 430 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,753,102 downloads/mo, #3,590 on PyPI
Alternatives
Verify before relying
pip install elastic-apm
import elasticapm
client = elasticapm.Client({'SERVICE_NAME': 'my-app'})
# Automatically instruments supported frameworks; manual capture available via client methods- Exact scope of framework auto-instrumentation support beyond Django and Flask.
- Whether WSGI custom integration requires code changes or configuration only.
- Performance overhead and memory footprint in production deployments.
- Specific APM Server version compatibility requirements.
What it is and what it does
Elastic APM is the official Python agent for Elastic's Application Performance Monitoring platform. It automatically instruments web frameworks like Django and Flask to capture request metrics, errors, and distributed traces, sending them to a central Elastic APM Server for visualization and analysis. The agent works out-of-the-box with popular frameworks and can be adapted to any WSGI-compatible application through custom integrations.
The package is designed for developers and system administrators who need visibility into application performance and error rates. It depends on urllib3, certifi, wrapt, and ecs_logging to handle HTTP communication, certificate validation, function wrapping for instrumentation, and structured logging. The agent supports Python 3.6 through 3.13 and both CPython and PyPy implementations.
Use it for
- Monitor request latency and throughput in Django or Flask applications to identify performance bottlenecks.
- Capture and centralize error traces across distributed microservices for root-cause analysis.
- Track database query performance and external API call latencies within your application.
- Instrument custom Python applications or WSGI servers to send performance data to Elastic Stack.
- Correlate application metrics with infrastructure monitoring in a unified Elastic dashboard.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Elastic APM is actively maintained, has low install friction, carries no known vulnerabilities, and is the official agent for a widely-used monitoring platform. Install it if you run applications on Elastic APM Server or plan to adopt centralized performance monitoring; skip it if you have no APM infrastructure or use a different monitoring vendor.
Install
elastic-apm on PyPI
Before you install
Low install friction with a pure-Python wheel and four lightweight runtime dependencies. Actively maintained with recent release activity.
Requires a running Elastic APM Server to send data to; without it, the agent will not report metrics or traces.
License in practice
BSD license is permissive; you can use, modify, and distribute this package freely in commercial and private projects.
Quickstart
pip install elastic-apm
import elasticapm
client = elasticapm.Client({'SERVICE_NAME': 'my-app'})
# Automatically instruments supported frameworks; manual capture available via client methods
Verify before relying
- Exact scope of framework auto-instrumentation support beyond Django and Flask.
- Whether WSGI custom integration requires code changes or configuration only.
- Performance overhead and memory footprint in production deployments.
- Specific APM Server version compatibility requirements.
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release <4,>=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesurllib3certifiwraptecs_logging |
| Maintenance | Actively maintained 53 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,753,102 / month, #3,590 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development |
Evidence: elastic_apm-6.26.2-py2.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 › “elastic apm instrumentation”
- elastic-apmElastic APM is the official Python agent for Elastic Application…
- ecs-loggingFormats Python logs as Elastic Common Schema (ECS) JSON, enabling…
- elastic-opentelemetryElastic's customized distribution of OpenTelemetry Python that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also scout-apm · newrelic · elastic-opentelemetry · opentelemetry-instrumentation-flask · opentelemetry-instrumentation-wsgi · elastic-agent-client · apm-cli · ecs-logging · newrelic-api · appdynamics