transaction

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

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 Dropped

type Dropped struct {
	Total *int
}

type Event

type Event struct {
	Id        string
	Name      string
	Type      string
	Result    *string
	Duration  float64
	Timestamp time.Time
	Context   common.MapStr
	Spans     []Span
	Marks     common.MapStr
	Sampled   *bool
	SpanCount SpanCount `mapstructure:"span_count"`
}

func (*Event) DocType

func (ev *Event) DocType() string

func (*Event) Mappings

func (t *Event) Mappings(pa *payload) (time.Time, []utility.DocMapping)

func (*Event) Transform

func (ev *Event) Transform() common.MapStr

type Span

type Span struct {
	Id         *int
	Name       string
	Type       string
	Start      float64
	Duration   float64
	Stacktrace m.Stacktrace `mapstructure:"stacktrace"`
	Context    common.MapStr
	Parent     *int
}

func (*Span) DocType

func (s *Span) DocType() string

func (*Span) Mappings

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

func (*Span) Transform

func (s *Span) Transform(config *pr.Config, service m.Service) common.MapStr

type SpanCount

type SpanCount struct {
	Dropped Dropped
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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