openclaw-logfire

Pydantic Logfire observability — OTEL GenAI traces, tool call spans, token metrics, distributed tracing

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "openclaw-logfire" with this command: npx skills add namabile/openclaw-logfire

OpenClaw Logfire Plugin

Pydantic Logfire observability plugin for OpenClaw. Traces the full agent lifecycle with OTEL GenAI semantic conventions — tool calls, token usage, errors, and optional distributed tracing across services.

Install

openclaw plugins install @ultrathink-solutions/openclaw-logfire

Set your Logfire write token:

export LOGFIRE_TOKEN="your-token"

Add to openclaw.json:

{
  "plugins": {
    "entries": {
      "openclaw-logfire": {
        "enabled": true,
        "config": {}
      }
    }
  }
}

Restart OpenClaw. Traces appear in your Logfire dashboard.

What It Traces

Every agent invocation produces a span tree:

invoke_agent chief-of-staff          (root span)
  |-- execute_tool Read              (file read)
  |-- execute_tool exec              (shell command)
  |-- execute_tool Write             (file write)

Spans follow OTEL GenAI semantic conventions: gen_ai.agent.name, gen_ai.tool.name, gen_ai.usage.input_tokens, gen_ai.usage.output_tokens, etc.

Metrics

  • gen_ai.client.token.usage — token count histogram (input/output)
  • gen_ai.client.operation.duration — agent invocation latency

Key Configuration

SettingDefaultDescription
environmentdevelopmentDeployment environment label
serviceNameopenclaw-agentOTEL service name
providerNameGenAI provider (e.g. anthropic)
captureToolInputtrueRecord tool arguments
redactSecretstrueStrip API keys and JWTs
distributedTracing.enabledfalseW3C traceparent propagation

Security & Privacy

  • Secret redaction (on by default): Strips API keys, platform tokens, JWTs, and credentials from recorded tool arguments before export
  • Tool output is not captured by default (captureToolOutput: false)
  • Message content is not captured by default (captureMessageContent: false)
  • Data destination: Traces are exported via OTLP HTTP to Pydantic Logfire (US or EU region). No other external endpoints are contacted.
  • No local persistence: All data is streamed to Logfire; nothing is written to disk

External Endpoints

URLData Sent
https://logfire-api.pydantic.dev (US)OTLP traces + metrics
https://logfire-api-eu.pydantic.dev (EU)OTLP traces + metrics

By using this plugin, trace and metric data is sent to Pydantic Logfire. Only install if you trust this destination.

Links

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Agent Observability Stack: Distributed Tracing, Metrics, and Alerting for Multi-Agent Systems

Agent Observability Stack: Distributed Tracing, Metrics, and Alerting for Multi-Agent Systems. Build a complete observability stack for agent commerce: OpenT...

Registry SourceRecently Updated
2270Profile unavailable
General

Anyway Traces

Adds observability and tracing to AI/LLM applications using the Anyway SDK for monitoring calls to providers like OpenAI and Anthropic.

Registry SourceRecently Updated
2250Profile unavailable
Automation

Observability

Provides a complete AI agent observability solution with structured logs, metrics, distributed tracing, alert management, and a real-time monitoring dashboard.

Registry SourceRecently Updated
1540Profile unavailable
Security

Darkhunt Observability

Monitor OpenClaw agent runs with real-time traces showing decisions, tool usage, performance, costs, and user attribution for full observability.

Registry SourceRecently Updated
3760Profile unavailable