Files
50e81ce493 fix(diagnostics-otel): classify model calls as client spans (#104211)
Model-call spans wrap outbound provider inference requests, so classify them as CLIENT independently of the optional GenAI naming convention. Generic tool spans remain unchanged because their shared events can represent local work.

Release note: operators filtering dashboards or alerts on span kind will see model-call spans move from INTERNAL to CLIENT.

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-18 18:21:45 -07:00
..

@openclaw/diagnostics-otel

Official OpenTelemetry diagnostics exporter for OpenClaw.

This plugin exports OpenClaw Gateway traces, metrics, and logs to an OTLP collector for observability stacks such as Grafana, Datadog, Honeycomb, New Relic, Tempo, and compatible collectors. It can also write diagnostic log records as stdout JSONL for container log pipelines.

Install

openclaw plugins install @openclaw/diagnostics-otel

Restart the Gateway after installing or updating the plugin.

Configure

Enable the plugin and set the OTLP endpoint in plugins.entries.diagnostics-otel.config.

The full config surface, metric names, span names, and collector examples live in the docs:

Package

  • Plugin id: diagnostics-otel
  • Package: @openclaw/diagnostics-otel
  • Minimum OpenClaw host: 2026.4.25