Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

To view the application metrices dashboard, you need to configure the data source in Grafana. In this case, Prometheus is the data source. 

Configuring the data source in Grafana

Follow the instructions given below to configure the data source.

  1. Log in to Grafana and configure the data source.

    What would be the Grafana URL depends upon how you have exposed Grafana.
  2. Click Configuration >> Data Sources.
  3. Click Add data source.
  4. On the Add data source page, select Prometheus as the type.
  5. Set the Prometheus server URL (For example, http://localhost:9090/).
  6. Configure the other data source settings based on your requirement (For example, selecting the authentication method).
  7. Click Save & test to save the new data source.

Importing the Grafana dashboard.

Adeptia provides a few dashboards in JSON format that you can import to view the application metrices. You can also customize these JSON files based on your requirement. Follow the steps given below to import the dashboard.

  1. Download the JSON file available here.
  2. Log in to Grafana.
  3. Go to Dashboards >> Browse.
  4. Click Import.
  5. On the Import page, click Upload JSON file to browse to and select the JSON file you downloaded in step 1.
  6. In the Options section, do the followings.
    1. In the Name field, enter a name for the dashboard.
    2. In the Folderfield, select a folder where you want to place the uploaded JSON file.
    3. In the Unique identifier (UID) field, provide a unique identifier (if required) to the dashboard.
    4. In the filed next to Unique identifier (UID), select Prometheus as the data source.
    5. Click Import.

    This presents a dashboard showing the application metrices in graphical form.
  • No labels