model

package
v0.0.0-...-449df0f Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2017 License: Apache-2.0 Imports: 2 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 `json:"name"`
	Version string `json:"version"`
}

type App

type App struct {
	Name         string    `json:"name"`
	Version      *string   `json:"version"`
	Pid          *int      `json:"pid"`
	ProcessTitle *string   `json:"process_title"`
	Argv         []string  `json:"argv"`
	Language     Language  `json:"language"`
	Runtime      Runtime   `json:"runtime"`
	Framework    Framework `json:"framework"`
	Agent        Agent     `json:"agent"`
	GitRef       *string   `json:"git_ref"`
}

func (*App) MinimalTransform

func (a *App) MinimalTransform() common.MapStr

func (*App) Transform

func (a *App) Transform() common.MapStr

type DocMapping

type DocMapping struct {
	Key   string
	Apply func() common.MapStr
}

type Framework

type Framework struct {
	Name    *string `json:"name"`
	Version *string `json:"version"`
}

type Language

type Language struct {
	Name    *string `json:"name"`
	Version *string `json:"version"`
}

type Runtime

type Runtime struct {
	Name    *string `json:"name"`
	Version *string `json:"version"`
}

type Stacktrace

type Stacktrace struct {
	Frames         StacktraceFrames
	TransformFrame TransformStacktraceFrame
}

func (*Stacktrace) Transform

func (s *Stacktrace) Transform() []common.MapStr

type StacktraceFrame

type StacktraceFrame struct {
	AbsPath     *string       `json:"abs_path"`
	Filename    string        `json:"filename"`
	Lineno      int           `json:"lineno"`
	Colno       *int          `json:"colno"`
	ContextLine *string       `json:"context_line"`
	Module      *string       `json:"module"`
	Function    *string       `json:"function"`
	InApp       *bool         `json:"in_app"`
	Vars        common.MapStr `json:"vars"`
	PreContext  []string      `json:"pre_context"`
	PostContext []string      `json:"post_context"`
}

func (*StacktraceFrame) Transform

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

type StacktraceFrames

type StacktraceFrames []StacktraceFrame

type System

type System struct {
	Hostname     *string `json:"hostname"`
	Architecture *string `json:"architecture"`
	Platform     *string `json:"platform"`
}

func (*System) Transform

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

type TransformApp

type TransformApp func(a *App) common.MapStr

type TransformStacktrace

type TransformStacktrace func(s *Stacktrace) []common.MapStr

type TransformStacktraceFrame

type TransformStacktraceFrame func(s *StacktraceFrame) common.MapStr

Jump to

Keyboard shortcuts

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