instrumentation

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 0 Imported by: 151

README

SDK Instrumentation

PkgGoDev

Documentation

Overview

Package instrumentation provides types to represent the code libraries that provide OpenTelemetry instrumentation. These types are used in the OpenTelemetry signal pipelines to identify the source of telemetry.

See https://github.com/open-telemetry/oteps/blob/d226b677d73a785523fe9b9701be13225ebc528d/text/0083-component.md and https://github.com/open-telemetry/oteps/blob/d226b677d73a785523fe9b9701be13225ebc528d/text/0201-scope-attributes.md for more information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Library deprecated

type Library = Scope

Library represents the instrumentation library.

Deprecated: 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