--- id: opentelemetry-instrumentation-pymemcache version: "0.65b0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # opentelemetry-instrumentation-pymemcache — OpenTelemetry pymemcache instrumentation License: permissive · Maintenance: active · Downloads: 3.3M/mo ## What it is and what it does This package integrates pymemcache with OpenTelemetry's tracing framework, automatically wrapping memcache client operations to emit observability data. When installed and initialized, it captures each cache operation (get, set, delete, etc.) as a span, allowing you to see memcache activity within your distributed tracing pipeline alongside other instrumented services. It depends on the core OpenTelemetry API and instrumentation framework, plus semantic conventions for consistent span naming. The package is actively maintained and supports Python 3.10 through 3.14, though it remains in Beta status. It's designed for teams already using OpenTelemetry who need visibility into their memcache layer. Use it for: - Trace memcache operations in a distributed system to identify cache hit/miss patterns and latency. - Debug slow requests by correlating application traces with underlying memcache calls. - Monitor cache performance metrics alongside application and database tracing in a unified observability platform. - Validate cache behavior during integration testing by inspecting emitted spans. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Adds OpenTelemetry tracing instrumentation to pymemcache client calls, automatically capturing memcache operations as spans for observability. Yes, if you are already using OpenTelemetry and need memcache observability. The low install friction, active maintenance, and permissive license make it a straightforward addition to an observability stack. The Beta status is not a blocker for production use in most cases, but verify compatibility with your specific pymemcache and OpenTelemetry versions first. ## Install pip install opentelemetry-instrumentation-pymemcache uv add opentelemetry-instrumentation-pymemcache poetry add opentelemetry-instrumentation-pymemcache ## Installing opentelemetry-instrumentation-pymemcache Before you install: Low install friction with four straightforward runtime dependencies. Actively maintained as of 2026-08-14 with recent release activity. License in practice: Apache-2.0 permissive license allows commercial and private use with minimal restrictions. Quickstart: pip install opentelemetry-instrumentation-pymemcache from opentelemetry.instrumentation.pymemcache import PyMemcacheInstrumentor PyMemcacheInstrumentor().instrument() Requires Python 3.10 or later; package is in Beta status (0.65b0). Verify before relying: - Whether this instrumentation works with all pymemcache versions or has specific compatibility constraints. - Performance overhead of instrumentation on typical memcache workloads. - Whether automatic instrumentation covers all pymemcache client methods or only a subset. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 3.3M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags opentelemetry pymemcache instrumentation, memcache tracing, pymemcache observability, distributed tracing memcache, opentelemetry instrumentation, cache operation tracing, observability, distributed-tracing, instrumentation [View on SkillFed](https://skillfed.io/packages/opentelemetry-instrumentation-pymemcache) · [View on PyPI](https://pypi.org/project/opentelemetry-instrumentation-pymemcache/)