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

Dashboard for version 29.0.0 adds unknown database #3919

Closed
kissifrot opened this issue Jul 25, 2023 · 6 comments
Closed

Dashboard for version 29.0.0 adds unknown database #3919

kissifrot opened this issue Jul 25, 2023 · 6 comments

Comments

@kissifrot
Copy link

kissifrot commented Jul 25, 2023

Ah I see, no sorry I should have explained that better: where do you push the result (the HTML/video/screenshots) from the sitespeed.io test? Do you push it to S3, or a server? If you just test it out locally you can just add a dummy URL as endpoint for the JSON plugin.

Originally posted by @soulgalore in sitespeedio/grafana-bootstrap-docker#48 (comment)

(sorry for the "new" issue)

Results are pushed to s3

@soulgalore
Copy link
Member

Ah thank you for creating the issue, I missed to link the old issue here when I archived the old.

So then you can:

  1. Install the JSON Datasource (either through your docker compose, or install it manually. In Grafana admin you can add a datasource.
  2. Add the base URL from S3 as your URL for the JSON datasource.

I'm gonna write some more detailed instructions and will link them from this issue.

@soulgalore soulgalore changed the title Dashboard for version 29.0.0 asdds unknown datadase Dashboard for version 29.0.0 adds unknown database Jul 27, 2023
@soulgalore
Copy link
Member

I updated the documentation at https://www.sitespeed.io/documentation/sitespeed.io/performance-dashboard/ to better match how it works.

@kissifrot
Copy link
Author

kissifrot commented Aug 1, 2023

I updated the documentation at https://www.sitespeed.io/documentation/sitespeed.io/performance-dashboard/ to better match how it works.

Thanks! 👍 (and sorry for the ugly blatant type 😅 )

S3 does not like being used as a JSON datasource though, even if using public bucket's URL 🙂

@soulgalore
Copy link
Member

Could it be that your bucket hasn't enabled CORS? https://docs.aws.amazon.com/AmazonS3/latest/userguide/cors.html - if you check the log in devtools in your browser when you access the Grafana dashboard, you will see the error there.

@soulgalore
Copy link
Member

I don't have access from my current computer so I can give you an working example, can do that I think this weekend.

@soulgalore
Copy link
Member

Sorry this took a really long time. I've updated the documentation to include a CORS setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants