Tracing and Monitoring Model APIs

Auto-instrumentation

Graphsignal automatically instruments some client libraries, e.g. OpenAI, so that there is no need for manual tracing integration.

Manual integration

To monitor any model API calls to hosted models, simply wrap the API calls in graphsignal.start_trace() context or @graphsignal.trace_function decorator.

See Quick Start for full setup instructions.