修改主机图板 update dashboard set data = replace(data,'$host','$ip') update dashboard set data = replace(dat
update dashboard set data = replace(data,'$host','$ip')
update dashboard set data = replace(data,'instance','ip')
update dashboard set data = replace(data,'instance="$host"','ip="$ip",port="$port"') where slug like 'mysql%' and plugin_id='pmm-app';
replace函数
: Http://www.mysqltutorial.org/mysql-string-replace-function.aspx
--结束END--
本文标题: 【监控】Grafana面板修改记录
本文链接: https://lsjlt.com/news/40247.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0