Closed henrysun007 closed 3 months ago
Addup:
I deployed the kuscia monitor according to https://www.secretflow.org.cn/en/docs/kuscia/v0.10.0b0/deployment/kuscia_monitor. The promethus can be successfully explore
d but grafana is empty.
Have the data sources in your Grafana template file been replaced
The prometheus
type is
"datasource": {
"type": "prometheus",
"uid": "PAF26937B51086004"
}
The datasource
type is
"datasource": {
"type": "datasource",
"uid": "grafana"
}
Is it right?
The original file is machine_center-1721645255119.json.
Enter curl -s http://admin:admin@localhost:3000/api/datasources , check what is returned
[{"id":1,"uid":"PAF26937B51086004","orgId":1,"name":"Kuscia-monitor","type":"prometheus","typeName":"Prometheus","typeLogoUrl":"/public/app/plugins/datasource/prometheus/img/prometheus_logo.svg","access":"proxy","url":"http://localhost:9090","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"cacheLevel":"High","disableRecordingRules":false,"httpMethod":"POST","incrementalQueryOverlapWindow":"10m","manageAlerts":true,"prometheusType":"Prometheus","prometheusVersion":"2.45.2"},"readOnly":true},{"id":2,"uid":"fd1664ab-33a4-423b-afcc-76addc85de80","orgId":1,"name":"prometheus","type":"prometheus","typeName":"Prometheus","typeLogoUrl":"/public/app/plugins/datasource/prometheus/img/prometheus_logo.svg","access":"proxy","url":"http://localhost:9090","user":"","database":"","basicAuth":false,"isDefault":false,"jsonData":{"httpMethod":"POST"},"readOnly":false}]
We would like to reproduce it, please provide your Grafana version
好的, 目前正在复现
参考官网的步骤,没有复现出来。 看日志是你的uid有问题,再检查下你的环境和版本
能把你的容器镜像发我吗?
好的,registry.cn-hangzhou.aliyuncs.com/wushijie/kuscia-monitor
dashboard界面中的instance
我手动输入后,可以正常显示数据了,谢谢
Issue Type
Running
Search for existing issues similar to yours
Yes
OS Platform and Distribution
ubuntu 22.04
Kuscia Version
0.10.0
Deployment
k8s
deployment Version
1.28
App Running type
others
App Running version
NA
Configuration file used to run kuscia.
What happend and What you expected to happen.
Kuscia log output.