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


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

File details

Details for the file opentelemetry_instrumentation_together-0.40.14.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_together-0.40.14.tar.gz
Algorithm Hash digest
SHA256 bdee203caa0e3a4dff5f20e0a7802860ea51d021a714e89de919091226fadb99
MD5 359322bfd8531d5f3e449fda3434bdc5
BLAKE2b-256 c677fee7e20ef2765d63d639220fc0ad01714c46e33a9d2baebd048c2bc47907

See more details on using hashes here.

Provenance

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

Publisher: release.yml on traceloop/openllmetry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_together-0.40.14-py3-none-any.whl
Algorithm Hash digest
SHA256 7e5fe1793ab624fc8c104a46f707beabaaaec92666b0551c0ac80355ba324c17
MD5 b37a35d7cae9fcf3c3054884c6e9869e
BLAKE2b-256 a33ad649e5fdecb48a6a5c4ee6e3e48edbcf442751210f62548e5d79f846c7e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_together-0.40.14-py3-none-any.whl:

Publisher: release.yml on traceloop/openllmetry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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