Catalog PyPI
PACKAGE EXPLORERView in registry

aerograph-otel

PyPI

OpenTelemetry bridge for AeroGraph — export and import OTLP traces.

aerographagentaiobservabilityopentelemetryotlptrace
Versions collected1
Direct dependencies3From release 0.3.1
Last observed20 Oct, 20:47 UTC

README

Version 0.3.1 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.3.123 Jul 20263

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
sgcpu/aerograph

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:47 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:5d434c5bca2c5c3b6b9585288ea137889c22b1ff4c7e4d53f2054617710143d1