OpenInference instrumentation for Groq LLM API calls. This package provides automatic tracing of Groq client interactions (chat completions, embeddings, etc.) for observability and monitoring. Version 0.1.16 supports Python 3.10-3.14. It is part of the OpenInference ecosystem and is used with Phoenix or other OpenInference-compatible collectors.
pip install openinference-instrumentation-groqNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize OpenTelemetry, instrument Groq, then make a chat completion call to see traces.
Use `GroqInstrumentor().instrument(...)` instead of `GroqInstrumentor.instrument(...)`.
Ensure `GroqInstrumentor().instrument()` is called at the top of your application, before any Groq client initialization.
Consider using `from opentelemetry import trace; trace.set_tracer_provider(provider)` before instrumenting without arguments.