tricorder-observability / Starship

Starship: next-generation Observability platform built with eBPF+WASM
GNU Affero General Public License v3.0
163 stars 23 forks source link

Api Server remove Grafana Api Keys and create grafana api key #81

Closed zh9310 closed 1 year ago

zh9310 commented 1 year ago

Api Server remove grafana key and create grafana key

zh9310 commented 1 year ago

https://grafana.com/docs/grafana/latest/developers/http_api/auth/#delete-api-key

zh9310 commented 1 year ago

api server start check has grafana api key, if has api key remove and create new api key.

nascentcore-eng commented 1 year ago

This also has the benefit of no more gorm management of SQLite record for the cached credential

Basically we now make API Server managing grafana largely stateless

And state is the bane of any program