Prometheus: Don't show undefined for step in collapsed options in query editor when value is "auto" (#50511) (#50658)
(cherry picked from commit bd04b776b5)
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
This commit is contained in:
co-authored by
Andrej Ocenas
parent
bc2f941004
commit
4d1ee06b1b
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user