Beam-Connectivity / grafana-dashboard-manager

Import and export Grafana dashboards for backup and dynamic provisioning
MIT License
59 stars 13 forks source link

Allow token-based authentication #7

Closed mstyushin closed 2 years ago

mstyushin commented 2 years ago

This change should provide users an option to use a Grafana API token. I also make use of requests.Session to make sure Grafana session cookie persists across requests and for connection pooling; should be helpful when you got a lot of dashboards to download.

LawrenceWarren commented 2 years ago

@chan-vince please merge this PR! It's an excellent change that makes using your tool as part of a CI pipeline significantly easier.

chan-vince commented 2 years ago

Apologies for the delay in getting this done @mstyushin.

@meetmatt @LawrenceWarren your help is also much appreciated 🙏