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.

连接

从终端连接Logfire。传入--help查看Logfire接受的标志。

Terminal
polylane integration connect --type logfire

断开连接

断开连接会停止所有同步和检查,并删除Polylane持有的凭据。 Polylane在Logfire中设置的一切也会被移除;不会留下任何东西。

Terminal
polylane integration disconnect <id>

工具

5

智能体可以在线程中执行的操作。

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