Portkey (tracing)
Portkey (tracing)
The Portkey Python SDK routes requests through Portkey Gateway. respan-instrumentation-portkey activates the Portkey OpenInference wrapper and normalizes emitted spans to the Respan tracing pipeline.
Set up Respan
- Sign up - Create an account at platform.respan.ai
- Create an API key - Generate one on the API keys page
Use Respan Gateway
See Portkey gateway setup to replace Portkey Gateway routing with the Respan gateway.
Example projects
Setup
Configuration
Attributes
Attach customer identifiers, thread IDs, workflow names, and metadata to Portkey calls with propagate_attributes.