models

package
v0.0.0-...-ad28df0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotation

type Annotation struct {

	/* Endpoint endpoint
	 */
	Endpoint *Endpoint `json:"endpoint,omitempty"`

	/* Timestamp timestamp
	 */
	Timestamp *int64 `json:"timestamp,omitempty"`

	/* Value value
	 */
	Value *string `json:"value,omitempty"`
}

Annotation Annotation

swagger:model Annotation

func (*Annotation) Validate

func (m *Annotation) Validate(formats strfmt.Registry) error

Validate validates this annotation

type AnnotationType

type AnnotationType int64
const (
	AnnotationType_BOOL   AnnotationType = 0
	AnnotationType_BYTES  AnnotationType = 1
	AnnotationType_I16    AnnotationType = 2
	AnnotationType_I32    AnnotationType = 3
	AnnotationType_I64    AnnotationType = 4
	AnnotationType_DOUBLE AnnotationType = 5
	AnnotationType_STRING AnnotationType = 6
)

func (AnnotationType) Addr

func (v AnnotationType) Addr() *int64

type AnnotationValue

type AnnotationValue string
const (
	AnnotationValue_CLIENT_SEND          AnnotationValue = "cs"
	AnnotationValue_CLIENT_RECV          AnnotationValue = "cr"
	AnnotationValue_SERVER_SEND          AnnotationValue = "ss"
	AnnotationValue_SERVER_RECV          AnnotationValue = "sr"
	AnnotationValue_WIRE_SEND            AnnotationValue = "ws"
	AnnotationValue_WIRE_RECV            AnnotationValue = "wr"
	AnnotationValue_CLIENT_SEND_FRAGMENT AnnotationValue = "csf"
	AnnotationValue_CLIENT_RECV_FRAGMENT AnnotationValue = "crf"
	AnnotationValue_SERVER_SEND_FRAGMENT AnnotationValue = "ssf"
	AnnotationValue_SERVER_RECV_FRAGMENT AnnotationValue = "srf"
)

func (AnnotationValue) Addr

func (v AnnotationValue) Addr() *string

type BinaryAnnotation

type BinaryAnnotation struct {

	/* AnnotationType annotation type
	 */
	AnnotationType *int64 `json:"annotation_type,omitempty"`

	/* Endpoint endpoint
	 */
	Endpoint *Endpoint `json:"endpoint,omitempty"`

	/* Key key
	 */
	Key *string `json:"key,omitempty"`

	/* Value value
	 */
	Value *string `json:"value,omitempty"`
}

BinaryAnnotation BinaryAnnotation

swagger:model BinaryAnnotation

func (*BinaryAnnotation) Validate

func (m *BinaryAnnotation) Validate(formats strfmt.Registry) error

Validate validates this binary annotation

type BinaryAnnotationKey

type BinaryAnnotationKey string
const (
	BinaryAnnotationKey_LOCAL_COMPONENT BinaryAnnotationKey = "lc"
	BinaryAnnotationKey_CLIENT_ADDR     BinaryAnnotationKey = "ca"
	BinaryAnnotationKey_SERVER_ADDR     BinaryAnnotationKey = "sa"
)

func (BinaryAnnotationKey) Addr

func (v BinaryAnnotationKey) Addr() *string
type DependencyLink struct {

	/* CallCount call count
	 */
	CallCount *int64 `json:"callCount,omitempty"`

	/* Child child
	 */
	Child *string `json:"child,omitempty"`

	/* Parent parent
	 */
	Parent *string `json:"parent,omitempty"`
}

DependencyLink DependencyLink

swagger:model DependencyLink

func (*DependencyLink) Validate

func (m *DependencyLink) Validate(formats strfmt.Registry) error

Validate validates this dependency link

type Endpoint

type Endpoint struct {

	/* IPV4 ipv4
	 */
	IPV4 *string `json:"ipv4,omitempty"`

	/* Port port
	 */
	Port *int64 `json:"port,omitempty"`

	/* ServiceName service name
	 */
	ServiceName *string `json:"serviceName,omitempty"`
}

Endpoint Endpoint

swagger:model Endpoint

func (*Endpoint) Validate

func (m *Endpoint) Validate(formats strfmt.Registry) error

Validate validates this endpoint

type ListOfSpans

type ListOfSpans []*Span

ListOfSpans ListOfSpans

A list of spans with possibly different trace ids, in no particular order

swagger:model ListOfSpans

func (ListOfSpans) Validate

func (m ListOfSpans) Validate(formats strfmt.Registry) error

Validate validates this list of spans

type ListOfTraces

type ListOfTraces []Trace

ListOfTraces ListOfTraces

swagger:model ListOfTraces

func (ListOfTraces) Validate

func (m ListOfTraces) Validate(formats strfmt.Registry) error

Validate validates this list of traces

type Span

type Span struct {

	/* ListOfAnnotations
	 */
	Annotations []*Annotation `json:"annotations,omitempty"`

	/* ListOfBinaryAnnotations
	 */
	BinaryAnnotations []*BinaryAnnotation `json:"binaryAnnotations,omitempty"`

	/* Debug debug
	 */
	Debug *bool `json:"debug,omitempty"`

	/* Duration duration
	 */
	Duration *int64 `json:"duration,omitempty"`

	/* ID id
	 */
	ID *string `json:"id,omitempty"`

	/* Name name
	 */
	Name *string `json:"name,omitempty"`

	/* ParentID parent id
	 */
	ParentID *string `json:"parentId,omitempty"`

	/* Timestamp timestamp
	 */
	Timestamp int64 `json:"timestamp,omitempty"`

	/* TraceID trace id
	 */
	TraceID *string `json:"traceId,omitempty"`
}

Span Span

swagger:model Span

func (*Span) Validate

func (m *Span) Validate(formats strfmt.Registry) error

Validate validates this span

type Trace

type Trace []*Span

Trace Trace

List of spans who have the same trace id. Spans in the trace, and annotations in a span are sorted ascending by timestamp. ie first event should be first in the spans list.

swagger:model Trace

func (Trace) Validate

func (m Trace) Validate(formats strfmt.Registry) error

Validate validates this trace

Jump to

Keyboard shortcuts

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