Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

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.

    Info
    What would be the Grafana URL depends upon how you have exposed Grafana.

...


  1. Click Configuration >> Data Sources.

...

  1. Image Added

...


  1. Click Add data source.
  2. On

...

  1. the Add data source

...

  1.  page,

...

  1. select Prometheus

...

  1.  as the type.
  2. Set the Prometheus server URL (For example, http://

...

  1. <Hostname>:

...

  1. <Port>/).
  2. Configure the other data source settings based on your requirement (For example, selecting the authentication method).

...

  1. Click Save & test

...

  1.  to save the new data source.

Anchor
view dashboards
view dashboards
Once you have configured the data source, you can view the application metrices dashboards provided by Kubernetes.

To view the dashboards:

  1. Click Search dashboards in the left panel.
    Image Added

    The list of all the available dashboards appear under different heads, for example, StarredRecent, etc. 

    Tip
    You can also search for a specific dashboard by entering the name of the dashboard in the search bar.


    Image Added

  2. Click the required dashboard on the list to view it. 

    The following screenshot is an example that shows the General/Kubernetes/Compute Resources/Cluster dashboard with relevant metrices.
    Image Added

Importing and viewing the custom 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

...

  1. file available here.
  2. Log in to Grafana.
  3. Go

...

  1. to Dashboards >> Browse.

...

  1. Image Added

...


  1. Click Import.
  2. On the Import page,

...

  1. click Upload JSON file

...

  1.  to browse to and select the JSON file you downloaded in step 1.
  2. In the Options section, do the followings to import the dashboard.
    1. In

...

    1. the Name

...

    1.  field, enter a name for the dashboard.
    2. In

...

    1. the Folder field, select a folder where you want to place the uploaded JSON file.
    2. In

...

    1. the Unique identifier (UID)

...

    1.  field, provide a unique identifier (if required) to the dashboard.
    2. In the

...

    1. field next to Unique identifier (UID),

...

    1.  select Prometheus

...

    1.  as the data source.

...

borderStylesolid
titleYou may be interested in...

...

    1. Click Import.

...

  1. Follow the steps given here to view the imported dashboard.

    The following screenshot is an example that shows the Adeptia Graphs/Kubernetes Nodes dashboard with relevant metrices.
    Image Added

    The following screenshot is an example that shows the Adeptia Graphs/Kubernetes Persistent Volumes usage dashboard with relevant metrices.
    Image Added