model

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Name    string
	Version string
}

type Framework

type Framework struct {
	Name    *string
	Version *string
}

type Language

type Language struct {
	Name    *string
	Version *string
}

type Process

type Process struct {
	Pid   int
	Title *string
	Argv  []string
}

func (*Process) Transform

func (p *Process) Transform() common.MapStr

type Runtime

type Runtime struct {
	Name    *string
	Version *string
}

type Service

type Service struct {
	Name        string
	Version     *string
	Environment *string
	Language    Language
	Runtime     Runtime
	Framework   Framework
	Agent       Agent
}

func (*Service) MinimalTransform

func (s *Service) MinimalTransform() common.MapStr

func (*Service) Transform

func (s *Service) Transform() common.MapStr

type Sourcemap

type Sourcemap struct {
	Updated *bool
	Error   *string
}

type Stacktrace

type Stacktrace []*StacktraceFrame

func (Stacktrace) Transform

func (st Stacktrace) Transform(config *pr.Config, service Service) []common.MapStr

type StacktraceFrame

type StacktraceFrame struct {
	AbsPath      *string `mapstructure:"abs_path"`
	Filename     string
	Lineno       int
	Colno        *int
	ContextLine  *string `mapstructure:"context_line"`
	Module       *string
	Function     *string
	LibraryFrame *bool `mapstructure:"library_frame"`
	Vars         common.MapStr
	PreContext   []string `mapstructure:"pre_context"`
	PostContext  []string `mapstructure:"post_context"`

	ExcludeFromGrouping bool

	Sourcemap Sourcemap
}

func (*StacktraceFrame) Transform

func (s *StacktraceFrame) Transform(config *pr.Config) common.MapStr

type System

type System struct {
	Hostname     *string
	Architecture *string
	Platform     *string
}

func (*System) Transform

func (s *System) Transform() common.MapStr

type TransformProcess

type TransformProcess func(a *Process) common.MapStr

type TransformService

type TransformService func(a *Service) common.MapStr

Jump to

Keyboard shortcuts

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