observability
Connect your Pydantic Logfire project to let agents query traces, explore metrics, and search structured logs, and to have its alerts reach Polylane the moment they fire. Agents can analyze your OpenTelemetry data to troubleshoot issues and understand application behavior.

Connect

Connect Logfire from the terminal. Pass --help for the flags Logfire accepts.

Terminal
polylane integration connect --type logfire

Disconnect

Disconnecting stops every sync and check and deletes the credentials Polylane held. Everything Polylane set up in Logfire is removed as well; nothing is left behind.

Terminal
polylane integration disconnect <id>

Tools

5

Operations agents can perform in threads.

logfireListServices
List the services that sent spans or logs to Logfire in a time window
logfireSearchSpans
Search Logfire spans and logs by service, name, route, level, exception, or HTTP status
logfireGetTrace
Read one Logfire trace as a parent/child span tree with durations
logfireRouteSummary
Per-route request counts, error rates, and p50/p95 latency from Logfire
logfireQuery
Run a read-only SQL query against a Logfire project's records and metrics tables