Respan instrumentation plugin for Groq
Project description
Respan Groq Instrumentation
Trace the official Groq Python SDK with Respan.
Installation
pip install respan-ai respan-instrumentation-groq
Usage
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file respan_instrumentation_groq-0.1.0.tar.gz.
File metadata
- Download URL: respan_instrumentation_groq-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.12.12 Darwin/25.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63e4d8b3b83c13cdb52e1f97258958a37057532517c15d5e9049d103f823f016
|
|
| MD5 |
7f4e6a2f1c8613cd98b8f8643281a733
|
|
| BLAKE2b-256 |
ab5e1913a7a270177821c5655467dcd4ad777649fa1248b824a7989b53155c63
|
File details
Details for the file respan_instrumentation_groq-0.1.0-py3-none-any.whl.
File metadata
- Download URL: respan_instrumentation_groq-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.12.12 Darwin/25.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95b28c3005685511bab979cf872acb331b17a9a2059da3bc607e6d7b2dde1db9
|
|
| MD5 |
6e2573ed838d2820654f51126c509a95
|
|
| BLAKE2b-256 |
be89201f86c7dfd750ec1f186153ca4f473a32224135c47af47ff3618773f612
|