sitespeed.io icon indicating copy to clipboard operation
sitespeed.io copied to clipboard

In grafana User Timings not showing

Open narayanachilamkuri opened this issue 9 years ago • 5 comments

Hi ,

your doing excellent job. Dashboard looking very nice.

I was unable to see the user timings in the grafana I was using the latest version of Sitespeed.io:4.2.1 and even I don't know how to get the user timings :) one more thing what it mean 1st vs 3rd metrics I was giving the query but I don't know what exactly going

docker run --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:4.2.1 --webpagetest.host https://www.webpagetest.org --webpagetest.key {w_key} -n 2 --firstParty ".google.co.in" --speedIndex --video urls.txt -b firefox --graphite.host ....

Thanks

narayanachilamkuri avatar Dec 26 '16 11:12 narayanachilamkuri

Hey @narayanachilamkuri glad you like what we do, always great to hear :)

user timings

Wanna check, you have set user marks on your page? Else read this to get into it more: https://www.html5rocks.com/en/tutorials/webperformance/usertiming/

In the default graph we only support User Marks, but the measurements should also be sent (else it is a bug), the should be in the same level as the marks but called measurements, so you need to edit the graph.

1st vs 3rd metrics

We need to add more docs about that. 1st party is the content you serve your self and third party is content other companies/organizations serve (advertisement, social media buttons etc). You define a regexp that will match every request, if the match is ok, that request will be categorized as first party request. Then you can compare, how many requests on your site do you handle and how many is out of your hands. You will also get size and request/size per content type.

Hope that helps! Best Peter

soulgalore avatar Dec 26 '16 18:12 soulgalore

Hi Peter,

Thanks for your valuable response. I had some questions could you please give me some info on this

  1. Sitespeed.io does it running with cache or without cache, is it possible to customize,if how will do
  2. Is it possible to run the scenario like (home page then login and send email then logout) in site speed.io, if then how will pass this scenario.Now passing multiple urls in .txt file.
  3. Is it possible to get the result in CSV or word form. As of now I was seeing the result in html or in grafana only graphs visible.
  4. How can I use the coach and pagexray with docker.
  5. Is it possible to use mobile throttling ,does it possible to customise the bandwith.

I was doing POC for sitespeed.io so I had some questions to analyse ,but unable to get info from documents.

Thanks

narayanachilamkuri avatar Dec 27 '16 11:12 narayanachilamkuri

Hi @narayanachilamkuri

Sitespeed.io does it running with cache or without cache, is it possible to customize,if how will do

By default the browser cache is empty. We don't do anything about OS caches (DNS etc). You can try "repeat" view or even better second view (visit one page and then access another page) using the preScript functionality.

Is it possible to run the scenario like (home page then login and send email then logout) in site speed.io, if then how will pass this scenario.Now passing multiple urls in .txt file.

No not really. In that case what do you want to measure? I've seen that kind of requirements before and I have a hard time to see how it will work, I think it will be a lot of noise. Would love to see though if there's a tool out there that has implemented it :)

Is it possible to get the result in CSV or word form. As of now I was seeing the result in html or in grafana only graphs visible.

No, but you could build your own plugin for that.

How can I use the coach and pagexray with docker.

It is included in sitespeed.io, so the coach result is presented in the result pages and metrics sent to Graphite. We internally use PageXray to convert the HAR to more understandable info about a page. Coach also has it own Docker container.

Is it possible to use mobile throttling ,does it possible to customise the bandwith.

It use the current bandwith. You can use Sams https://github.com/phuedx/micro-device-lab that is super cool, but with the current version it is quite much work to get it up and running but he is working on simplifying it (to have a ready Raspberry image). You could also share your own desktop connection, but I haven't had time to investigate how that would work.

Best Peter

soulgalore avatar Dec 27 '16 19:12 soulgalore

Thank you so much for valuable info Peter

narayanachilamkuri avatar Dec 28 '16 04:12 narayanachilamkuri

Original issue fixed, closing.

soulgalore avatar Mar 06 '17 09:03 soulgalore