Files
openclaw/extensions/diagnostics-otel
Alex Knight d09469c7a6 fix: show exported tool results in trace viewers (#101371)
* fix: show exported tool results in trace viewers

* fix(diagnostics-otel): emit semconv response key and execute_tool identity so trace viewers show tool results

---------

Co-authored-by: Alex Knight <15041791+amknight@users.noreply.github.com>
2026-07-07 17:14:30 +10: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