virtual-kubelet: Index | Files

package opencensus

import ""

Package opencensus implements a using opencensus as a backend.

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


Package Files


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.