Skip to main content

OpenTelemetry LlamaIndex instrumentation

Project description

OpenTelemetry LlamaIndex Instrumentation

This library allows tracing complete LLM applications built with LlamaIndex.

Installation

pip install opentelemetry-instrumentation-llamaindex

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

This version

0.8.0

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_llamaindex-0.8.0.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_llamaindex-0.8.0.tar.gz
Algorithm Hash digest
SHA256 fa91b4e7b495f638dbef6b1db49c70bd7a8a82fa46d2dff0b22d6829d54d5ae0
MD5 34cc92e280c35a9c9c059033390dfb16
BLAKE2b-256 e64953a1ebbfd6b5b88aae9aa1b671d60fe21c2199831c4e2f4f58d642a9bad6

See more details on using hashes here.

File details

Details for the file opentelemetry_instrumentation_llamaindex-0.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_llamaindex-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3aa7927c77aa8a9c04b3f350baf24994da8159ed55d08097d7b883c1b93b7678
MD5 e0f34be9902afba396f98e254f9d4f3f
BLAKE2b-256 e1af2618414533d913553c07a2acaeb8257b9e273bc7cfee839e3983e4cefada

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