bump django-statsd and send extra timing

This commit is contained in:
Andy McKay 2012-07-13 16:46:37 -07:00
Родитель a5f9d51688
Коммит de78965c2b
3 изменённых файлов: 15 добавлений и 9 удалений

Просмотреть файл

@ -26,14 +26,18 @@ var send = function(data) {
exports.basic = function() { exports.basic = function() {
/* Sends the timing data to the given URL */ /* Sends the timing data to the given URL */
if (z.capabilities.performance) { if (z.capabilities.performance) {
send({ setTimeout(function() {
'window.performance.timing.navigationStart': perf.timing.navigationStart, send({
'window.performance.timing.domComplete': perf.timing.domComplete, 'window.performance.timing.navigationStart': perf.timing.navigationStart,
'window.performance.timing.domInteractive': perf.timing.domInteractive, 'window.performance.timing.domComplete': perf.timing.domComplete,
'window.performance.timing.domLoading': perf.timing.domLoading, 'window.performance.timing.domInteractive': perf.timing.domInteractive,
'window.performance.navigation.redirectCount': perf.navigation.redirectCount, 'window.performance.timing.domLoading': perf.timing.domLoading,
'window.performance.navigation.type': perf.navigation.type, 'window.performance.timing.loadEventEnd': perf.timing.loadEventEnd,
}); 'window.performance.timing.responseStart': perf.timing.responseStart,
'window.performance.navigation.redirectCount': perf.navigation.redirectCount,
'window.performance.navigation.type': perf.navigation.type,
})
}, 1000);
} }
}; };

Просмотреть файл

@ -239,6 +239,8 @@ STATSD_RECORD_KEYS = [
'window.performance.timing.domComplete', 'window.performance.timing.domComplete',
'window.performance.timing.domInteractive', 'window.performance.timing.domInteractive',
'window.performance.timing.domLoading', 'window.performance.timing.domLoading',
'window.performance.timing.loadEventEnd',
'window.performance.timing.responseStart',
'window.performance.timing.fragment.loaded', 'window.performance.timing.fragment.loaded',
'window.performance.navigation.redirectCount', 'window.performance.navigation.redirectCount',
'window.performance.navigation.type', 'window.performance.navigation.type',

2
vendor

@ -1 +1 @@
Subproject commit b26919075fb2dc85af0bb98448c656dd449f47c2 Subproject commit cc1aa8ccf7af4605df0551dd6eb0a9d00ed48da1