mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 04:47:03 -06:00
4af444ab30
Count streamed text/thinking/tool-call deltas incrementally in model diagnostics instead of repeatedly estimating full event payloads. Updates diagnostics docs and OTEL wording for the new response byte baseline.\n\nVerification: node scripts/run-vitest.mjs run src/agents/embedded-agent-runner/run/attempt.model-diagnostic-events.test.ts; GitHub Actions CI run 27064304709; CodeQL run 27064304710; OpenGrep PR Diff run 27064304716.
@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