Skip to main content

aerograph-otel

The bidirectional OpenTelemetry (OTLP) bridge for AeroGraph in Python.

Overview

AeroGraph stores cognitive observability traces using its own canonical append-only models. However, standard observability ecosystems (Jaeger, Datadog) expect W3C OpenTelemetry spans. This Python package seamlessly translates between the two paradigms with zero information loss.

Installation

pip install aerograph-otel

(Requires Python >= 3.10)

Usage: Exporting AeroGraph to OTLP

Convert an AeroGraph TraceEvent natively to an OpenTelemetry OtlpSpan format:

from aerograph_otel import export_events_to_otlp
from aerograph_sdk import FlightRecorder

# 1. You have AeroGraph events
recorder = FlightRecorder(endpoint="http://localhost:4317", actor={"id": "app"})
event = recorder.prompt(text="Hello OTel")

# 2. Export to OTLP JSON Payload
otlp_payload = export_events_to_otlp([event], service_name="my-service")

# 3. You can now POST this JSON dictionary to Jaeger or the OTel Collector via HTTP

Usage: Importing OTLP into AeroGraph

If you receive external OTLP spans (e.g. from an external LangChain instrumentation), you can parse them back into TraceEvent objects.

from aerograph_otel import import_otlp_to_events

trace_events = import_otlp_to_events(
    incoming_otlp_json,
    default_actor_id="otlp-ingest",
    preserve_original_ids=True
)

License

Apache-2.0

Metadata

Release files for aerograph-otel 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aerograph-otel 0.4.0
File Size Uploaded Provenance Actions
aerograph_otel-0.4.0.tar.gz 13.1 kB With provenance Details for aerograph_otel-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aerograph-otel 0.4.0
File Interpreter ABI Platform Actions
aerograph_otel-0.4.0-py3-none-any.whl Python 3 none any Details for aerograph_otel-0.4.0-py3-none-any.whl

Total release size: 32.1 kB

Release files / aerograph_otel-0.4.0.tar.gz

Download URL aerograph_otel-0.4.0.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4b625a515631601e4d0b09d2f87bc00e6cc30490ba4b24256f9897d373a1dd72
BLAKE2b-256 checksum
How to use checksums
9697f8033d7d46b4cec4d8d400c43e3f41d252c382db5fbc0b791a20d9cf3777
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / aerograph_otel-0.4.0-py3-none-any.whl

Download URL aerograph_otel-0.4.0-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79abb949f46ffab27de34927eb398ccaffe746fba4eb2dae39a02f7bb512a392
BLAKE2b-256 checksum
How to use checksums
84b204cf4094f3be5428b34764461629071c4022802c91c76567b99388468490
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for aerograph-otel 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aerograph_otel-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page