Grafana is the leading open source software platform for time series analytics and monitoring. Various data sources, such as InfluxDB, AWS CloudWatch and Prometheus, integrate with Grafana to produce Grafana dashboards. These dashboards are useful because they bring together data and help users to gather insights in near real time. No matter where your data is, or what kind of database it lives in, you can bring it together with Grafana. Beautifully.
Combining the power of Grafana and InfluxDB
InfluxDB and Grafana
InfluxData and Grafana have a strong and active partnership that dates back to April 2014 when Torkel Ödegaard added InfluxDB support in Grafana. InfluxData Founder Paul Dix often speaks about why and how the InfluxDB community uses Grafana, noting: “We use Grafana and know most of our users use it. Grafana is great for visibility.”
The InfluxData-Grafana partnership has grown to extend to supporting new capabilities like Flux lang, sponsorships of meetups, InfluxDays, webinars, and more. Check out some of the latest talks from the Grafana team about the new features they have added to Grafana to make the InfluxDB-Grafana combo even stronger!
How to use InfluxDB with Grafana
Grafana ships with a native feature-rich data source plugin for InfluxDB. The plugin includes a custom query editor that supports InfluxQL, Flux, annotations and query templates. When using Grafana, you can add the InfluxDB data source by following these simple steps:
- Open the side menu by clicking the Grafana icon in the top header.
- In the side menu under the Dashboards link, you should find a link named Data Sources.
- Click the + Add data source button in the top header.
- Select InfluxDB from the Type dropdown.
For a more detailed description of how to get started, check out the two-part blog by InfluxAce Antoine Solnichkin, “How to Setup InfluxDB, Telegraf and Grafana on Docker.”
Grafana and InfluxDB dashboard
Grafana’s native support for Flux queries allows users to perform joins and math across measurements by combining time series data with other data sources. This built-in query functionality makes it easier to add contextual data and uncover meaningful data insights. Download Grafana 7.1 to try it out.
Powerful dashboards for all use cases
Whether you are building an application or managing a fleet of solar panels, ensuring the performance of your solution requires collecting and analyzing a large amount of data. A powerful use of this data is building visualizations to help detect and understand patterns, trends, and outliers in groups of data. The key to building useful dashboards is to give users control over them so they can investigate and derive insights that can help boost the performance of their systems.
Many InfluxDB users have developed dashboards with Grafana. The use cases range from infrastructure monitoring (containers, apps, networks) and IoT monitoring (sensors, machines) to real-time analytics for use cases like high-frequency trading.
Docker dashboard using Grafana and InfluxDB (built by ichasco)
The powerful combination of Telegraf, InfluxDB, and Grafana (aka the TIG Stack) has driven many community members to develop a variety of solutions that cover the above-mentioned use cases. Here are a few examples that also include setup instructions.
Infrastructure monitoring with InfluxDB and Grafana
Infrastructure monitoring with InfluxDB and Grafana covers a variety of monitoring use cases — from containers, virtual machines to networks, pretty much everything in your infrastructure can be monitored. In this example, Michael Schoen writes about how you can pull telemetry from a Cisco NX-OS with the Telegraf SNMP plugin. Telegraf, InfluxDB, and Grafana is a popular combination used by many community members and is also commonly referred to as the TIG Stack.
IoT monitoring with InfluxDB and Grafana
There are a number of IoT examples that range from home automation, consumer applications that collect data from sensors or devices, and Industrial solutions that collect data from SCADA systems, PLCs, and machines to drive operational efficiencies. In many of these cases, operators are provided with a Grafana dashboard to discover opportunities for improvement. BurnsHA has developed a three-part series showing users how to install and set up InfluxDB, Home Assist, and Grafana.
Watch video | InfluxDB, Grafana & Home Assistant
Customer use cases
“Out of all of the monitors there [in our office], we only have a couple that show some custom dashboards. The rest is entirely Grafana running on InfluxDB.”
Senior Software Engineer • NewVoiceMedia
NewVoiceMedia, a UK-based cloud service company, chose InfluxData to provide 99.999% uptime monitoring of its global SaaS because InfluxData could meet and exceed its business and technical requirements. Grafana is used for all its graphing capabilities.
“We are getting good mileage in a short time period from our investment in TICK and Grafana.”
Senior Director, Site Reliability Engineering • Coupa
In just four weeks, Coupa (a cloud platform for business spend), was able to go beyond building a proof-of-concept with InfluxData, and was able to create a working prototype that was kept simple and iterated upon often: It used Telegraf to collect data, a single InfluxDB node to store data, Grafana to visualize data, and Kapacitor to analyze data.
Houghton Mifflin Harcourt
“We also store annotation of events, curl calls from, say, Jenkins, for deployment, pushing those points into Influx and then we’re able to use those for annotations with Grafana.”
Director of Systems and Software Architect • Houghton Mifflin Harcourt
Houghton Mifflin Harcourt, a Boston-based educational and trade publisher, uses InfluxData for standard DevOps monitoring, gathering and tracking KPIs to measure its online educational business, and gaining real-time visibility into its AWS spend that covers several accounts across multiple business units and a large group of distributed developers. Houghton Mifflin Harcourt stores annotation of events, CRO calls from Jenkins, for deployment, pushing those points into InfluxDB. Then, those are used for annotations with Grafana.
InfluxDB and Grafana news
DEEPER INSIGHTS WITH FLUX
InfluxDB and Grafana 7.1 Beta In this video, Ryan McKinely shares the latest developments in Grafana 7.1 Beta, specifically the support for InfluxQL and Flux.
Streaming Sensor Data with Grafana and InfluxDB In this video, you will learn how you can stream your sensor data into InfluxDB and build meaningful dashboards with Grafana.
Available as InfluxDB open source, InfluxDB Cloud & InfluxDB Enterprise