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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_alephalpha-0.39.1.tar.gz
Algorithm Hash digest
SHA256 7cab767512582c350e2164b83cb162bae0423d259c5c3900305e68cc034a5fe7
MD5 4e83f683272da78c113f2c70af12c242
BLAKE2b-256 4f626bb88aab18f4b8d37f2d7c2da89b1ad51b81efa9558f39fe61a6f8c59718

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_alephalpha-0.39.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f786ba9dbb83d47cfbc54d0df6688b6f10f5615b978aa89fdf587b213861f603
MD5 37baca6e40980fb2def754227205169c
BLAKE2b-256 bcea82168843388f8d1df0ced4c66f2b30a51cd4af0ed81429fdec7dcdef1dca

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_alephalpha-0.39.1-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