Files
openclaw/extensions/diagnostics-otel
Vincent Koc 938841cff3 fix(agents): count stream deltas incrementally
Count model stream diagnostic response bytes from snapshotless stream chunks, excluding accumulated partial snapshots on delta events. This avoids repeatedly serializing answer-so-far snapshots during streamed model calls and updates OTEL/docs wording for the new metric baseline.

Refs #86599.

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-05-31 18:13:58 +01: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.

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