error

package
v6.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: Apache-2.0 Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProcessor

func NewProcessor(config *pr.Config) pr.Processor

func Schema

func Schema() string

Types

type Event

type Event struct {
	Id          *string
	Culprit     *string
	Context     common.MapStr
	Exception   *Exception
	Log         *Log
	Timestamp   time.Time
	Transaction *struct {
		Id string
	}
	// contains filtered or unexported fields
}

func (*Event) DocType

func (e *Event) DocType() string

func (*Event) Mappings

func (e *Event) Mappings(config *pr.Config, pa *payload) (time.Time, []utility.DocMapping)

func (*Event) Transform

func (e *Event) Transform(config *pr.Config, service m.Service) common.MapStr

type Exception

type Exception struct {
	Code       interface{}
	Message    string
	Module     *string
	Attributes interface{}
	Stacktrace m.Stacktrace `mapstructure:"stacktrace"`
	Type       *string
	Handled    *bool
}

type Log

type Log struct {
	Level        *string
	Message      string
	ParamMessage *string      `mapstructure:"param_message"`
	LoggerName   *string      `mapstructure:"logger_name"`
	Stacktrace   m.Stacktrace `mapstructure:"stacktrace"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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