Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Dashboard for version 29.0.0 adds unknwon JSON datasource #48

Open
kissifrot opened this issue Jul 25, 2023 · 4 comments
Open

Dashboard for version 29.0.0 adds unknwon JSON datasource #48

kissifrot opened this issue Jul 25, 2023 · 4 comments

Comments

@kissifrot
Copy link

Hello @soulgalore ,

You recently updated page metrics' dashboard's JSON, but you added a new JSON API Datasource labeled DS_JSON_API.
But there seem to be no clue on how it is used.
Is a mistake or it misses associated documentation? 🙂

I'm available for more details is needed :)

@soulgalore
Copy link
Member

soulgalore commented Jul 25, 2023

Hi @kissifrot hmm that JSON is exported from Grafana, I wonder then if it's a bug in their exporter. Some time ago there was a similar bug when you manually needed to change it. Let me have a look, the JSON API datasource is used, but I think there's no documentation (I missed that). On dashboard.sitespeed.io the result is published to https://data.sitespeed.io/ so the URL for the datasource is https://data.sitespeed.io/. Using that, you can get meta data about each run. Let me add some documentation.

@soulgalore
Copy link
Member

Ok, the Grafana instance should include these three plugins: grafana-piechart-panel,marcusolsson-json-datasource,marcusolsson-dynamictext-panel. Then you need to point the JSON data source to where you push the result. I've been using that for a couple of years internally and at Wikimedia, but I forgot to include it now when it was released in the documentation. Gonna update the documentation the coming days.

@kissifrot
Copy link
Author

kissifrot commented Jul 25, 2023

Well I'm a bit lost TBH, where do we configure where data is pushed?
Until now I didn't see mentions of this new data source 🤔

Sorry for the dumb questions 😅

@soulgalore
Copy link
Member

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.

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

No branches or pull requests

2 participants