mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Prometheus: Don't show undefined for step in collapsed options in query editor when value is "auto" (#50511)
This commit is contained in:
@@ -126,7 +126,7 @@ function getCollapsedInfo(query: PromQuery, formatOption: string, queryType: str
|
|||||||
|
|
||||||
items.push(`Legend: ${getLegendModeLabel(query.legendFormat)}`);
|
items.push(`Legend: ${getLegendModeLabel(query.legendFormat)}`);
|
||||||
items.push(`Format: ${formatOption}`);
|
items.push(`Format: ${formatOption}`);
|
||||||
items.push(`Step ${query.interval}`);
|
items.push(`Step: ${query.interval ?? 'auto'}`);
|
||||||
items.push(`Type: ${queryType}`);
|
items.push(`Type: ${queryType}`);
|
||||||
|
|
||||||
if (query.exemplar) {
|
if (query.exemplar) {
|
||||||
|
|||||||
Reference in New Issue
Block a user