OpenTelemetry Aleph Alpha instrumentation
Project description
OpenTelemetry Aleph Alpha Instrumentation
This library allows tracing calls to any of Aleph Alpha's endpoints sent with the official Aleph Alpha Client.
Installation
pip install opentelemetry-instrumentation-alephalpha
Example usage
from opentelemetry.instrumentation.alephalpha import AlephAlphaInstrumentor
AlephAlphaInstrumentor().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
Hashes for opentelemetry_instrumentation_alephalpha-0.26.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dcf0abee9a23d5b72b1d77897f664ccaef7b497db7f6f34386bd783be032bcb |
|
MD5 | 98ce88b53badd65b09dff313404fa0d0 |
|
BLAKE2b-256 | d0bc740ef38f35ba1d15f2a16f15461fe673195666c3d0a99ad4442fb0fa9887 |
Hashes for opentelemetry_instrumentation_alephalpha-0.26.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 592e5e74ae4881ecce751b6af023a1f9677a09e69458efeff0900aab53def733 |
|
MD5 | 8d43473a8db63b9807bcb9e820fe70e5 |
|
BLAKE2b-256 | b58ffb6c2308dcb0a4e50a1ba314e3e12e5122f239c51050742f7b33206b6715 |