istio: istio.io/istio/pkg/test/framework/components/zipkin Index | Files

package zipkin

import "istio.io/istio/pkg/test/framework/components/zipkin"

Index

Package Files

kube.go zipkin.go

type Instance Uses

type Instance interface {
    resource.Resource

    // QueryTraces gets at most number of limit most recent available traces from zipkin.
    // spanName filters that only trace with the given span name will be included.
    QueryTraces(limit int, spanName, annotationQuery string) ([]Trace, error)
}

Instance represents a zipkin deployment on kube

func New Uses

func New(ctx resource.Context) (i Instance, err error)

New returns a new instance of zipkin.

func NewOrFail Uses

func NewOrFail(t *testing.T, ctx resource.Context) Instance

NewOrFail returns a new zipkin instance or fails test.

type Span Uses

type Span struct {
    SpanID       string
    ParentSpanID string
    ServiceName  string
    Name         string
    ChildSpans   []*Span
}

Span represents a single span, which includes span attributes for verification TODO(bianpengyuan) consider using zipkin proto api https://github.com/istio/istio/issues/13926

type Trace Uses

type Trace struct {
    Spans []Span
}

Trace represents a trace by a collection of spans which all belong to that trace

Package zipkin imports 15 packages (graph). Updated 2019-08-06. Refresh now. Tools for package owners.