Skip to main content

Timbr and Grafana

This guide will walk you through the process of configuring and deploying Timbr semantic layer together with Grafana monitoring stack. By combining these two technologies, you can unlock valuable insights and make data-driven decisions with ease. In the following sections, we will cover the prerequisites, installation steps, and best practices to ensure a smooth and successful deployment of the Timbr.ai and Grafana stack in your environment.

Install and Run Timbr + Grafana Stack

  1. Download the timbr-grafana-stack file from the URL provided by Timbr.
  2. Transfer the file to your Linux VM.
  3. Untar the downloaded file using this command:
    tar -xvzf timbr-grafana-stack.tar.gz
  4. Move to the new folder using this command:
    cd timbr-grafana-stack
  5. Run the preinstall script using this command:
    ./preinstall-grafana-stack.sh
danger

Running the command above will erase the existing data in Grafana

  1. Run the services using this command:
    ./run_timbr_grafana_stack.sh

Configure Grafana

  1. Open your browser and type in the URL the IP address of your machine with port 3000 using the pattern <IP address>:<requested port> For example: 192.168.1.1:3000

  2. Enter the credentials on the Grafana login page

    • Default username: admin
    • Default password: admin

    Timbr and Grafana installation and deployment guide1 Timbr and Grafana installation and deployment guide2

Important!

For security reasons, change the admin default password after first login

  1. In the left side panel choose Dashboards

    Timbr and Grafana installation and deployment guide3

  2. Click on the Create Dashboard

    Timbr and Grafana installation and deployment guide4

  3. Click on Import dashboard

    Timbr and Grafana installation and deployment guide5

  4. Now you can choose one of the ways to load the default monitoring dashboards

    6.1. Upload the JSON file included in the timbr-grafana-stack file located in:

    grafana-defaults/provisioning/dashboards/docker_and_system_monitoring.json

    6.2. Open the downloaded file docker_and_system_monitoring.json and copy-paste the code in the lower box and click on the Load button

    Timbr and Grafana installation and deployment guide6

  5. Select the Timbr-Prometheus option and then click on the Import button

    Timbr and Grafana installation and deployment guide7

Update only Timbr Version

  1. Change directory to the timbr-grafana-stack folder by running the command:

    cd timbr-grafana-stack
  2. Update the Timbr version by running this command:

    ./update_timbr_version.sh

Update Timbr and Grafana Stack

  1. Change directory to the timbr-grafana-stack folder by running the command:

    cd timbr-grafana-stack
  2. Update the Timbr version and Grafana stack script by running this command:

    ./update_timbr_grafana_stack.sh

Restart Timbr Services

  1. Change directory to timbr-grafana-stack folder by running the command:

    cd timbr-grafana-stack
  2. Restart the Timbr services by running this command:

    ./restart_timbr.sh