opencensus

package
v0.0.0-...-5a253b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package opencensus implements a github.com/netgroup-polito/liqo/internal/trace.Tracer using opencensus as a backend.

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct{}

Adapter implements the trace.Tracer interface for OpenCensus

func (Adapter) StartSpan

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL