Ryan Lane has submitted this change and it was merged.
Change subject: Tee centralauth wfDebug()s to vanadium for Gangliafication
......................................................................
Tee centralauth wfDebug()s to vanadium for Gangliafication
This is a little hacky, but I've done this enough times now that I'm pretty
sure I could get something useful set up in time for the HTTPS deployments
tomorrow. I'll remove it when things stabilize.
Change-Id: Ie4a931131257bde7f1420f38239cda6803c49783
---
M manifests/role/logging.pp
M templates/udp2log/filters.mw.erb
2 files changed, 4 insertions(+), 0 deletions(-)
Approvals:
Ryan Lane: Looks good to me, approved
jenkins-bot: Verified
diff --git a/manifests/role/logging.pp b/manifests/role/logging.pp
index 34dd726..7e812ec 100644
--- a/manifests/role/logging.pp
+++ b/manifests/role/logging.pp
@@ -58,6 +58,9 @@
template_variables => {
error_processor_host => $error_processor_host,
error_processor_port => 8423,
+ # Quick hack to get authentication metrics in Ganglia (ori-l,
20-Aug-2013):
+ centralauth_log_processor_host => $error_processor_host,
+ centralauth_log_processor_port => 8324,
},
}
diff --git a/templates/udp2log/filters.mw.erb b/templates/udp2log/filters.mw.erb
index 7fb1129..6fdf01b 100644
--- a/templates/udp2log/filters.mw.erb
+++ b/templates/udp2log/filters.mw.erb
@@ -2,3 +2,4 @@
# Relay MediaWiki exceptions and fatals to vanadium for generating reports.
pipe 1 egrep '^(fatal|exception)' | /usr/bin/log2udp -h <%=
@template_variables['error_processor_host'] %> -p <%=
@template_variables['error_processor_port'] %>
+pipe 1 egrep '^centralauth' | /usr/bin/log2udp -h <%=
@template_variables['centralauth_log_processor_host'] %> -p <%=
@template_variables['centralauth_log_processor_port'] %>
--
To view, visit https://gerrit.wikimedia.org/r/80164
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie4a931131257bde7f1420f38239cda6803c49783
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Greg Grossmeier <[email protected]>
Gerrit-Reviewer: Ryan Lane <[email protected]>
Gerrit-Reviewer: Tim Starling <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits