trace

package module
v0.0.0-...-e4eb804 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package sample contains a sample plugin for OpenTelemetry distributed tracing.

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register() error

Register enables instrumenting an imaginary Sample application using Sample plugin.

Example
package main

import (
	"go.opentelemetry.io/contrib/plugins/sample/trace"
)

func main() {
	// Register with Sample plugin
	_ = trace.Register()

}
Output:

Types

This section is empty.

Jump to

Keyboard shortcuts

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