Skip to content

Commit 9c4fbef

Browse files
rafi-ruetcse17RokibulHasan7
authored andcommitted
Fix otel stack api
Signed-off-by: rafi <rafialam@appscode.com>
1 parent e593fbf commit 9c4fbef

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • charts/uik8sappscodecom-featureset-opscenter-observability-editor/ui

charts/uik8sappscodecom-featureset-opscenter-observability-editor/ui/functions.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,9 @@ export const useFunc = (model) => {
246246

247247
const owner = storeGet('/route/params/user')
248248
const cluster = storeGet('/route/params/cluster')
249-
const { data } = await axios.get(`/telemetry/${owner}/${cluster}/values/appscode-otel-stack`)
249+
const { data } = await axios.get(
250+
`/telemetry/${owner}/${monitoringClusterName}/values/appscode-otel-stack?targetClusterName=${cluster}`,
251+
)
250252
return data
251253
}
252254

0 commit comments

Comments
 (0)