package trace

import "cloud.google.com/go/internal/trace"

Index

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.

Source Files

go18.go

Version
v0.31.0
Published
Oct 23, 2018
Platform
js/wasm
Imports
5 packages
Last checked
15 seconds ago

Tools for package owners.