Metadata-Version: 2.4
Name: respan-instrumentation-groq
Version: 0.1.0
Summary: Respan instrumentation plugin for Groq
License: Apache 2.0
Author: Respan
Author-email: team@respan.ai
Requires-Python: >=3.11,<3.14
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: groq (>=0.9.0)
Requires-Dist: openinference-instrumentation-groq (>=0.1.0)
Requires-Dist: respan-instrumentation-openinference (>=1.2.2)
Requires-Dist: respan-tracing (>=2.17.0,<3.0.0)
Description-Content-Type: text/markdown

# Respan Groq Instrumentation

Trace the official Groq Python SDK with Respan.

## Installation

```bash
pip install respan-ai respan-instrumentation-groq
```

## Usage

```python
from groq import Groq
from respan import Respan
from respan_instrumentation_groq import GroqInstrumentor

respan = Respan(instrumentations=[GroqInstrumentor()])
client = Groq()

response = client.chat.completions.create(
    model="llama-3.1-8b-instant",
    messages=[{"role": "user", "content": "Say hello in one short sentence."}],
)
print(response.choices[0].message.content)

respan.flush()
respan.shutdown()
```

The package delegates SDK patching to `openinference-instrumentation-groq`
and uses Respan's OpenInference translator to normalize emitted spans into
the Respan tracing pipeline.

