Example of how to address InfluxDB® with Grafana®

Sign in to Grafana®

  1. Open a web browser either Google Chrome or Mozilla Firefox.
  2. Enter the URL http://127.0.0.1:3000 (by default Grafana® listens to port 3000).
  3. You will be redirected to the login page.
  4. Use the default login credentials.
  5. Enter the username = admin and password = admin.
    Figure 1. Grafana® Login Page
  6. After successful registration the website will look as follows:
    Figure 2. Grafana® Page

Add a data source

Before you can import or create your first dashboard, you must add InfluxDB® as a data source.

  1. To access the data source settings, hover over the configuration icon (gear) and click Data Source. The Data Sources page opens and shows a list of the previously configured data sources for the Grafana® instance.
    Note:
    If you use encryption, see chapter Encrypted Communication between Backend and InfluxDB®.
  2. Click Add Data Source to see a list of all supported data sources.
    Figure 3. List of supported Data sources
  3. Select InfluxDB® as the data source by clicking it.
  4. The data source configuration page is opened. Enter the required data.
    Note:
    For security reasons we always recommend to use another user in Grafana® instead of the "etm" user.
    Figure 4. Enter data
  5. After entering all parameters, the page will be displayed as follows:
  6. Click Save and test your settings.
    Note:
    InfluxDB® must run, otherwise errors will occur.

Create a dashboard

  1. In the side menu, click Dashboards > New Dashboard.
    Figure 5. Dashboard
  2. Edit the dashboard.
  3. View your dashboard:
    Figure 6. View dashboard
    For more information on dashboards, see the Grafana® dashboard documentation https://grafana.com/docs/grafana/latest/getting-started/build-first-dashboard/.