sentry

package
v1.0.0-beta2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package sentry integrates the exception-tracking service Sentry with application logging.

Note that this increases the CPU and allocation cost of logging by 5-10x. If your application logs are already being aggregated (in Splunk, ElasticSearch, or something similar), consider using those tools instead.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	DSN   string `yaml:"DSN"`
	Trace trace
}

Configuration is a minimal set of parameters for Sentry integration.

func (Configuration) Build

func (c Configuration) Build() (zapcore.Core, error)

Build uses the provided configuration to construct a Sentry-backed logging core.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL