sasaki77 / archiverappliance-datasource

EPICS Archiver Appliance plugin for Grafana dashboard
https://sasaki77.github.io/archiverappliance-datasource
MIT License
14 stars 7 forks source link

Reduce query size when using backend data source for visualization #36

Closed n-wbrown closed 3 years ago

n-wbrown commented 3 years ago

Currently, the backend data source does not apply any data reduction for large queries. This causes queries made with the "Use Backend" setting set to true to take a long time if the query returns a large amount of data. This also puts unnecessary load on both the archiver and grafana.

I'd like to add this data reducing logic to the backend queries but only for visualization queries, not for alerting queries.

n-wbrown commented 3 years ago

I don't have issue-editing privileges here but I'd flag this as an "enhancement" and assign it to myself if this is something you want to go ahead with, @sasaki77.