grafana-toolbox / grafana-wtf

Grep through all Grafana entities in the spirit of git-wtf.
GNU Affero General Public License v3.0
148 stars 13 forks source link

Add support for result paging #3

Open amotl opened 5 years ago

amotl commented 5 years ago

To reach beyond the 5000 results limit employed by Grafana on the dashboard search API, grafana-wtf should apply appropriate paging, see also https://grafana.com/docs/http_api/folder_dashboard_search/.

This request originated at #2, thanks @jangaraj.

amotl commented 5 years ago

@jangaraj: As I learned from your reports, you are operating Grafana setups with more than 1000 dashboards but you have not yet crossed the 5000 dashboard mark, right?

Please let me know if this turns out to be true at some time, then we will add appropriate paging mechanisms to the code.

Cheers!

jangaraj commented 5 years ago

Yes, my Grafana instance has only 1.3k dashboards.

madhav-prabhu commented 1 month ago

@amotl before I ask my ques just wanted to say grafana-wtf has been a lifesaver and a solid tool! 💯

Do you have any plans to introduce paging to go beyond the 5000 dashboard limit? I use grafana-wtf as a part of a larger workflow that analyzes metrics utilization across various datasources, the grafana instance has about 6k dashboards and counting, giving incomplete results