Chronograf offers a complete dashboard solution for visualizing your data and monitoring your infrastructure. Use Chronograf’s pre-created dashboards or create customized dashboards to meet your setup’s needs. This guide introduces Chronograf’s customized dashboard features.
By the end of this document, you’ll be aware of all the tools you need to create a dashboard similar to this one:
This guide assumes you have a working Chronograf instance that’s connected to an InfluxDB source. It uses data from Telegraf’s system statistics input plugin. See the Getting Started guide for step-by-step installation and configuration instructions.
Before you start, navigate to the Dashboards page and click on the
Create Dashboard button. That button takes you to your new dashboard; this is your blank canvas on which you’ll create your visualization masterpieces.
Rename icon at the top of the page. Name your dashboard anything you want. Here, we call it
Click on the carrot in the existing cell’s top right corner and select
Edit. This step takes you to cell editor mode.
Click on the blue
Add a Query button to create and edit an InfluxQL query. In query editor mode, use the builder to select from your existing data and allow Chronograf to format the query for you. Alternatively, manually enter and edit a query. Chronograf allows you to move seamlessly between using the builder and manually editing the query; when possible, the interface automatically populates the builder with the information from your raw query.
Here, we use the builder to generate a query that shows the average idle CPU usage grouped by host (in this case, there are three hosts). By default, Chronograf applies the
MEAN() function to the data, groups averages into auto-generated time intervals (
:interval:), and shows data for the past one hour (
:dashboardTime:). Those defaults are configurable via the builder or by manually editing the query. In addition, the time range (
:dashboardTime:) is configurable on the dashboard.
Chronograf supports several visualization types:
Here, we choose the Step-Plot:
Click on the green checkmark to save your cell. Note that Chronograf does not save your cell if you navigate away from this page without clicking that checkmark.
Note: These tips only apply to the line, stacked, step-plot, and line+stat visualization types.
Next, complete your dashboard by creating, editing, and repositioning more cells!
View your dashboard in full screen mode by clicking on the full screen icon in the top right corner of your dashboard. To exit full screen mode, press the Esc key.
Dashboards support template variables. See the Dashboard Template Variables guide for more information.
© 2015 InfluxData, Inc.
Licensed under the MIT license.