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: ? 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 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