Open em1064 opened 10 months ago
I am facing the same error:
Grafana version : 10.2.0-60982 Plugin version : 2.1.0
I am able to reproduce the behaviour when no results available in one of the pages. We can fix this in future iterations.
BTW, there is no plans to increase the max pages for the original reasons. ( you can somehow trigger 1000 pages. but we don't want to make it very obvious )
Having a similar issue. I'm not a golang person (yet), but I'm thinking that this could be handled in: https://github.com/yesoreyeram/grafana-plugins/blob/main/lib/go/transformations/merge.go
Maybe somewhere after line 26:
if len(outFrame.fields) == 0 {
continue
}
Describe the bug
Pagination works fine as long as the pages queried have data.
As soon as the page has no data, then this error will occur.
Version Details:
Additional context
Other related Nice to haves
5 page max is very small. The given argument for the limitation:
List of Values
Pagination type where the field value could take a Custom Variable in CSV.Would be great if
Max pages
supported variables for a dynamic value. Most APIs will have an endpoint to give a total count, which can be used to calculate numbers of pages to query.