import "istio.io/istio/pkg/test/framework/components/zipkin"
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 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
New returns a new instance of zipkin.
NewOrFail returns a new zipkin instance or fails test.
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
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.