piagent_
← ~/map

$ cat ~/map/pi-otel.md

pi-otel

OpenTelemetry instrumentation for pi — hierarchical GenAI traces, flamegraphs, and OTLP or file exporters.

extensions✓ Sep 8

Facts

repository
github.com/jcpowermac/pi-otel ↗
GitHub Stars
★ 0
Forks
1
license
—
npm / mo
—
last push
Sep 11, 2026

## TL;DR

An OpenTelemetry instrumentation extension for pi: hooks the extension lifecycle events into hierarchical GenAI-conformant traces, with waterfall flamegraphs separating LLM time-to-first-token from tool execution time.

## Key points

## FAQ

Q Does telemetry slow pi down or break the session?

No — instrumentation is wrapped in defensive error boundaries designed so telemetry never crashes or interrupts the coding session.

Q Which backends can receive the traces?

Anything OTLP/HTTP-compatible — Jaeger, Langfuse, Arize Phoenix, SigNoz, OpenLIT, or an OTel Collector — plus a local .pi/traces.jsonl file or the console.

## References

## Related entries

## Guides

Last updated: Sep 8, 2026