sentry

This module configures sentry exception tracker.
Jan Čapek

Jan Čapek

braiins

8,458 downloads

8,321 latest version

0.4 quality score

Version information

  • 0.2.0 (latest)
  • 0.1.0
released Jul 3rd 2019

Start using this module

Documentation

braiins/sentry — version 0.2.0 Jul 3rd 2019

sentry

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with sentry
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This module configures sentry exceptions tracker and analyzer. It has been tested with puppet 3.7.x on Debian systems.

Module Description

Sentry is a robust exceptions tracker and analyzer. This module sets up the sentry instance and a database backend including deployment of the required database scheme and admin user.

Setup

What sentry affects

  • the module deploys a new database with admin user (called 'sentry') only if the specified database host points to localhost. Using a non-local backend assumes presence of an empty database.

Setup Requirements OPTIONAL

Nothing special.

Usage

It is recommended/preferable to configure the site specific parameters of the main class via hiera:

sentry::db_port: '5432'
sentry::db_password: 'some-password'
sentry::backend_type: 'postgres'
sentry::deploy_super_user: false
sentry::super_user: 'admin'
sentry::super_user_email: 'admin@youradminemail.com'
sentry::http_port: '80'
sentry::url_prefix: 'yoursentrysite.com'
sentry::allowed_hosts:
  - 'yoursentrysite.com'
sentry::secret_key: 'djangosecretkey''
sentry::server_email: 'sentry@yoursitedomain.com'

The sentry class is then instantiated as follows:

class { 'sentry':
  user => 'sentryadmin',
}

Reference

Classes:

Resources:

Limitations

The module currently supports only postgres backend and has been tested on Debian Wheezy and puppet 3.7.1.

Development

Patches and improvements are welcome as pull requests for the central project github repository.

Contributors