You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds stdout and both-mode diagnostics OTEL log export, with focused QA Lab smoke coverage and docs/config updates.
Prepared head SHA: efa2ef0
Verification: CI 27808480969 passed for the prepared head.
Reviewed-by: @jesse-merhi
-`otel.logsExporter`: log export sink: `"otlp"` (default), `"stdout"` for one JSON object per stdout line, or `"both"`.
1135
1137
-`otel.sampleRate`: trace sampling rate `0`-`1`.
1136
1138
-`otel.flushIntervalMs`: periodic telemetry flush interval in ms.
1137
1139
-`otel.captureContent`: opt-in raw content capture for OTEL span attributes. Defaults to off. Boolean `true` captures non-system message/tool content; the object form lets you enable `inputMessages`, `outputMessages`, `toolInputs`, `toolOutputs`, `systemPrompt`, and `toolDefinitions` explicitly.
|**Metrics**| Counters and histograms for token usage, cost, run duration, failover, skill usage, message flow, Talk events, queue lanes, session state/recovery, tool execution, oversized payloads, exec, and memory pressure. |
76
78
|**Traces**| Spans for model usage, model calls, harness lifecycle, skill usage, tool execution, exec, webhook/message processing, context assembly, and tool loops. |
77
-
|**Logs**| Structured `logging.file` records exported over OTLP when `diagnostics.otel.logs` is enabled; log bodies are withheld unless content capture is explicitly enabled.|
79
+
|**Logs**| Structured `logging.file` records exported over OTLP or stdout JSONL when `diagnostics.otel.logs` is enabled; log bodies are withheld unless content capture is explicitly enabled. |
78
80
79
81
Toggle `traces`, `metrics`, and `logs` independently. Traces and metrics
80
82
default to on when `diagnostics.otel.enabled` is true. Logs default to off and
81
-
are exported only when `diagnostics.otel.logs` is explicitly `true`.
83
+
are exported only when `diagnostics.otel.logs` is explicitly `true`. Log export
84
+
defaults to OTLP; set `diagnostics.otel.logsExporter` to `stdout` for JSONL on
85
+
stdout, or `both` to send each diagnostic log record to OTLP and stdout.
82
86
83
87
## Configuration reference
84
88
@@ -98,6 +102,7 @@ are exported only when `diagnostics.otel.logs` is explicitly `true`.
Copy file name to clipboardExpand all lines: docs/plugins/plugin-inventory.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -227,7 +227,7 @@ Each entry lists the package, distribution route, and description.
227
227
228
228
-**[deepseek](/plugins/reference/deepseek)** (`@openclaw/deepseek-provider`) - npm; ClawHub: `clawhub:@openclaw/deepseek-provider`. Adds DeepSeek model provider support to OpenClaw.
Copy file name to clipboardExpand all lines: extensions/diagnostics-otel/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Official OpenTelemetry diagnostics exporter for OpenClaw.
4
4
5
-
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.
5
+
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.
0 commit comments