Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestLogs ¶
logJson should match format from the protobuf definition: https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto
func CreateTestMetrics ¶
metricJson should match format from the protobuf definition: https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/metrics/v1/metrics.proto
func CreateTestTraces ¶
traceJson should match format from the protobuf definition: https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/trace/v1/trace.proto
func TestRunProcessor ¶
func TestRunProcessor(c ProcessorRunConfig)
Types ¶
type ProcessorRunConfig ¶
type Signal ¶
type Signal interface { MakeOutput() *otelcol.ConsumerArguments ConsumeInput(ctx context.Context, consumer otelcol.Consumer) error CheckOutput(t *testing.T) }
func NewLogSignal ¶
func NewMetricSignal ¶
func NewTraceSignal ¶
func NewTraceToLogSignal ¶ added in v0.37.0
Click to show internal directories.
Click to hide internal directories.