instrumentation

package
Version: v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 0 Imported by: 25

Documentation

Overview

Package instrumentation provides an instrumentation library structure to be passed to both the OpenTelemetry Tracer and Meter components.

For more information see [this](https://github.com/open-telemetry/oteps/blob/main/text/0083-component.md).

Package instrumentation provides an instrumentation scope structure to be passed to both the OpenTelemetry Tracer and Meter components.

For more information see [this](https://github.com/open-telemetry/oteps/blob/main/text/0083-component.md).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Library

type Library = Scope

Library represents the instrumentation library. Deprecated: please use Scope instead.

type Scope added in v1.8.0

type Scope struct {
	// Name is the name of the instrumentation scope. This should be the
	// Go package name of that scope.
	Name string
	// Version is the version of the instrumentation scope.
	Version string
	// SchemaURL of the telemetry emitted by the scope.
	SchemaURL string
}

Scope represents the instrumentation scope.

Jump to

Keyboard shortcuts

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