prometheus_flask_exporter icon indicating copy to clipboard operation
prometheus_flask_exporter copied to clipboard

upload grafana dashboard for easy installation?

Open larrycai opened this issue 4 years ago • 6 comments

Is it possible to upload the sample grafana dashboard to central place https://grafana.com/grafana/dashboards?

Then it is easy for end-user to try it just type dashboard id.

To me, it is good for demo and try. Otherwise I need to copy/paste the json files.

If there is no plan for you, can I upload your sample code there?

Thank you

Rgs, Larry

larrycai avatar Jul 22 '20 20:07 larrycai

Yeah, that's a good idea! I can upload it later and put it in the README, or I'm happy to accept a PR from you if you'd like to do it. 🙂

Thanks!

rycus86 avatar Jul 22 '20 22:07 rycus86

I had a quick PR for it, mainly give you the working dashboard can be uploaded, i tried as https://grafana.com/grafana/dashboards/12695 and verified locally, you can tune for folder and description.

What I did is just

  • move to dedicated folder, could contain several dashboard jsons
  • be able to select correct prometheus source
  • replace example with flaskapp

larrycai avatar Jul 23 '20 09:07 larrycai

@rycus86 my link in grafana is just trial, you can help to upload the official one and provide more snapshots.

Then we can close this ticket

larrycai avatar Jul 29 '20 12:07 larrycai

OK, thanks! I'll try to get to it this week and figure out how to do it. 🙂 Thanks a lot for the help!

rycus86 avatar Jul 29 '20 13:07 rycus86

The above Grafana dashboard URL now gives 404. Does anyone have a copy of that, or a similar, Grafana dashboard?

jonnor avatar Sep 15 '22 14:09 jonnor

I think it's in the repo at https://github.com/rycus86/prometheus_flask_exporter/blob/master/dashboards/flask_webapp.json - does this work?

rycus86 avatar Sep 15 '22 20:09 rycus86