Skip to content

Commit

Permalink
app-serving: update grafana URL
Browse files Browse the repository at this point in the history
  • Loading branch information
robertchoi80 committed Sep 1, 2023
1 parent 597f0f1 commit cb3f732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/usecase/app-serve-app.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func (u *AppServeAppUsecase) GetAppServeAppById(appId string) (*domain.AppServeA
return asa, err
}
if len(applications) > 0 {
asa.GrafanaUrl = applications[0].Endpoint + "/d/tks_container_dashboard/tks-kubernetes-view-container?refresh=30s&var-cluster=" + asa.TargetClusterId + "&var-kubernetes_namespace_name=" + asa.Namespace + "&var-kubernetes_pod_name=All&var-kubernetes_container_name=main&var-TopK=10"
asa.GrafanaUrl = applications[0].Endpoint + "/d/tks_appserving_dashboard/tks-appserving-dashboard?refresh=30s&var-cluster=" + asa.TargetClusterId + "&var-kubernetes_namespace_name=" + asa.Namespace + "&var-kubernetes_pod_name=All&var-kubernetes_container_name=main&var-TopK=10"
}
}
}
Expand Down

0 comments on commit cb3f732

Please sign in to comment.