model

package
v6.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 7 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

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