Skip to main content

Aevum — OpenTelemetry bridge complication. Routes sigchain events to OTel GenAI spans.

Project description

aevum-otel

OpenTelemetry bridge complication for Aevum. Routes sigchain events to OTel GenAI spans.

Install

pip install aevum-otel
# With OTLP HTTP exporter:
pip install "aevum-otel[otlp-http]"
# With OTLP gRPC exporter:
pip install "aevum-otel[otlp]"

Usage

from aevum.core import Engine
from aevum.otel import AevumOTelBridge

bridge = AevumOTelBridge(service_name="my-service")
engine = Engine()
engine.install_complication(bridge, auto_approve=True)

# All engine calls (ingest, query, etc.) now emit OTel GenAI spans.

Privacy defaults

By default only audit_id is emitted as gen_ai.content.reference. No prompt or response content is included.

To opt in to richer attributes:

export OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true

GenAI semantic conventions

For the latest experimental GenAI semconv:

export OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimental

See OTel GenAI semconv documentation for details.

Tested exporters

  • Console exporter (always available via opentelemetry-sdk)
  • Grafana Tempo (document setup if environment permits — otherwise note as untested)
  • Langfuse (document setup if environment permits — otherwise note as untested)

License

Apache-2.0

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

aevum_otel-0.7.2.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

aevum_otel-0.7.2-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file aevum_otel-0.7.2.tar.gz.

File metadata

  • Download URL: aevum_otel-0.7.2.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for aevum_otel-0.7.2.tar.gz
Algorithm Hash digest
SHA256 e8e855f70815d2ea6602448d215d15be4f3d8ccd558975ff4493eb4ccd9e84c0
MD5 ee6eca266d4c09fdde7e4921e031b930
BLAKE2b-256 a4f3ac0b8fbdc3ffd8b94ca099bc4fdd66a0a42c63a0ecdea7b56368d3b5f4f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for aevum_otel-0.7.2.tar.gz:

Publisher: release.yml on aevum-labs/aevum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aevum_otel-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: aevum_otel-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for aevum_otel-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 74735b61a6eba939cfa4ccd2ef6d8be2731d4f60982fe20b6963c710a46efa6d
MD5 95c246cc4bbe2629a1be5b8c16c097c8
BLAKE2b-256 eb2c3d24265f3f0c5a3803996c3f59e966ef37c803c75ae91dd7f18959833f0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for aevum_otel-0.7.2-py3-none-any.whl:

Publisher: release.yml on aevum-labs/aevum

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