mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Trace View: Update the queryType to traceql for checking if same trace when clicking span link (#66645)
* TraceView: update the queryType to traceql for checking if same trace when clicking span link * TraceView: linting * TraceView: remove traceid check completely
This commit is contained in:
parent
6be9264b94
commit
6462c81f81
@ -284,7 +284,7 @@ function useFocusSpanLink(options: {
|
||||
// Check if the link is to a different trace or not.
|
||||
// If it's the same trace, only update panel state with setFocusedSpanId (no navigation).
|
||||
// If it's a different trace, use splitOpenFn to open a new explore panel
|
||||
const sameTrace = query?.queryType === 'traceId' && (query as TempoQuery).query === traceId;
|
||||
const sameTrace = query?.queryType === 'traceql' && (query as TempoQuery).query === traceId;
|
||||
|
||||
return mapInternalLinkToExplore({
|
||||
link,
|
||||
|
Loading…
Reference in New Issue
Block a user