Skip to main content

OpenTelemetry Together AI instrumentation

Project description

OpenTelemetry Together AI Instrumentation

This library allows tracing calls to any of Together AI's endpoints sent with the official Together AI Library.

Installation

pip install opentelemetry-instrumentation-together

Example usage

from opentelemetry.instrumentation.together import TogetherAiInstrumentor

TogetherAiInstrumentor().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_together-0.33.12.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_together-0.33.12.tar.gz
Algorithm Hash digest
SHA256 4ac8676560e93492bdd0540d67672424e26f1eb9a41a266d5248eb09b00dc4d2
MD5 f7f69311e5f7cbb5ed9b5f7f9bf0dcf0
BLAKE2b-256 7f5f63ee7efc3de97e12eadc927ac4079caef454ee41f8e608bf7a83734024a9

See more details on using hashes here.

Provenance

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

Publisher: release.yml on traceloop/openllmetry

Attestations:

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_together-0.33.12-py3-none-any.whl
Algorithm Hash digest
SHA256 6a1941e3d02b1505bd79a1ef3540d1fe15bf4f61c72cc162445d25d8715386b3
MD5 885d70cd06f6507d4e968757af802634
BLAKE2b-256 e46a56f3a5abea0a3086d24a32398231e0a578c01b7fad174cd69cdd644fb87d

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_together-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