Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetricsStability = component.StabilityLevelDevelopment TracesStability = component.StabilityLevelBeta LogsStability = component.StabilityLevelBeta )
Variables ¶
View Source
var ( Type = component.MustNewType("loadbalancing") ScopeName = "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter" )
Functions ¶
Types ¶
type TelemetryBuilder ¶ added in v0.104.0
type TelemetryBuilder struct { LoadbalancerBackendLatency metric.Int64Histogram LoadbalancerBackendOutcome metric.Int64Counter LoadbalancerNumBackendUpdates metric.Int64Counter LoadbalancerNumBackends metric.Int64Gauge LoadbalancerNumResolutions 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.104.0
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...TelemetryBuilderOption) (*TelemetryBuilder, error)
NewTelemetryBuilder provides a struct with methods to update all internal telemetry for a component
type TelemetryBuilderOption ¶ added in v0.110.0
type TelemetryBuilderOption interface {
// contains filtered or unexported methods
}
TelemetryBuilderOption applies changes to default builder.
Click to show internal directories.
Click to hide internal directories.