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.26.5.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_together-0.26.5.tar.gz
Algorithm Hash digest
SHA256 4ddf5d6d7891ea42a1845a2e6ab72d2860746afbcc1b0390c651ea66f9a3330c
MD5 3e4ec25d8f3f71a78aa7fdf47700af7e
BLAKE2b-256 b6432abc03540fcb85607936eeeb8963eaf5b52ffbbbf1108f3041698aad9300

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_together-0.26.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f25a72b6b0025f7984ae855cd243be19bb1db24e3c0636dd49102432eedb9599
MD5 35d671607fdd050d6ea4ba310eb9201f
BLAKE2b-256 5cafd4135074d86892c35cf22499c26e4d22b872121a0d6f942f65c9ad4b4cf9

See more details on using hashes here.

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