diff --git a/public/app/plugins/datasource/prometheus/querybuilder/components/PromQueryBuilderOptions.tsx b/public/app/plugins/datasource/prometheus/querybuilder/components/PromQueryBuilderOptions.tsx index a071fe5230f..f2d8ab27671 100644 --- a/public/app/plugins/datasource/prometheus/querybuilder/components/PromQueryBuilderOptions.tsx +++ b/public/app/plugins/datasource/prometheus/querybuilder/components/PromQueryBuilderOptions.tsx @@ -127,7 +127,7 @@ function getCollapsedInfo(query: PromQuery, formatOption: string, queryType: str items.push(`Legend: ${getLegendModeLabel(query.legendFormat)}`); items.push(`Format: ${formatOption}`); - items.push(`Step ${query.interval}`); + items.push(`Step: ${query.interval ?? 'auto'}`); items.push(`Type: ${queryType}`); if (query.exemplar) {