Help us make these docs great!

All rapyuta.io docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Deploying Grafana to Visualize Metrics

Learning objectives

This tutorial explains how to deploy Grafana on rapyuta.io, and also to visualize the metrics by adding and configuring the data sources within Grafana.

Estimated Time

10 minutes

Step 1: Import Packages

Let’s begin by importing the Rapyuta IO Grafana package into your account.

  1. Import Rapyuta IO Grafana package into your account. Import Package

Step 2: Deploy Disks

Deploy Disks with a capacity of 4GB. For more information, see Managing Disks

Disks can be deployed only when the disk status is Available. For more information, see Disk Status

Step 3: Deploy Rapyuta IO Grafana Package

To deploy the Rapyuta IO Grafana package:

  1. On the left navigation menu, select Development > Catalog.

  2. Select the package Rapyuta IO Grafana, and click Deploy package.

  3. In the Name of deployment field, type Grafana.

  4. Under VOLUMES, select Add volume.

    a. Select Disks from the Deployments dropdown.

    b. Select grafana from the Applicable component dropdown.

  5. Under VOLUMES, select Add mount path.

    a. Select grafana from the Applicable executable dropdown.

    b. Enter /var/lib/grafana in the Mount path fields.

    c. The Subpath field remains empty.

  6. Click Create Deployment to proceed. On successful deployment, the Status changes to Running and the Deployment Phase changes to Succeeded.

Step 4: Using Grafana

Prerequisite

  • Auth Token
  • Project ID
  • Organization ID

For more information on how to get these IDs, click here.

To start using Grafana:

  1. Select the Grafana deployment, and navigate to Network Endpoints in the Details page.
  2. Copy the grafana_endpoint URL and paste it in a new tab.
  3. To login, enter the default credentials. That is, the Username and Password as admin. On logging in, Grafana prompts you to change the password. Please change it to ensure security.
  4. On the left navigation menu, select Configuration > Data Sources.
  5. Select Add data source.
  6. In the Add data source page, enter rapyuta.io in the search field, and select rapyuta.io Metrics.
  7. In the Settings page, enter the previously copied values of the Auth Token, Project ID and Organization ID.
  8. Click Save & Test.

Once the datasource is updated, a success message appears and you can use the rapyuta.io Metrics while creating dashboard panels.

To import Rapyuta IO Devices dashboard:

  1. On the left navigation menu, select Create > Import.
  2. Copy the file contents from here and paste it in the Import via panel json textbox.
  3. Click Load.
  4. Click Import.