Skip to content

QFw: say which component wrote each log line - #50

Merged
DougSO merged 1 commit into
mainfrom
telemetry-log-source
Oct 10, 2026
Merged

DougSO merged 1 commit into
mainfrom
telemetry-log-source

Conversation

@DougSO

@DougSO DougSO commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

I looked at a trace's eight log lines and could not tell which came from the client. The logs panel shows a line's body and hides its labels, and with openQSE/QFw#136 a job's story has two writers.

Each logs query now ends in a line_format that prefixes the line with its writer, taken from the stream labels: [client] or [qpm fake-iqm-20q]. Applied to the QFw Trace panel, the "Recent warnings and errors" panel on QFw Jobs, and the Tempo datasource's span-to-logs query in Explore. The labels are still in a line's details. One paragraph in telemetry/README.md says so.

Verified live: the provisioned QFw Trace dashboard reloaded with the new query and the panel reads [client] submitted job ..., six [qpm fake-iqm-20q] ... lines, [client] job ... completed after 41.8 ms.

The logs panels show a line's body and hide its labels, and a job's
story has two writers, so the eight lines under a trace gave no hint
which two came from the client. Each query now ends in a line_format
that prefixes the line with its writer, "[client]" or
"[qpm fake-iqm-20q]", on the QFw Trace panel, the warnings panel of
QFw Jobs and the hop from a span to its logs in Explore. The labels
stay in a line's details.

Signed-off-by: Doug Oucharek <dougso@me.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant