istio: Index | Files

package zipkin

import ""


Package Files

kube.go zipkin.go

type Config Uses

type Config struct {
    // Cluster to be used in a multicluster environment
    Cluster resource.Cluster

    // HTTP Address of ingress gateway of the cluster to be used to install zipkin in.
    IngressAddr net.TCPAddr

type Instance Uses

type Instance interface {

    // 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, c Config) (i Instance, err error)

New returns a new instance of zipkin.

func NewOrFail Uses

func NewOrFail(t *testing.T, ctx resource.Context, c Config) 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

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 18 packages (graph). Updated 2020-11-14. Refresh now. Tools for package owners.