@latitude-data/pi-telemetry
v0.0.2
Published
Pi coding agent extension that streams sessions to Latitude as OTLP traces
Readme
Latitude pi telemetry
Pi coding agent extension that streams prompts, model turns, tool calls, and tool results to Latitude as OTLP traces.
Install
npx -y @latitude-data/pi-telemetry installNon-interactive:
npx -y @latitude-data/pi-telemetry install \
--api-key=lat_xxx \
--project=your-project-slug \
--yesThe installer writes:
~/.pi/agent/settings.jsonwith the pi package entrynpm:@latitude-data/pi-telemetry@<version>~/.pi/agent/latitude-telemetry.jsonwith Latitude configuration
Restart pi after installation so it can install and load the package.
Privacy
By default this captures full prompts, assistant responses, tool inputs, and tool outputs. Install with --no-content to keep structure, timing, token usage, model names, and tool names while scrubbing content fields.
Disable
LATITUDE_PI_TELEMETRY_ENABLED=0 piUninstall
npx -y @latitude-data/pi-telemetry uninstall