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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aevum_otel-0.7.1.tar.gz.
File metadata
- Download URL: aevum_otel-0.7.1.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4d590b615941641dc2c3524ab508a9c08beed61999618b63d17cc846f9ed05f
|
|
| MD5 |
5d8223f361963f84bff299640681ec1a
|
|
| BLAKE2b-256 |
13f968fa2e6a26216ddb2df0f63c80945c9cd714a511b6e2693af8ec2392b09d
|
Provenance
The following attestation bundles were made for aevum_otel-0.7.1.tar.gz:
Publisher:
release.yml on aevum-labs/aevum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aevum_otel-0.7.1.tar.gz -
Subject digest:
c4d590b615941641dc2c3524ab508a9c08beed61999618b63d17cc846f9ed05f - Sigstore transparency entry: 1635036984
- Sigstore integration time:
-
Permalink:
aevum-labs/aevum@676933edd9b71380913dc81bceff05636b5cdd7e -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/aevum-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@676933edd9b71380913dc81bceff05636b5cdd7e -
Trigger Event:
push
-
Statement type:
File details
Details for the file aevum_otel-0.7.1-py3-none-any.whl.
File metadata
- Download URL: aevum_otel-0.7.1-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
430d038e88d6422cb4ef1183e291fa5294347f3f51bfb578a4e574979a672a27
|
|
| MD5 |
5964e0f9fd19638586733e2ae994cfbd
|
|
| BLAKE2b-256 |
bd9a91219b16a096bb1bfa121c7eb44a889838c602113d36429bd44187a4aa35
|
Provenance
The following attestation bundles were made for aevum_otel-0.7.1-py3-none-any.whl:
Publisher:
release.yml on aevum-labs/aevum
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aevum_otel-0.7.1-py3-none-any.whl -
Subject digest:
430d038e88d6422cb4ef1183e291fa5294347f3f51bfb578a4e574979a672a27 - Sigstore transparency entry: 1635037692
- Sigstore integration time:
-
Permalink:
aevum-labs/aevum@676933edd9b71380913dc81bceff05636b5cdd7e -
Branch / Tag:
refs/tags/v0.7.1 - Owner: https://github.com/aevum-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@676933edd9b71380913dc81bceff05636b5cdd7e -
Trigger Event:
push
-
Statement type: