Documentation ¶
Index ¶
- Constants
- Variables
- func LeveledMeter(settings component.TelemetrySettings, level configtelemetry.Level) metric.Meter
- func Meter(settings component.TelemetrySettings) metric.Meterdeprecated
- func Tracer(settings component.TelemetrySettings) trace.Tracer
- func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption
- type TelemetryBuilder
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 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
Click to show internal directories.
Click to hide internal directories.