Skip to main content

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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file opentelemetry_instrumentation_alephalpha-0.43.0.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_alephalpha-0.43.0.tar.gz
Algorithm Hash digest
SHA256 e797b613f4b6b4f3012414a0688ba4f6b7241c49af106af9a82a41f11e67385a
MD5 a583db63ddd0df2b0bda7d078f137607
BLAKE2b-256 c6b882b6b3e19a8e999d2e07ad32e18fc537a1e2555e4db8e814e2c8bcf47c51

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_alephalpha-0.43.0.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_alephalpha-0.43.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_alephalpha-0.43.0-py3-none-any.whl
Algorithm Hash digest
SHA256 407f01769dd0f4e63aea2ae3ed0f69d6c43477fde54cbfeaf76f0e6a2785ee39
MD5 62c80048c8e3e2b4256722b321da4730
BLAKE2b-256 6c2917779405759d129838fa9e840f464d077c7b97f119f17377f83cd4ad0aeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_alephalpha-0.43.0-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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page