Closed AlanCodega closed 1 year ago
with the command:
docker run --rm -v "$(pwd):/sitespeed.io" sitespeedio/sitespeed.io:27.3.0 https://google.com --graphite.host cirrusqa.westeurope.azurecontainer.io --outputFolder output --slug google --graphite.addSlugToKey
I'm able to find in Grafana the testslug and the domain, but no data:
output from shell:
(ubuntu@DESKTOP-SBSBK56:~$ docker run --rm -v "$(pwd):/sitespeed.io" sitespeedio/sitespeed.io:27.3.0 https://google.com --graphite.host cirrusqa.westeurope.azurecontainer.io --outputFolder output --slug google --graphite.addSlugToKey Google Chrome 112.0.5615.49
Mozilla Firefox 112.0
Microsoft Edge 112.0.1722.39
[2023-05-04 07:24:04] INFO: Versions OS: linux 5.15.90.1-microsoft-standard-WSL2 nodejs: v18.14.2 sitespeed.io: 27.3.0 browsertime: 17.8.0 coach: 7.1.3
[2023-05-04 07:24:05] INFO: Running tests using Chrome - 3 iteration(s)
[2023-05-04 07:24:06] INFO: Testing url https://google.com iteration 1
[2023-05-04 07:24:14] INFO: Take after page complete check screenshot
[2023-05-04 07:24:14] INFO: Take cumulative layout shift screenshot
[2023-05-04 07:24:15] INFO: Take largest contentful paint screenshot
[2023-05-04 07:24:17] INFO: Use the visual metrics portable script
[2023-05-04 07:24:17] INFO: Get visual metrics from the video
[2023-05-04 07:24:19] INFO: https://google.com TTFB: 252ms DOMContentLoaded: 406ms firstPaint: 418ms FCP: 418ms LCP: 418ms Load: 510ms
[2023-05-04 07:24:19] INFO: VisualMetrics: FirstVisualChange: 434ms SpeedIndex: 434ms VisualComplete85: 434ms LastVisualChange: 467ms
[2023-05-04 07:24:19] INFO: Testing url https://google.com iteration 2
[2023-05-04 07:24:27] INFO: Take after page complete check screenshot
[2023-05-04 07:24:28] INFO: Take cumulative layout shift screenshot
[2023-05-04 07:24:28] INFO: Take largest contentful paint screenshot
[2023-05-04 07:24:31] INFO: Use the visual metrics portable script
[2023-05-04 07:24:31] INFO: Get visual metrics from the video
[2023-05-04 07:24:32] INFO: https://google.com TTFB: 252ms DOMContentLoaded: 337ms firstPaint: 317ms FCP: 317ms LCP: 340ms Load: 414ms
[2023-05-04 07:24:32] INFO: VisualMetrics: FirstVisualChange: 300ms SpeedIndex: 330ms VisualComplete85: 333ms LastVisualChange: 367ms
[2023-05-04 07:24:32] INFO: Testing url https://google.com iteration 3
[2023-05-04 07:24:41] INFO: Take after page complete check screenshot
[2023-05-04 07:24:41] INFO: Take cumulative layout shift screenshot
[2023-05-04 07:24:41] INFO: Take largest contentful paint screenshot
[2023-05-04 07:24:44] INFO: Use the visual metrics portable script
[2023-05-04 07:24:44] INFO: Get visual metrics from the video
[2023-05-04 07:24:45] INFO: https://google.com TTFB: 248ms DOMContentLoaded: 342ms firstPaint: 368ms FCP: 368ms LCP: 368ms Load: 419ms
[2023-05-04 07:24:45] INFO: VisualMetrics: FirstVisualChange: 400ms SpeedIndex: 400ms VisualComplete85: 400ms LastVisualChange: 400ms
[2023-05-04 07:24:45] INFO: https://google.com 13 requests, TTFB: 252ms (σ2.00ms 0.8%), firstPaint: 368ms (σ41.00ms 11.2%), firstVisualChange: 400ms (σ57.00ms 15.0%), FCP: 368ms (σ41.00ms 11.2%), DOMContentLoaded: 342ms (σ31.00ms 8.7%), LCP: 368ms (σ32.00ms 8.6%), CLS: 0 (σ0.00 0%), TBT: 0ms (σ0.00ms 0%), CPUBenchmark: 41ms (σ3.00ms 7.2%), Load: 419ms (σ44.00ms 9.9%), speedIndex: 400ms (σ43.00ms 11.2%), visualComplete85: 400ms (σ42.00ms 10.8%), lastVisualChange: 400ms (σ42.00ms 10.1%) (3 runs)
[2023-05-04 07:24:47] INFO: HTML stored in /sitespeed.io/output)
Hi @AlanCodega thanks for the detailed report!
For the Chrome user experience report, that data is collected directly from Google, so to get that dashboard to work, you need add your crux key, checkout the documentation here: https://www.sitespeed.io/documentation/sitespeed.io/crux/ That data has other structure, so that needs to be a specific dashboard.
That's good news that the slug ends up in Grafana, then there's no problem sending/getting the metrics. Maybe something is broken with dashboard? If you check a graph like https://dashboard.sitespeed.io/d/9NDMzFfMk/page-metrics-desktop in your setup, do the drop-down get any data? Do you see any metrics?
Best Peter
Hey @soulgalore , Many thanks for your prompt reply. solved.
Have you read the documentation?
URL
https://google.com
What are you trying to accomplish
Hi All, i've setup as Azure Container group: Grafana and graphite, deployed with this azure template (i transform basically the docker-compose file into azure template, adding permanent azure storage):
deployed correctly, all the ports are opened, and I can open with browser Graphite and Grafana ui.
For cost saving, I'm using sitespeed.io container locally on my docker with this command:
docker run --rm -v "$(pwd):/sitespeed.io" sitespeedio/sitespeed.io:27.3.0 https://google.com --graphite.host cirrusqa.westeurope.azurecontainer.io --outputFolder output --slug DEV --graphite.addSlugToKey true
but when opening grafana UI from browser, with the already pre-maded dashboard (https://github.com/sitespeedio/grafana-bootstrap-docker/blob/main/dashboards/graphite/Leaderboard.json) i see only "NO DATA".
Any idea or suggestion what can be?
Many thanks in advance!
What browser did you use?
Chrome
How to reproduce
Relevant log output