Skip to content

Commit 1c786cb

Browse files
authored
fix: tracelevel none by default (#1432)
1 parent d254ee2 commit 1c786cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/containers/Tenant/Query/QuerySettingsDialog/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export const TRACING_LEVEL_SELECT_OPTIONS = [
9999
value: TRACING_LEVELS.off,
100100
content: TRACING_LEVELS_TITLES[TRACING_LEVELS.off],
101101
text: i18n('tracing-level-description.off'),
102+
isDefault: true,
102103
},
103104
{
104105
value: TRACING_LEVELS.toplevel,
@@ -114,7 +115,6 @@ export const TRACING_LEVEL_SELECT_OPTIONS = [
114115
value: TRACING_LEVELS.detailed,
115116
content: TRACING_LEVELS_TITLES[TRACING_LEVELS.detailed],
116117
text: i18n('tracing-level-description.detailed'),
117-
isDefault: true,
118118
},
119119
{
120120
value: TRACING_LEVELS.diagnostic,

src/utils/query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ export const DEFAULT_QUERY_SETTINGS = {
317317
timeout: 60,
318318
limitRows: 10000,
319319
statisticsMode: STATISTICS_MODES.none,
320-
tracingLevel: TRACING_LEVELS.detailed,
320+
tracingLevel: TRACING_LEVELS.off,
321321
};
322322

323323
export const queryModeSchema = z.nativeEnum(QUERY_MODES);

0 commit comments

Comments
 (0)