Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用Grafana API自动创建datasource, 无法保存用户名密码, 同时可以显示URL,但实际点击测试502,需要重新手动输入URL #256

Open
loliuy opened this issue Feb 26, 2024 · 0 comments

Comments

@loliuy
Copy link

loliuy commented Feb 26, 2024

测试使用api构建一个自动化流程的时候,mysql等数据源可以做到自动连接,但是tdengine必须要手动输入用户名密码。同时可以显示URL,但实际点击测试error502,需要重新手动输入URL
post /api/datasources
{

"name": "tdengine-datasource",
"type": "tdengine-datasource",
"url": "http://tdengine-openiiot-shimu.openiiot-shimu.svc.cluster.local:6041",
"access": "proxy",
"basicAuth": true,
"basicAuthUser": "root",
"isDefault": true,
"secureJsonData": {
    "basicAuthPassword": "taosdata"
         }       

}

@loliuy loliuy changed the title 使用Grafana API自动创建datasource, 无法保存用户名密码 使用Grafana API自动创建datasource, 无法保存用户名密码, 同时可以显示URL,但实际点击测试502,需要重新手动输入URL Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant