GitHub PushEvent at 2014-07-08 14:23:06
Repository: performanceplatform-collector
Actor: tombooth
Payload: {"shas":[["cb1dbad27d6f3627758fb438bc8f7cc0a9fa1ee7","d2b6ff7add0f9531005aef77f2bf1fa4be9e9dae@gmail.com","Convert avgSessionDuration metrics from s to ms\n\nGoogle Analytics returns avgSessionDuration metrics in seconds, but\neverywhere in Backdrop and Spotlight expects duration metrics to be\nin milliseconds.\n\nAfter discussion, we have decided it's best to serve our data up\nconsistently. So convert avgSessionDuration metrics to ms as\npart of collection.\n\nThis field is used for the \"time taken to complete transaction\"\ngraph.\n\nClearly it would be better to convert all metrics with a data-type\nof type \"time\", or all metrics named duration, rather than just\nlooking for this specific metric. However despite much hunting\nthrough Google Analytics API documentation, and a question to\nthe forums, I still can't establish whether the API uses seconds\nconsistently or whether this is set on a per-field basis.\n\nSo I have erred on the side of caution, and only converted this\nfield to milliseconds. Our API documentation should state that we\nreturn all time fields in milliseconds.","Anna Powell-Smith",false],["8db8713f90bd8fb9690f0c329c441f7fecb1560e","6e36c44ffc54c164e3d870bde661a38acace11ad@users.noreply.github.com","Merge pull request #71 from alphagov/feature/convert-session-duration-metric-to-ms\n\nConvert avgSessionDuration metrics from s to ms","Tom Booth",true]],"size":2,"ref":"refs/heads/master","head":"8db8713f90bd8fb9690f0c329c441f7fecb1560e"}