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
How to use resultBaseURL for NodeJS+InfluxDB+Grafana setup on Windows machine [Local] to view HTML URL and Screenshot on Grafana #4146
Comments
Hello @soulgalore - Am able to get correct path in events measurement of influxDB: And my index.html is accessible from this path when I copy paste below command in Chrome address bar: However, how do I add my Device Name: D2BLAP-FEHJJDW or IP address 10.251.23.210 to access the index.html? so anyone can open it directly? |
@zer0kool can you please guide here? |
Hi @shrutiseth I would try to serve the content through a web server so you would do it the same way if you serve it locally or through a web server. If you have the server running your result base you can use your IP adress instead of file:// etc. |
Hello @soulgalore I tried using http://hostname - Using IP address: When I try to open this file: http://awnhybristestq8/www.sitespeed.io/2024-05-03-08-42-41/index.html also gives same error. Please guide :( |
Have you setup a HTTP server that serves the content on your machine? I'm not 100% sure I understand what you want to accomplish? :) Do you want to run it locally to test everything or what's your end goal? |
Your question
Hello @soulgalore,
I am configuring sitespeedio on my windows local machine using NodeJS + InfluxDB + Grafana, since docker is not allowed in my organization.
I have been able to get the Front End metrics on the Grafana dashboard for all the tests done during the time window in a table:
I want to get the link to the Index.HTML for each of the tests along with Screenshot in the table too. Can you please guide me what should be the syntax?
I have referred - https://www.sitespeed.io/documentation/sitespeed.io/performance-dashboard/#annotations and https://www.sitespeed.io/documentation/sitespeed.io/performance-dashboard/#annotations but I am not sure of the command.
Currently I am using:
sitespeed.io https://www.sitespeed.io/ --urlAlias Sitespeedio -n 1 --influxdb.host localhost --video --visualMetrics --viewPort 1024x768 --influxdb.annotationScreenshot --resultBaseURL localhost -v --logToFile
Output:
Log file shows:
My question is: What should i write in --resultBaseURL <what should be the path here?>
Thanks for your time!
The text was updated successfully, but these errors were encountered: