数据库

Grafana-物联网领域数据可视化工具

2022-12-03  本文已影响0人  黄军雷
家庭能耗图

希望自己的系统中有这样的效果吗?
Grafana是个不错的选择。

什么是Grafana

Grafana允许查询、可视化、报警和理解数据,无论它们存储在何处。但最迷人的一点是,Grafana主要的特点是面向时序数据设计的,这点就非常适合做物联网的朋友。

Grafana内置支持的数据源

安装体验

Install with Homebrew

Use Homebrew to install the most recent released version of Grafana using Homebrew package.

  1. On the Homebrew homepage, search for Grafana. The last stable and released version is listed.

  2. Open a terminal and enter:

    brew update
    brew install grafana
    
    

    The brew page downloads and untars the files into:

    • /usr/local/Cellar/grafana/[version] (Homebrew v2)
    • /opt/homebrew/Cellar/grafana/[version] (Homebrew v3)
  3. Start Grafana using the command:

    brew services start grafana
    

Install standalone macOS binaries

To install a nightly build, or to install the latest version of Grafana without Homebrew, go to the Grafana download page.

  1. Select the Grafana version you want to install. By default, the most recent released version is selected.

    Note: The downloads page lists only finished releases. If you want to install a beta version, click [Nightly ] Nightly Builds and then select a version.

  2. Select an Edition.

    • Open Source - Functionally identical to the enterprise version, but you will need to download the enterprise version if you want enterprise features.
    • Enterprise - Recommended download. Functionally identical to the open source version, but includes features you can unlock with a license if you so choose.
  3. Click Mac.

  4. Open a terminal and download the binary using the cURL command. The following example shows Grafana 7.1.5 version:

    curl -O https://dl.grafana.com/oss/release/grafana-7.1.5.darwin-amd64.tar.gz
    
  5. Untar the gz file and copy the files to the location of your preference.

  6. To start Grafana service, go to the directory and run the command:

    ./bin/grafana-server web
    
huangjunlei@192 grafana-9.3.1 % ./bin/grafana-server web
INFO [12-04|01:47:52] Starting Grafana                         logger=settings version=9.3.1 commit=89b365f8b1 branch=HEAD compiled=2022-12-01T20:45:45+08:00
运行效果 运行效果

源码地址

https://github.com/grafana/

上一篇下一篇

猜你喜欢

热点阅读