metadata

package
v0.108.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TracesToMetricsStability = component.StabilityLevelAlpha
)

Variables

View Source
var (
	Type      = component.MustNewType("servicegraph")
	ScopeName = "github.com/open-telemetry/opentelemetry-collector-contrib/connector/servicegraphconnector"
)

Functions

func LeveledMeter added in v0.108.0

func LeveledMeter(settings component.TelemetrySettings, level configtelemetry.Level) metric.Meter

func Meter deprecated added in v0.92.0

func Meter(settings component.TelemetrySettings) metric.Meter

Deprecated: [v0.108.0] use LeveledMeter instead.

func Tracer added in v0.92.0

func Tracer(settings component.TelemetrySettings) trace.Tracer

func WithLevel added in v0.102.0

func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption

WithLevel sets the current telemetry level for the component.

Types

type TelemetryBuilder added in v0.102.0

type TelemetryBuilder struct {
	ConnectorServicegraphDroppedSpans metric.Int64Counter
	ConnectorServicegraphExpiredEdges metric.Int64Counter
	ConnectorServicegraphTotalEdges   metric.Int64Counter
	// contains filtered or unexported fields
}

TelemetryBuilder provides an interface for components to report telemetry as defined in metadata and user config.

func NewTelemetryBuilder added in v0.102.0

func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error)

NewTelemetryBuilder provides a struct with methods to update all internal telemetry for a component

Jump to

Keyboard shortcuts

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