【grafana】grafana 报错 Invalid interval string expecting a number followed by one of Mwdhmsy

在这里插入图片描述

1.背景

添加了一个mysql数据源,然后就报错了

Error: Invalid interval string, expecting a number followed by one of "Mwdhmsy"
    at Object.describe_interval (http://localhost:3000/public/build/app.d1f313cb0bbe86ea2d5f.js:1:5801)
    at Object.interval_to_ms (http://localhost:3000/public/build/app.d1f313cb0bbe86ea2d5f.js:1:5923)
    at Object.calculateInterval (http://localhost:3000/public/build/app.d1f313cb0bbe86ea2d5f.js:1:5482)
    at t.calculateInterval (http://localhost:3000/public/build/5.d1f313cb0bbe86ea2d5f.js:10:93475)
    at t.updateTimeRange (http://localhost:3000/public/build/5.d1f313cb0bbe86ea2d5f.js:10:93234)
    at http://localhost:3000/public/build/vendor.d1f313cb0bbe86ea2d5f.js:130:92198
    at http://localhost:3000/public/build/vendor.d1f313cb0bbe86ea2d5f.js:130:92295
    at c.$digest (http://localhost:3000/public/build/vendor.d1f313cb0bbe86ea2d5f.js:130:97589)
    at c.$apply (http://localhost:3000/public/build/vendor.d1f313cb0bbe86ea2d5f.js:130:99592)
    at http://localhost:3000/public/build/vendor.d1f313cb0bbe86ea2d5f.js:130:99737

如下图

在这里插入图片描述

原因是没有添加s
在这里插入图片描述
参考:https://github.com/grafana/grafana/issues/10950

猜你喜欢

转载自blog.csdn.net/qq_21383435/article/details/106166099