Deploying Grafana

This step-by-step guide simplifies deploying Grafana on ALPON X4, enabling powerful data visualization with clear instructions for setup and access.

Grafana is an versatile open-source platform for analytics and monitoring, perfect for transforming raw data from various sources into stunning, interactive visualizations. This guide will walk you through deploying the official Grafana container on the ALPON X4 using Sixfab's ecosystem. For advanced customization options, check out the official Grafana documentation.


Deployment

Ensure the grafana/grafana container is available in your Sixfab registry. If it is not, follow these steps to add it:

  1. Open a terminal on your personal computer and pull the Grafana container:

    docker pull --platform=linux/arm64 grafana/grafana:latest
    
  2. Log in to the Sixfab Connect platform, navigate to the Sixfab Registry page
  3. Click on + Add Container and follow the prompts to push container to Sixfab registry.

    📘

    Manage and Deploy Applications

    Visit the Manage & Deploy Applications page for all the necessary details on pushing your container image to the Sixfab Registry.

Alternative Deployment Option:

If you prefer not to use the Sixfab registry, select the I would like to use my own container path option during deployment and enter: grafana/grafana:latest

This will deploy the container directly from Docker Hub.


Configuration

  1. Go to the Application section of your asset on Sixfab Connect.

  2. Click the + Deploy button to configure and deploy the container.

  3. In the Deploy Container window, use the following settings:

    • Container Name: grafana

    • Image: Select the OpenHAB image and tag pushed to the Sixfab Registry, or follow the steps mentioned in the 'Alternative Deployment Option'.

    • Ports: Click "+ Add More" in the Ports section and add the following ports:

      FromTo
      313003000

    • Click the "+ Deploy" button to deploy Grafana.


Check Deployment

Once deployment is complete:

  • Locate the local IP address. The device's IP address can be viewed under Assets Details → Network tab → Interface Monitoring — Details.
  • Open a web browser and navigate to: http://<DEVICE_IP_ADDRESS>:31300 to access the Grafana dashboard.