@latitude-data/pi-telemetry
Pi coding agent extension that streams sessions to Latitude as OTLP traces
Package details
Install @latitude-data/pi-telemetry from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@latitude-data/pi-telemetry- Package
@latitude-data/pi-telemetry- Version
0.0.2- Published
- May 21, 2026
- Downloads
- not available
- Author
- cesr
- License
- MIT
- Types
- extension
- Size
- 138.5 KB
- Dependencies
- 2 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./dist/extension.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
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 install
Non-interactive:
npx -y @latitude-data/pi-telemetry install \
--api-key=lat_xxx \
--project=your-project-slug \
--yes
The 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 pi
Uninstall
npx -y @latitude-data/pi-telemetry uninstall