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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_alephalpha-0.39.2.tar.gz
Algorithm Hash digest
SHA256 85bc6a7c402dc393bf47612311e7f021d2b025ef678db9a055ebf5f123e7aaae
MD5 6708c950b77745f36a0a09497b38f227
BLAKE2b-256 d5d1e4bdc3cc81f15b856682eeb3af9dc27bcb2925dc388a63e4a5d19ef99538

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for opentelemetry_instrumentation_alephalpha-0.39.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f86f6e80d125426bd34c2396b64b2320434d430db2749319a280d3f3ad3a9e6
MD5 19120cca6d4f78e1c4dfbe2e86b4bfee
BLAKE2b-256 8ab81c1f892831344042d08741c61d46317fc4b0099e1a5fb73d2b2eeb3d353c

See more details on using hashes here.

Provenance

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