trace

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package trace provides support for OpenCensus tracing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EndSpan

func EndSpan(ctx context.Context, err error)

EndSpan ends a span with the given error.

func StartSpan

func StartSpan(ctx context.Context, name string) context.Context

StartSpan adds a span to the trace with the given name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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