Versions in this module Expand all Collapse all v1 v1.0.0 Jun 23, 2023 Changes in this version + func CheckScraperMetrics(tts TestTelemetry, receiver component.ID, scraper component.ID, ...) error + type TestTelemetry struct + SpanRecorder *tracetest.SpanRecorder + func SetupTelemetry(id component.ID) (TestTelemetry, error) + func (tts *TestTelemetry) CheckExporterLogs(sentLogRecords, sendFailedLogRecords int64) error + func (tts *TestTelemetry) CheckExporterMetrics(sentMetricsPoints, sendFailedMetricsPoints int64) error + func (tts *TestTelemetry) CheckExporterTraces(sentSpans, sendFailedSpans int64) error + func (tts *TestTelemetry) CheckProcessorLogs(acceptedLogRecords, refusedLogRecords, droppedLogRecords int64) error + func (tts *TestTelemetry) CheckProcessorMetrics(acceptedMetricPoints, refusedMetricPoints, droppedMetricPoints int64) error + func (tts *TestTelemetry) CheckProcessorTraces(acceptedSpans, refusedSpans, droppedSpans int64) error + func (tts *TestTelemetry) CheckReceiverLogs(protocol string, acceptedLogRecords, droppedLogRecords int64) error + func (tts *TestTelemetry) CheckReceiverMetrics(protocol string, acceptedMetricPoints, droppedMetricPoints int64) error + func (tts *TestTelemetry) CheckReceiverTraces(protocol string, acceptedSpans, droppedSpans int64) error + func (tts *TestTelemetry) Shutdown(ctx context.Context) error + func (tts *TestTelemetry) ToExporterCreateSettings() exporter.CreateSettings + func (tts *TestTelemetry) ToProcessorCreateSettings() processor.CreateSettings + func (tts *TestTelemetry) ToReceiverCreateSettings() receiver.CreateSettings