We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b45398b commit 3449a74Copy full SHA for 3449a74
1 file changed
src/shared/hooks/useGetChartData.ts
@@ -83,6 +83,8 @@ export const useGetChartData = async ({
83
break;
84
}
85
86
+ const labels = filterBy && filterValue ? [`${filterBy}:${filterValue}`] : ['*'];
87
+
88
return await Post({
89
path: `/v3/spaces/${spaceId}/rooms/${roomId}/data`,
90
baseUrl,
@@ -99,7 +101,7 @@ export const useGetChartData = async ({
99
101
nodes: ['*'],
100
102
instances: ['*'],
103
dimensions: ['*'],
- labels: ['*'],
104
+ labels,
105
},
106
aggregations: {
107
metrics,
0 commit comments