virtual-kubelet: github.com/virtual-kubelet/virtual-kubelet/trace/opencensus Index | Files

package opencensus

import "github.com/virtual-kubelet/virtual-kubelet/trace/opencensus"

Package opencensus implements a github.com/virtual-kubelet/virtual-kubelet/trace.Tracer using opencensus as a backend.

Use this by setting `trace.T = Adapter{}`

Index

Package Files

opencensus.go

type Adapter Uses

type Adapter struct{}

Adapter implements the trace.Tracer interface for OpenCensus

func (Adapter) StartSpan Uses

func (Adapter) StartSpan(ctx context.Context, name string) (context.Context, trace.Span)

StartSpan creates a new span from opencensus using the given name.

Package opencensus imports 7 packages (graph) and is imported by 1 packages. Updated 2019-10-17. Refresh now. Tools for package owners.