mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 07:33:42 -06:00
DataTrails: Fixes heatmap (#80706)
* DataTrails: Heatmap y axis fix * Fix format
This commit is contained in:
parent
c7859c2fa9
commit
c27bee567f
@ -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',
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user