Ryan Lane has submitted this change and it was merged.
Change subject: Add Ganglia view for NavigationTiming data
......................................................................
Add Ganglia view for NavigationTiming data
This patch adds a Ganglia view of user-perceived latency measurements,
collected via the NavigationTiming extension.
Change-Id: I0dad3d8288b33b563f9978e5f24a3bc0d06b45b9
---
M manifests/misc/monitoring.pp
1 file changed, 55 insertions(+), 1 deletion(-)
Approvals:
Ryan Lane: Looks good to me, approved
jenkins-bot: Verified
diff --git a/manifests/misc/monitoring.pp b/manifests/misc/monitoring.pp
index b89f5f4..faa6028 100644
--- a/manifests/misc/monitoring.pp
+++ b/manifests/misc/monitoring.pp
@@ -94,6 +94,7 @@
kafka_broker_host_regex => 'analytics102[12].eqiad.wmnet',
kafka_producer_host_regex => 'analytics100[689].eqiad.wmnet',
}
+ class { 'misc::monitoring::view::perceived_latency': }
}
# == Define misc:monitoring::view::udp2log
@@ -244,4 +245,57 @@
},
],
}
-}
\ No newline at end of file
+}
+
+
+# == Class: misc::monitoring::view::perceived_latency
+#
+# A Ganglia view of user-perceived latency measurements, collected via
+# the NavigationTiming extension
(https://www.mediawiki.org/wiki/NavigationTiming).
+#
+class misc::monitoring::view::perceived_latency {
+ ganglia::view { 'perceived_latency':
+ graphs => [
+ {
+ title => 'DNS (domainLookupEnd -
domainLookupStart)',
+ host_regex => 'client-side',
+ metric_regex =>
'^browser.dnsLookup.(desktop|mobile)_median$',
+ },
+ {
+ title => 'Connecting (connectEnd -
connectStart)',
+ host_regex => 'client-side',
+ metric_regex =>
'^browser.connecting.(desktop|mobile)_median$',
+ },
+ {
+ title => 'Sending (fetchStart -
navStart)',
+ host_regex => 'client-side',
+ metric_regex =>
'^browser.sending.(desktop|mobile)_median$',
+ },
+ {
+ title => 'Waiting (responseStart -
requestStart)',
+ host_regex => 'client-side',
+ metric_regex =>
'^browser.waiting.(desktop|mobile)_median$',
+ },
+ {
+ title => 'Receiving (responseEnd -
responseStart)',
+ host_regex => 'client-side',
+ metric_regex =>
'^browser.receiving.(desktop|mobile)_median$',
+ },
+ {
+ title => 'Rendering (loadEventEnd -
responseEnd)',
+ host_regex => 'client-side',
+ metric_regex =>
'^browser.rendering.(desktop|mobile)_median$',
+ },
+ {
+ title => 'Loading (loadEventStart -
navStart)',
+ host_regex => 'client-side',
+ metric_regex =>
'^browser.loading.(desktop|mobile)_median$',
+ },
+ {
+ title => 'Redirecting (redirectEnd -
redirectStart)',
+ host_regex => 'client-side',
+ metric_regex =>
'^browser.redirecting.(desktop|mobile)_median$',
+ },
+ ],
+ }
+}
--
To view, visit https://gerrit.wikimedia.org/r/83198
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0dad3d8288b33b563f9978e5f24a3bc0d06b45b9
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Ryan Lane <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits