InfluxDB calculations
In InfluxDB, you can perform calculations on the data. In this section, you will learn how to apply them from the graphical query section of Grafana.
First, let’s identify the section on the panel edition screen. Figure 9.1 shows the query editor, which you already know about from previous chapters:
Recall from Chapter 5, Using Time Series Databases, that InfluxDB has two query languages: InfluxQL and Flux. In that chapter, you learned that versions 1.x of InfluxDB use InfluxQL, whereas versions 2.x of InfluxDB use Flux.
However, you can also use InfluxQL in versions 2.x. Please refer to Chapter 5, Using Time Series Databases, for more information.
In the end, Grafana fully supports InfluxQL, so we will work with that. So, let’s start by looking at functions in InfluxQL.
InfluxQL functions
InfluxDB offers you a wide range of calculations. It’s important to note that...