metadata

package
v0.0.0-...-c75119f Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TracesStability = component.StabilityLevelAlpha
)

Variables

View Source
var (
	Type      = component.MustNewType("atlassian_sampling")
	ScopeName = "github.com/atlassian-labs/atlassian-sampling-processor/pkg/processor/atlassiansamplingprocessor"
)

Functions

func Meter

func Meter(settings component.TelemetrySettings) metric.Meter

func Tracer

func Tracer(settings component.TelemetrySettings) trace.Tracer

Types

type TelemetryBuilder

type TelemetryBuilder struct {
	ProcessorAtlassianSamplingCacheReads                         metric.Int64Counter
	ProcessorAtlassianSamplingChanBlockingTime                   metric.Int64Histogram
	ProcessorAtlassianSamplingDecisionEvictionTime               metric.Float64Gauge
	ProcessorAtlassianSamplingInternalErrorDroppedSpans          metric.Int64Counter
	ProcessorAtlassianSamplingOverlyEagerLonelyRootSpanDecisions metric.Int64Counter
	ProcessorAtlassianSamplingPolicyDecisions                    metric.Int64Counter
	ProcessorAtlassianSamplingPrimaryCacheSize                   metric.Int64Gauge
	ProcessorAtlassianSamplingTraceEvictionTime                  metric.Float64Gauge
	ProcessorAtlassianSamplingTracesNotSampled                   metric.Int64Counter
	ProcessorAtlassianSamplingTracesSampled                      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

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

type TelemetryBuilderOption interface {
	// contains filtered or unexported methods
}

TelemetryBuilderOption applies changes to default builder.

Jump to

Keyboard shortcuts

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