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


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_alephalpha-0.33.12.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_alephalpha-0.33.12.tar.gz
Algorithm Hash digest
SHA256 b474ac634cd1e12b30c8863a925320a01043af8c0f46fd58288e587073d6ddec
MD5 cfbd356d7c0fc7dc76b38cfbda0f8905
BLAKE2b-256 473215048d7773f6018abcd5b85f5c346b44fad8322031f6b4ea5a6c5ada304a

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_alephalpha-0.33.12.tar.gz:

Publisher: release.yml on traceloop/openllmetry

Attestations:

File details

Details for the file opentelemetry_instrumentation_alephalpha-0.33.12-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_instrumentation_alephalpha-0.33.12-py3-none-any.whl
Algorithm Hash digest
SHA256 b3c7e3dd99121f5c52d7c7a3a82dd2d7a9ba7360f63ac6fcbdca187f58756e16
MD5 e6a3a3f10dffc0cec238f80dfa863abb
BLAKE2b-256 d377e483e2fa14fddc87324b242d59992cfbd2d590563352aa044d11e1d200ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for opentelemetry_instrumentation_alephalpha-0.33.12-py3-none-any.whl:

Publisher: release.yml on traceloop/openllmetry

Attestations:

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