Grafana

Overview

Grafana is a free visualization tool for metrics. You can easily connect Grafana to the Monitor Mountain API to explore and visualize your metrics.

Installation

If you do not already use Grafana to visualize your metrics please visit the Grafana documentation website and follow installation instructions. Alternatively many cloud providers have a 1-click install:

Connect to Monitor Mountain

Grafana will connect to Monitor Mountain using the Prometheus data source API. Monitor Mountain's API gateway has full support for the Prometheus query language called PromQL.

To add the data source, follow these instructions:

  1. Create a Monitor Mountain API Token

    alt text

  2. In Grafana, move your mouse to the cog on the side menu. Click on Configuration > Data Sources

    alt text

  3. Click the Add data source button

    alt text

  4. Find the Prometheus datasource type and click Select

    alt text

  5. In Monitor Mountain Environments page navigate to Environment > Namespace then find Prometheus Query URL and copy the URL.

    alt text

  6. Fill in the following fields

    FieldValue
    NameMonitor Mountain (namespace name)
    URLThey URL copied in step 5
    UserThis can be any name. A good practice is to use the same name you created for the Monitor Mountain API Token in step 1
    PasswordPaste in the Monitor Mountain API Token from step 1
  7. Click Save & Test

    alt text