rycus86 / prometheus_flask_exporter

Prometheus exporter for Flask applications
https://pypi.python.org/pypi/prometheus-flask-exporter
MIT License
645 stars 161 forks source link

upload grafana dashboard for easy installation? #68

Open larrycai opened 4 years ago

larrycai commented 4 years ago

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

rycus86 commented 4 years ago

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!

larrycai commented 4 years ago

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

larrycai commented 4 years ago

@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

rycus86 commented 4 years ago

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

jonnor commented 2 years ago

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

rycus86 commented 2 years ago

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