You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
Nova Resource:Sentry/Overview
Jump to navigation
Jump to search
Software components
- Sentry software - installed via pypi, deployed as a "package" (actually a virtualenv stored in a git repo) from operations/software/sentry
- Puppet role in operations/puppet
- Sentry MediaWiki extension reports Javascript and PHP errors caught by MediaWiki
- Buggy MediaWiki extension generates errors for testing Sentry
Instance list
- sentry-XX
- stable version of Sentry
- build instuctions: just create a jessie host and apply the
sentry
security group (opens web ports for receiving error reports and SMTP port for receiving notes on errors via email replies) and thesentry
puppet role, set up proxy if it does not exist yet, setsentry_host_name
(this is the hostname of the proxy) - sentry-alpha, sentry-alpha2...
- dev versions of Sentry
- build instuctions: create jessie host, apply the
sentry
security group and therole::puppet::self
puppet role, set up proxy if it does not exist yet, setsentry_host_name
, log in, runsudo puppet agent -tv
, go to/var/lib/git/operations/puppet
, edit code or check out gerrit patch to test, applysentry
puppet role, run puppet agent again - sentry-testwiki
- test MediaWiki installations that reports errors
- build instructions: create host, set up proxy if it does not exist yet, set up Vagrant, install
sentry
vagrant role, create/srv/vagrant/settings.d/20-Sentry.php
with<?php $wgSentryDsn = '<DSN>';
. You can get the DSN from<sentry server hostname>/docs/platforms/?pid=<project id>
. - sentry-builder
- packaging server
- build instructions: create jessie host, follow instructions in README file
See also
- Sentry project on Phabricator