DataTrails: Fixes heatmap (#80706)
* DataTrails: Heatmap y axis fix * Fix format
This commit is contained in:
@@ -68,10 +68,11 @@ function baseQuery(groupings: string[] = []) {
|
||||
return `sum by(${sumByList.join(', ')}) (${BASE_QUERY})`;
|
||||
}
|
||||
|
||||
function heatMapQuery(groupings: string[] = []) {
|
||||
function heatMapQuery(groupings: string[] = []): PromQuery {
|
||||
return {
|
||||
refId: 'A',
|
||||
expr: baseQuery(groupings),
|
||||
format: 'heatmap',
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user