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
SELECT
TraceId AS traceID,
SpanId AS spanID,
SpanName AS operationName,
ParentSpanId AS parentSpanID,
ServiceName AS serviceName,
Duration / 1000000 AS duration,
Timestamp AS startTime,
arrayMap(key -> map('key', key, 'value', SpanAttributes[key]), mapKeys(SpanAttributes)) AS tags,
arrayMap(key -> map('key', key, 'value', ResourceAttributes[key]), mapKeys(ResourceAttributes)) AS serviceTags
FROM otel_traces
WHERE ( Timestamp >= $__fromTime AND Timestamp <= $__toTime )
AND ( Duration > 0 )
ORDER BY startTime ASC
Clicking on the traceID link opens a trace panel, but errors: error querying the database: code: 60, message: Table MY_DB_NAME.MY_DB_NAME does not exist
Note:
Datasource's Traces configuration is configured with
Default trace database: MY_DB_NAME
Default trace table: otel_traces
use otel is enabled
What you expected to happen:
I would expect this to correctly load the trace panel
How to reproduce it (as minimally and precisely as possible):
Please see above
Screenshots
Anything else we need to know?:
Environment:
Grafana version: v11.0.0 (83b9528bce)
Plugin version: v4.1.0
OS Grafana is installed on: linux/docker
User OS & Browser:
Others:
The text was updated successfully, but these errors were encountered:
What happened:
Explore > Editor Type: SQL Editor > Query Type: table
Query:
( reference: https://grafana.com/grafana/plugins/grafana-clickhouse-datasource/ "Visualizing traces with the Traces Panel" )
Clicking on the traceID link opens a trace panel, but errors:
error querying the database: code: 60, message: Table MY_DB_NAME.MY_DB_NAME does not exist
Note:
Datasource's Traces configuration is configured with
Default trace database: MY_DB_NAME
Default trace table: otel_traces
use otel is enabled
What you expected to happen:
I would expect this to correctly load the trace panel
How to reproduce it (as minimally and precisely as possible):
Please see above
Screenshots
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: