Javascript function to calculate total panel created in Grafana

Hi all,

I would like to create a dashboard which can calculate the total list of panels in Grafana by using HTML & Javascript as per example below:

I would like to know is it possible to calculate the total panel which I have created in Grafana?

Thanks in advance for your help.

Regards,
Farah

Use dashboard API and parse&count panels of all dashboards - similar example https://github.com/monitoringartist/grafana-utils. Dashboard (not panel) contains user relations, so “total panel which I have created” will be tricky. However you can parse dashboard versions and create panel ownership relation based on that.

Hi, thank you so much for your help!