$npx skillfedfor your agent

openinference-instrumentation-portkey

OpenInference Portkey AI Instrumentation

With conditionsPyPI MonitoringReleased Aug 202695.7K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — openinference_instrumentation_portkey-0.1.13-py3-none-any.whl
v0.1.13 · released 2026-08-12 · Python <3.15,>=3.10 · 7 runtime deps: openinference-instrumentation, openinference-semantic-conventions, opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, typing-extensions, wrapt

Yes, if you use Portkey AI and need observability. The package is actively maintained, has no known vulnerabilities, carries a permissive license, and integrates cleanly with OpenTelemetry. Install it when you're ready to add distributed tracing to Portkey calls; it requires Python 3.10+ and the opentelemetry-api stack.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later and Portkey AI 0.1.0 or later to be installed separately.
  • Low install friction with a pure-Python wheel.
  • Active maintenance with a recent release (2 days old) and steady repository activity.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 is permissive; you can use this package freely in commercial and private projects without requiring source disclosure.

last release 2026-08-12 (2 days) · last repo commit 2026-08-14 · 1,147 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 95,715 downloads/mo, #13,253 on PyPI

Verify before relying

pip install openinference-instrumentation-portkey

from opentelemetry import trace
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import SimpleSpanProcessor, ConsoleSpanExporter
from openinference.instrumentation.portkey import PortkeyInstrumentor

trace.set_tracer_provider(TracerProvider())
trace.get_tracer_provider().add_span_processor(
    SimpleSpanProcessor(ConsoleSpanExporter())
)
PortkeyInstrumentor().instrument()
  • Whether Portkey AI 0.1.0+ is actually required or if earlier versions work
  • Performance overhead of instrumentation on high-volume Portkey API calls
  • Compatibility with specific Portkey AI versions beyond the stated 0.1.0+ requirement
Same gist for agents: .md · .json

What it is and what it does

This package adds automatic tracing to Portkey AI library calls by wrapping them with OpenTelemetry instrumentation. It captures request and response data—input messages, output messages, and model information—and exports them as OpenTelemetry spans, enabling you to integrate Portkey calls into distributed tracing systems and observability platforms.

You install it alongside opentelemetry-api and opentelemetry-instrumentation, then call PortkeyInstrumentor().instrument() to activate tracing for all subsequent Portkey AI operations. It's designed for developers building LLM applications who need visibility into API call behavior across distributed systems.

Use it for

  • Monitor Portkey AI API latency and error rates in production using OpenTelemetry exporters (Jaeger, Datadog, etc.)
  • Debug LLM application behavior by inspecting captured input/output messages in trace spans
  • Correlate Portkey AI calls with other service traces in a microservices architecture
  • Audit and log all Portkey AI interactions for compliance or troubleshooting
  • Identify performance bottlenecks in LLM request/response cycles

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use Portkey AI and need observability.

The package is actively maintained, has no known vulnerabilities, carries a permissive license, and integrates cleanly with OpenTelemetry. Install it when you're ready to add distributed tracing to Portkey calls; it requires Python 3.10+ and the opentelemetry-api stack.

Install

openinference-instrumentation-portkey on PyPI

Before you install

Low install friction with a pure-Python wheel. Active maintenance with a recent release (2 days old) and steady repository activity. Supports Python 3.10 through 3.14.

Requires Python 3.10 or later and Portkey AI 0.1.0 or later to be installed separately.

License in practice

Apache-2.0 is permissive; you can use this package freely in commercial and private projects without requiring source disclosure.

Quickstart

pip install openinference-instrumentation-portkey

from opentelemetry import trace
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import SimpleSpanProcessor, ConsoleSpanExporter
from openinference.instrumentation.portkey import PortkeyInstrumentor

trace.set_tracer_provider(TracerProvider())
trace.get_tracer_provider().add_span_processor(
    SimpleSpanProcessor(ConsoleSpanExporter())
)
PortkeyInstrumentor().instrument()

Verify before relying

  • Whether Portkey AI 0.1.0+ is actually required or if earlier versions work
  • Performance overhead of instrumentation on high-volume Portkey API calls
  • Compatibility with specific Portkey AI versions beyond the stated 0.1.0+ requirement

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <3.15,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
openinference-instrumentationopeninference-semantic-conventionsopentelemetry-apiopentelemetry-instrumentationopentelemetry-semantic-conventionstyping-extensionswrapt
MaintenanceActively maintained 2 days since the last release
Last repo commit
First released
Downloads95,715 / month, #13,253 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: openinference_instrumentation_portkey-0.1.13-py3-none-any.whl

Tags

Capabilities
opentelemetry instrumentation portkeyportkey ai tracingllm observability openinferencedistributed tracing ai callsopentelemetry span exportportkey api monitoringai instrumentation framework
Topics
observabilityllm-tracingopentelemetry

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 › “opentelemetry instrumentation portkey”

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

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.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

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.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also openinference-instrumentation-openai · portkey-ai · openinference-instrumentation · literalai · openinference-instrumentation-openai-agents · openinference-instrumentation-google-genai · openinference-instrumentation-google-adk · opentelemetry-instrumentation-openai-v2 · opentelemetry-instrumentation-aiokafka · openinference-instrumentation-agno