grafana-gnocchi-datasource icon indicating copy to clipboard operation
grafana-gnocchi-datasource copied to clipboard

Renew token at user given interval

Open Baggypants opened this issue 5 years ago • 2 comments

I've been using grafana-gnocchi-datasource token based authentication with a small hacky service that runs regularly and updates the token in the database. https://gitlab.com/Baggypants/grafana-gnocchi-openstack-token-renewer.

It would be helpful if there was a mechanism in the datasource to reload the token from the grafana database at a given period. For the time being I'm using a tab auto refresh browser plugin.

Baggypants avatar Jun 20 '19 09:06 Baggypants

Using keystone auth mode will pull a new token whenever a new one is needed. Here is my settings. Capture

ki4rbc avatar Jun 21 '19 16:06 ki4rbc

Our Gnocchi and Keystone are not hosted on the same HTTP endpoint so this configuration isn't applicable.

Baggypants avatar Jun 26 '19 09:06 Baggypants