diff --git a/public/app/plugins/datasource/tempo/QueryField.tsx b/public/app/plugins/datasource/tempo/QueryField.tsx index c8f7a73454b..60ce8bc2a27 100644 --- a/public/app/plugins/datasource/tempo/QueryField.tsx +++ b/public/app/plugins/datasource/tempo/QueryField.tsx @@ -31,7 +31,9 @@ interface State { uploadModalOpen: boolean; } -const DEFAULT_QUERY_TYPE: TempoQueryType = 'traceqlSearch'; +// This needs to default to traceql for data sources like Splunk, where clicking on a +// data link should open the traceql tab and run a search based on the configured query. +const DEFAULT_QUERY_TYPE: TempoQueryType = 'traceql'; class TempoQueryFieldComponent extends React.PureComponent { constructor(props: Props) {