Documentation ¶
Index ¶
Constants ¶
View Source
const (
MetricsStability = component.StabilityLevelAlpha
)
Variables ¶
View Source
var ( Type = component.MustNewType("deltatocumulative") ScopeName = "github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatocumulativeprocessor" )
Functions ¶
Types ¶
type TelemetryBuilder ¶ added in v0.106.0
type TelemetryBuilder struct { DeltatocumulativeDatapointsDropped metric.Int64Counter DeltatocumulativeDatapointsLinear metric.Int64Counter DeltatocumulativeDatapointsProcessed metric.Int64Counter DeltatocumulativeGapsLength metric.Int64Counter DeltatocumulativeStreamsEvicted metric.Int64Counter DeltatocumulativeStreamsLimit metric.Int64Gauge DeltatocumulativeStreamsMaxStale metric.Int64Gauge DeltatocumulativeStreamsTracked metric.Int64UpDownCounter DeltatocumulativeStreamsTrackedLinear metric.Int64ObservableUpDownCounter // 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.106.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.
func WithDeltatocumulativeStreamsTrackedLinearCallback ¶ added in v0.111.0
func WithDeltatocumulativeStreamsTrackedLinearCallback(cb func() int64, opts ...metric.ObserveOption) TelemetryBuilderOption
WithDeltatocumulativeStreamsTrackedLinearCallback sets callback for observable DeltatocumulativeStreamsTrackedLinear metric.
Click to show internal directories.
Click to hide internal directories.