Traces: span "View Logs" fails with "No field named namespace"
Author: prabhatsharmaCreated Sep 30, 2026Updated Sep 30, 2026
LabelsUI☢️ Bug
Summary
In trace details, clicking View Logs on a span fails with the error No field named namespace instead of opening the correlated logs.
Steps to reproduce
- Traces → open any trace from an OpenTelemetry demo trace stream (k8s resource attributes present on spans).
- Select a span and click View Logs in the span sidebar.
Expected
The Logs page opens, filtered to the span's trace_id (and correlated resource fields), in a log stream that carries trace_id.
Actual
The log query fails with No field named namespace. The log stream has no namespace field (its k8s field is k8s_namespace_name), so the generated filter references a field that doesn't exist.
Workaround that works: search the trace ID in Logs manually, or use a log record's Traces tab for the reverse direction.
Notes
- Observed on v1.0.0-rc1 Enterprise (build 2026-09-28), with
enable_cross_linking=falseand org-level trace_id/span_id field settings configured. - Likely area: the correlation-filter builder in
web/src/plugins/traces/TraceDetailsSidebar.vue(~L1995–2160), which maps span/resource attribute keys (including keys starting withnamespace) to log-stream field names. A key that fails to map appears to be passed through verbatim asnamespace. - Found while recording the product-tour screencast (Chapter 8, Correlating the signals).
Source: openobserve/openobserve