Automatically scaling aggregation interval based upon time range

Grafana v10.3, Zabbix v6.0, Zabbix Plugin for Grafana v4.4.5, PostgreSQL v16.2

I want to automatically adjust the aggregation interval on a Time Series visualization based upon the dashboard’s time range. For longer time ranges aggregate the data by day, shorter times ranges aggregate by hour, and very short time ranges durations aggregate by minute.

Here is a YouTube tutorial that shows this exact process using Grafana with Timescale and PostgreSQL.

Is the same or similar functionality possible using only the Zabbix Plugin?

If I used a fixed aggregation interval of 5 minutes the most commonly used time ranges (12, 24, 48 hours) function well. Less commonly used time ranges (>3 days) revert to the undesirable data points despite the panel option Show Points set to Never.

Thanks in advance for your time.
-Scott


Olá @Fondussen

You may have a history and trends period configured in your datasource.

image

It may be that in this case, you will need to look at history data, in this image above, you would need to put a longer period in the after field, it will also depend on the period of raw data (history) that you have configured in zabbix.