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を接続します。Logfireが受け付けるフラグは--helpで確認できます。

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