Skip to main content

OpenTelemetry Groq instrumentation

Project description

OpenTelemetry Groq Instrumentation

This library allows tracing Groq prompts and completions sent with the official Groq SDK.

Installation

pip install opentelemetry-instrumentation-groq

Example usage

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.

TRACELOOP_TRACE_CONTENT=false

Project details


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

File details

Details for the file opentelemetry_instrumentation_groq-0.33.12.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_groq-0.33.12.tar.gz
Algorithm Hash digest
SHA256 1460901e66c87b47198d639fb22ec25552281cdf7cafe13ae9605447661d6871
MD5 b8b6b5d95902a9ffef6d312cdc997cfb
BLAKE2b-256 fa3971c87d595a312e2cfef83b006070e5d56c73895c59b596336a20aa43e79c

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_groq-0.33.12.tar.gz:

Publisher: release.yml on traceloop/openllmetry

Attestations:

File details

Details for the file opentelemetry_instrumentation_groq-0.33.12-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_groq-0.33.12-py3-none-any.whl
Algorithm Hash digest
SHA256 4d239c73d689c046ab2c90a25b78d6c7406cef1e26f04633bc148464b66cc74c
MD5 2f6202eedf1430c2b9b46c6f5e7c03c5
BLAKE2b-256 f724631269741eabb0b028a313f15063871b28e700ba27feece154a3dd71f62d

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_groq-0.33.12-py3-none-any.whl:

Publisher: release.yml on traceloop/openllmetry

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page