harness

package
v0.0.0-...-f73c5c5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TracesToMetrics

type TracesToMetrics struct {
	connector.Traces
	Metrics func() []pmetric.Metrics
	Reset   func()
}

TracesToMetrics is a test harness for connectors that accept traces and emit metrics.

func NewTracesToMetrics

func NewTracesToMetrics(t ginkgo.FullGinkgoTInterface, factory connector.Factory, config component.Config) (*TracesToMetrics, error)

NewTracesToMetrics constructs a new TracesToMetrics test harness.

Jump to

Keyboard shortcuts

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