edit-icon download-icon

Visualization -- Grafana

Last Updated: Jul 23, 2018

Grafana is the most popular data visualization tool in Internet architecture and application analysis, and is widely used in scenarios such as industrial monitoring, meteorological monitoring, home automation, and process management. After linking TSDB to Grafana, use Grafana’s diverse and intuitive visualization tools to better monitor and analyze data from TSDB.

This section describes how to link TSDB to Grafana.


Apply for an ECS on the same Virtual Private Cloud (VPC) network as the TSDB instance and that:

  • Uses the CentOS 7.3, 64-bit operating system
  • Provides a CPU with over 2 GB memory and at least 10 GB of free disk space.
  • Already has an IP address
  • Has a security group rule in the ECS console to open port 3000.

Software installation and settings

Next, install Grafana in the ECS and start Grafana as follows.

  1. Run the following commands to install Grafana in the ECS:

    1. $ sudo yum install https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-5.0.1-1.x86_64.rpm
  2. Start Grafana:

    1. $ sudo service grafana-server start

Link the TSDB data source to Grafana as follows:

  1. Connect to port 3000 of the ECS, and enter the Grafana logon page. For example, if your ECS has the public network address “”, visit “” in your browser.

  2. On the Grafana logon page, enter the user name “admin” and password “admin”. After logging on, enter the Grafana homepage.

  3. Create a data source in Grafana. Specify the following information (use the default values for other settings):

    • Database type: Select OpenTSDB.

    • HTTP URL: Enter your VPC address. To view this address, log on to the TSDB console, enter Instance Details > Basic Info, and check the VPC Address column.

    • OpenTSDB version: Select ==2.3.

      add data source

After the settings are completed, you can create a dashboard in Grafana and start using it. Review Grafana Help for steps to create a dashboard.

Thank you! We've received your feedback.