Grafana Add-on with InfluxCloud

Grafana is an open source time series data visualization tool.

The Grafana Add-On offers multi-tenant support as well as alerting capabilities. It allows the InfluxCloud administrator to provide a full Grafana experience to different sets of users and groups from a single node on InfluxCloud.

For pricing information please see the Pricing Page.

Note: InfluxData offers Grafana version 4.6.x as an alternative visualization tool for InfluxCloud.

Purchase a Grafana Add-on

Purchase a Grafana Add-On from your InfluxCloud dashboard by clicking on the Grafana Add-on + within your subscription:

Note: There are no free trials for Grafana. Even if you are using a free trial subscription for InfluxCloud, if you decide you want to explore your InfluxCloud subscription using Grafana, you will be charged the associated monthly or annual fee if you purchase the Grafana Add-on.

You can select either a monthly or annual plan. When you click the Buy Grafana button, you will be charged the amount shown on the screen.

Once you’ve made your purchase, you will be returned to the InfluxCloud Subscription Management page.
You should see an animated image while InfluxCloud spins up your Grafana Add-on.

Once the Grafana icon appears along with the Launch and Configure buttons (shown below), you are ready to get started. Click here – if you want to explore the more advanced configuration options before diving into building dashboards.

Get Started with your Grafana Add-on

1. Access Grafana

Access Grafana from the Add-ons section of your InfluxCloud subscription management page by clicking the Launch button.

You can also see the URL and details about your Add-on by clicking on the Grafana icon in the Add-on box.
Once you click the Grafana icon, the following Grafana details window will appear. Here, you will be able to see the full URL for your Grafana Add-on along with other information:

2. Sign in to Grafana

By default, Grafana creates a user with the username admin and password admin.

Sign in to Grafana with those credentials:

Note: We recommend updating the password for the Grafana admin user as soon as possible.

3. Add your Data Source

On the Home Dashboard page, click on the green Add data source button:

Fill out the form like the example shown below. Enter your InfluxCloud hostname in the Url section and the db admin username and password that you used to create your subscription during the sign-up process into the User section.

Finally, click the green Save & Test button. If Grafana can’t connect to your InfluxCloud subscription, double-check that your Url setting includes https:// and port 8086.

If you see a green Success message, that’s it! You’re all set to begin creating Grafana graphs and dashboards using the data from your InfluxCloud subscription.

4. Create your first dashboard

Click on the Grafana icon, select Dashboards, and + New:

To name your new dashboard, click on the gear icon at the top of your screen and select Settings. Name your dashboard CPU Usage and click the save button:

5. Create your first graph panel

Open a new graph panel by hovering over the three dots on the left of your screen and selecting +Add Panel.

Select Graph to create a new graph. To edit the graph, click Panel Title and select Edit. Next, click the blue A to access Grafana’s Query Editor.

Edit the content in the FROM, SELECT, and GROUP BY sections:

The query calculates the average idle CPU usage at one minute intervals for each CPU core and the total CPU data in the measurement cpu. It also makes use of Grafana’s template variable $timeFilter. $timeFilter allows you to easily switch the query’s time range by clicking on the dropdown in the top right corner:

Finally, name your graph CPU Usage Idle in the Query Editor’s General tab and save your dashboard.

You’re now equipped to use Grafana to examine and visualize the data stored in your InfluxCloud subscription. See Grafana’s InfluxDB documentation for more information.

Additional Information and Resources

Configuring Grafana

Access additional configurations for your Grafana Add-on by clicking on the Configure button in the Add-ons section of your InfluxCloud dashboard:

The information in the dropdown at the top of the Configure Grafana window corresponds to the different sections in Grafana’s configuration file.

For more on administration in Grafana, see Grafana’s Administration documentation.

For how to visualize data with Grafana see Grafana’s InfluxDB documentation.