Nuria has uploaded a new change for review.
https://gerrit.wikimedia.org/r/197411
Change subject: [WIP] Testing pageviews and logster and wikimetrics
......................................................................
[WIP] Testing pageviews and logster and wikimetrics
Change-Id: If7e750844ecdbb5012d0cbdc4e796a790a1f00d3
---
M manifests/role/wikimetrics.pp
1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/11/197411/1
diff --git a/manifests/role/wikimetrics.pp b/manifests/role/wikimetrics.pp
index 88c6ea4..38b2353 100644
--- a/manifests/role/wikimetrics.pp
+++ b/manifests/role/wikimetrics.pp
@@ -334,4 +334,15 @@
group => $wikimetrics_group,
require => File["${public_directory}/datafiles"]
}
+
+ # Test using logster to send wikimetrics stats to statsd -> graphite.
+ # hardcoded labs statsdhost: labmon1001.eqiad.wmnet
+ # TODO: this should only run on prod, not staging
+ logster::job { 'wikimetrics-apache-visits':
+ minute => '*/1',
+ parser => 'LineCountLogster
--regex=\"report|cohort|metrics|login|about|contact\" ',
+ logfile => '/var/log/apache2/access.wikimetrics.log',
+ logster_options => "-o statsd
--statsd-host=labmon1001.equiad.wmnet:8125 --metric-prefix='wikimetrics'",
+ require => Class['role::cache::varnish::statsd'],
+ }
}
--
To view, visit https://gerrit.wikimedia.org/r/197411
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If7e750844ecdbb5012d0cbdc4e796a790a1f00d3
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Nuria <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits