otelexample

package
v0.0.0-...-989b1a3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartExample

func StartExample(ctx context.Context)

StartExample uses an OpenTelemetry tracer to start a span. This is more or less straight from the documentation: https://opentelemetry.io/docs/instrumentation/go/manual/#creating-spans

Since Tracer.Start is a call through an interface, all the arguments escape to the heap.

Types

This section is empty.

Jump to

Keyboard shortcuts

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