Auto-Instrumentation [BETA]
Portkey’s auto-instrumentation allows you to instrument tracing and logging for multiple LLM/Agent frameworks and view the logs, traces, and metrics in a single place.
This feature is currently in beta. We’re rolling out support for more frameworks and will also be exposing the otel collector endpoint to view the traces and logs.
Overview
There’s two main components to auto-instrumentation:
- The Portkey SDK, which can be used for tracing along with being used as a unified API gateway.
- The Portkey dashboard, which can be used to view the logs, traces, and metrics.
Portkey SDK
Using portkey for auto-instrumentation is fairly straightforward. A one line addition at the top of your code execution will start sending traces and logs to Portkey.
Portkey Dashboard
The Portkey dashboard can be used to view the logs, traces, and metrics.
Supported Frameworks
We currently support auto-instrumentation for the following frameworks:
To request support for another framework, please reach out to us on Discord here.
Was this page helpful?