我最近在Mac上使用brew安装了Grafana。
DELC02WM1V8HTD7:~ adikshit$ brew install grafana
Updating Homebrew...
==> Downloading https://homebrew.bintray.com/bottles/grafana-6.4.4.mojave.bottle.tar.gz
Already downloaded: /Users/adikshit/Library/Caches/Homebrew/downloads/b61af258c022b6019ee9db4899dde51dbd2f80cd52d89454d82c669fb96495ac--grafana-6.4.4.mojave.bottle.tar.gz
==> Pouring grafana-6.4.4.mojave.bottle.tar.gz
Warning: grafana dependency icu4c was built with a different C++ standard
library (libc++ from clang). This may cause problems at runtime.
==> Caveats
To have launchd start grafana now and restart at login:
brew services start grafana
Or, if you don't want/need a background service you can just run:
grafana-server --config=/usr/local/etc/grafana/grafana.ini --homepath /usr/local/share/grafana --packaging=brew cfg:default.paths.logs=/usr/local/var/log/grafana cfg:default.paths.data=/usr/local/var/lib/grafana cfg:default.paths.plugins=/usr/local/var/lib/grafana/plugins
==> Summary
? /usr/local/Cellar/grafana/6.4.4: 3,869 files, 176.6MB
DELC02WM1V8HTD7:~ adikshit$
每当我尝试创建新的仪表板时,请发布安装;我在网络日志中看到了这一点。
Uncaught (in promise) TypeError: Cannot read property 'length' of undefined
at n (language_utils.ts:8)
at t.n.processHistogramMetrics (language_provider.ts:111)
at t.<anonymous> (language_provider.ts:101)
at tslib.es6.js:97
at Object.next (tslib.es6.js:78)
at a (tslib.es6.js:68)
系统信息
Mac OSX Mojave版本10.14.6(18G1012) 我已经提到了这篇文章Grafana : Network Error: undefined(undefined)
但似乎无法解决问题,看上去也很老。