# OpenTelemetry Groq Instrumentation
<a href="https://pypi.org/project/opentelemetry-instrumentation-groq/">
<img src="https://badge.fury.io/py/opentelemetry-instrumentation-groq.svg">
</a>
This library allows tracing Groq prompts and completions sent with the official [Groq SDK](https://github.com/groq/groq-python).
## Installation
```bash
pip install opentelemetry-instrumentation-groq
```
## Example usage
```python
from opentelemetry.instrumentation.groq import GroqInstrumentor
GroqInstrumentor().instrument()
```
## Privacy
**By default, this instrumentation logs prompts, completions, and embeddings to span attributes**. This gives you a clear visibility into how your LLM application is working, and can make it easy to debug and evaluate the quality of the outputs.
However, you may want to disable this logging for privacy reasons, as they may contain highly sensitive data from your users. You may also simply want to reduce the size of your traces.
To disable logging, set the `TRACELOOP_TRACE_CONTENT` environment variable to `false`.
```bash
TRACELOOP_TRACE_CONTENT=false
```
Raw data
{
"_id": null,
"home_page": null,
"name": "opentelemetry-instrumentation-groq",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Gal Kleinman",
"author_email": "gal@traceloop.com",
"download_url": "https://files.pythonhosted.org/packages/61/b6/9f1bb5465e2c9e8b3a89881d27f06f950fe683dc166a030b7ddb513020ac/opentelemetry_instrumentation_groq-0.44.1.tar.gz",
"platform": null,
"description": "# OpenTelemetry Groq Instrumentation\n\n<a href=\"https://pypi.org/project/opentelemetry-instrumentation-groq/\">\n <img src=\"https://badge.fury.io/py/opentelemetry-instrumentation-groq.svg\">\n</a>\n\nThis library allows tracing Groq prompts and completions sent with the official [Groq SDK](https://github.com/groq/groq-python).\n\n## Installation\n\n```bash\npip install opentelemetry-instrumentation-groq\n```\n\n## Example usage\n\n```python\nfrom opentelemetry.instrumentation.groq import GroqInstrumentor\n\nGroqInstrumentor().instrument()\n```\n\n## Privacy\n\n**By default, this instrumentation logs prompts, completions, and embeddings to span attributes**. This gives you a clear visibility into how your LLM application is working, and can make it easy to debug and evaluate the quality of the outputs.\n\nHowever, you may want to disable this logging for privacy reasons, as they may contain highly sensitive data from your users. You may also simply want to reduce the size of your traces.\n\nTo disable logging, set the `TRACELOOP_TRACE_CONTENT` environment variable to `false`.\n\n```bash\nTRACELOOP_TRACE_CONTENT=false\n```\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "OpenTelemetry Groq instrumentation",
"version": "0.44.1",
"project_urls": {
"Repository": "https://github.com/traceloop/openllmetry/tree/main/packages/opentelemetry-instrumentation-groq"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "bc1425c3f894d5594aa81e847f1a4fa6e74f58842d49a0658834a940ec62899f",
"md5": "c2e2699ec796ac403f71b8cfce698497",
"sha256": "0e5cff8fcacf0f8d1de337d62dc1ec9d772a4cfc02427509d8ffb6f6f85fe7cd"
},
"downloads": -1,
"filename": "opentelemetry_instrumentation_groq-0.44.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c2e2699ec796ac403f71b8cfce698497",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.9",
"size": 10904,
"upload_time": "2025-08-04T08:39:27",
"upload_time_iso_8601": "2025-08-04T08:39:27.191930Z",
"url": "https://files.pythonhosted.org/packages/bc/14/25c3f894d5594aa81e847f1a4fa6e74f58842d49a0658834a940ec62899f/opentelemetry_instrumentation_groq-0.44.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "61b69f1bb5465e2c9e8b3a89881d27f06f950fe683dc166a030b7ddb513020ac",
"md5": "ade1331d2a4041b4ebd10cb90ea80fe9",
"sha256": "82d4e01216d6460ef3d9ee491e90db4e465c21ceacdcf14a4c1eaa8553061d54"
},
"downloads": -1,
"filename": "opentelemetry_instrumentation_groq-0.44.1.tar.gz",
"has_sig": false,
"md5_digest": "ade1331d2a4041b4ebd10cb90ea80fe9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.9",
"size": 8345,
"upload_time": "2025-08-04T08:40:03",
"upload_time_iso_8601": "2025-08-04T08:40:03.152905Z",
"url": "https://files.pythonhosted.org/packages/61/b6/9f1bb5465e2c9e8b3a89881d27f06f950fe683dc166a030b7ddb513020ac/opentelemetry_instrumentation_groq-0.44.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-04 08:40:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "traceloop",
"github_project": "openllmetry",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "opentelemetry-instrumentation-groq"
}