Tempo: Update default editor to TraceQL tab (#74153)

Update default editor to TraceQL tab
This commit is contained in:
Joey 2023-09-04 15:53:03 +01:00 committed by GitHub
parent 04c44f0a11
commit 7f2841aeca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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<Props, State> {
constructor(props: Props) {