The Grafana API limits search results to 1000 objects (configurable with limit= query param to up to 5000 objects). If you have more than 1000 folders this will result in duplicate folders created since gonb wont be able to fetch a complete list of existing folders.
Possible solutions is having a configurable limit or hardcode it to 5000, or maybe use pagination if the Grafana API supports that.
The Grafana API limits search results to 1000 objects (configurable with
limit=query param to up to 5000 objects). If you have more than 1000 folders this will result in duplicate folders created sincegonbwont be able to fetch a complete list of existing folders.Possible solutions is having a configurable limit or hardcode it to 5000, or maybe use pagination if the Grafana API supports that.