Open
Description
What happened:
When using the automatic query builder for Query Type: "Traces", the built query does not contain the status.
Here's an example trace output to the console that shows it containing the status.
{
resource: {
attributes: {
'service.name': 'example',
'telemetry.sdk.language': 'nodejs',
'telemetry.sdk.name': '@effect/opentelemetry',
'telemetry.sdk.version': '1.28.0'
}
},
instrumentationScope: { name: 'example', version: undefined, schemaUrl: undefined },
traceId: '0495ad42b79877af1d42375c269f3718',
parentId: undefined,
traceState: undefined,
name: 'run/program',
id: 'c115be1764ebdce1',
kind: 0,
timestamp: 1733283145158697.5,
duration: 534187.292,
attributes: {
'code.stacktrace': 'at <anonymous> (/Users/brian/superwall/effect-otel-testing/src/run.ts:24:16)'
},
status: { code: 2, message: 'Crash!' },
events: [
{
name: 'exception',
attributes: {
'exception.type': 'Error',
'exception.message': 'Crash!',
'exception.stacktrace': 'Error: Crash!'
},
time: [ 1733283145, 692884875 ],
droppedAttributesCount: 0
}
],
links: []
}
What you expected to happen:
I would have expected the query to contain status as that is needed for the UI to show the status with the red X.
How to reproduce it (as minimally and precisely as possible):
Run a traces query with a trace with an error status when using the default settings
Screenshots
Anything else we need to know?:
Environment:
- Grafana version: 11.3.0
- Plugin version: 4.5.1
- OS Grafana is installed on: MacOS
- User OS & Browser: MacOS, Chrome
- Others:
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Incoming