Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention grafana-vs-code-extension in Contribution Docs #3517

Open
swiffer opened this issue Nov 29, 2023 · 5 comments
Open

Mention grafana-vs-code-extension in Contribution Docs #3517

swiffer opened this issue Nov 29, 2023 · 5 comments
Labels
enhancement New feature or request kind:documentation Adds or improves documentation

Comments

@swiffer
Copy link
Contributor

swiffer commented Nov 29, 2023

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 #3439 (comment)

@swiffer swiffer changed the title Mention Owner avatar grafana-vs-code-extension in Contribution Docs Mention grafana-vs-code-extension in Contribution Docs Nov 29, 2023
@DrMichael
Copy link
Collaborator

DrMichael commented Nov 29, 2023

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?

@swiffer
Copy link
Contributor Author

swiffer commented Nov 29, 2023

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

@DrMichael
Copy link
Collaborator

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

@swiffer
Copy link
Contributor Author

swiffer commented Nov 29, 2023

And the service Account has been created with Admin rights?

@DrMichael
Copy link
Collaborator

Yes. Sigh

@JakobLichterfeld JakobLichterfeld added enhancement New feature or request kind:documentation Adds or improves documentation labels Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request kind:documentation Adds or improves documentation
Projects
None yet
Development

No branches or pull requests

3 participants