Timeseries
The Timeseries panel displays metrics over time. Use it to monitor trends, detect anomalies, and compare multiple series in a single view.
Add a Timeseries Panel
-
Open the dashboard where you want the panel.
-
Click Add Panel.
-
In Choose Visualization, select Timeseries.
-
In Graph your data, click Select a metric and build your query.
-
Enter a descriptive Title.
-
Click Save to add the panel.
Build queries (Graph your data)
The query builder controls which metrics appear and how they are aggregated.
-
Click Add Query to create one query. Repeat to add more.
-
Click Select a metric to choose a metric name.
-
Use From to pick the metric source or namespace.
-
Click Add Label to filter on label values, (for example,
pod=web
,env=prod
). -
Select an Aggregation (for example,
min
,max
,sum
,avg
) to reduce raw samples to a single value per time interval. -
Use the Select dropdown (if available) to set the aggregation interval, (for example,
1m
,5m
). -
Click Add Functions to transform your data:
Examples:
rate()
,derivative()
,moving_avg()
,scale()
.
Query order determines formula identifiers: first query = |
Apply functions
Functions modify your time series after aggregation:
-
rate() — Convert cumulative counters into per-second rates.
-
moving_avg() — Smooth short-term fluctuations.
-
scale() — Multiply values by a constant.
-
round() — Reduce decimal precision.
Complex function chains can slow panel rendering. Test performance with your expected time range before saving. |
Add formulas
Formulas calculate new series from existing queries.
-
Click Add Formula.
-
Reference queries by letter (
a
,b
, etc.) or alias. -
Enter the expression and click Apply.
Example — double a series:
2*a
Example — scale b
by 100 and add to a
:
a + 100*b
|