teslamate icon indicating copy to clipboard operation
teslamate copied to clipboard

Mention grafana-vs-code-extension in Contribution Docs

Open swiffer opened this issue 1 year ago • 5 comments

There is a super great extension for VS Code created by the Grafana Team that eases editing bundled Dashboards. We should make use of it and mention it in the Contribution Docs.

-> https://github.com/grafana/grafana-vs-code-extension

We can hash out some further improvements down the line regarding ease of maintaining these dashboards. I'll definately give the extension @swiffer mentioned a whirl, and I think we probably ned to consider making the datasource we provision in grafana for the post gres database have a static uid.

Originally posted by @oivindoh in https://github.com/teslamate-org/teslamate/issues/3439#issuecomment-1817956980

swiffer avatar Nov 29 '23 06:11 swiffer

I followed the instructions, created service account, created token, put the token into VS code settings. But still getting an error grafana_1 | logger=authn.service t=2023-11-29T16:10:47.58157139+01:00 level=warn msg="Failed to authenticate request" client=auth.client.api-key error="[api-key.invalid] API key is invalid"

What did I miss?

DrMichael avatar Nov 29 '23 15:11 DrMichael

good question - thats what i did - sure you copied the token correctly ? maybe space at the end / beginning?

swiffer avatar Nov 29 '23 16:11 swiffer

Hmmm, don't think so. I did c&p. I also typed it in manually. Still Authentication error

DrMichael avatar Nov 29 '23 17:11 DrMichael

And the service Account has been created with Admin rights?

swiffer avatar Nov 29 '23 17:11 swiffer

Yes. Sigh

DrMichael avatar Nov 29 '23 17:11 DrMichael