Versions in this module Expand all Collapse all v1 v1.0.0 Jun 23, 2023 Changes in this version + var ExampleConnectorFactory = connector.NewFactory(connType, createExampleConnectorDefaultConfig, ...) + var ExampleExporterFactory = exporter.NewFactory(typeStr, createExporterDefaultConfig, ...) + var ExampleProcessorFactory = processor.NewFactory(procType, createDefaultConfig, ...) + var ExampleReceiverFactory = receiver.NewFactory(receiverType, createReceiverDefaultConfig, ...) + var ExampleRouterFactory = connector.NewFactory(routerType, createExampleRouterDefaultConfig, ...) + type ExampleConnector struct + func (c *ExampleConnector) Capabilities() consumer.Capabilities + func (cs *ExampleConnector) Shutdown(_ context.Context) error + func (cs *ExampleConnector) Start(_ context.Context, _ component.Host) error + func (cs *ExampleConnector) Started() bool + func (cs *ExampleConnector) Stopped() bool + type ExampleExporter struct + Logs []plog.Logs + Metrics []pmetric.Metrics + Traces []ptrace.Traces + func (cs *ExampleExporter) Shutdown(_ context.Context) error + func (cs *ExampleExporter) Start(_ context.Context, _ component.Host) error + func (cs *ExampleExporter) Started() bool + func (cs *ExampleExporter) Stopped() bool + func (exp *ExampleExporter) Capabilities() consumer.Capabilities + func (exp *ExampleExporter) ConsumeLogs(_ context.Context, ld plog.Logs) error + func (exp *ExampleExporter) ConsumeMetrics(_ context.Context, md pmetric.Metrics) error + func (exp *ExampleExporter) ConsumeTraces(_ context.Context, td ptrace.Traces) error + type ExampleProcessor struct + func (cs *ExampleProcessor) Shutdown(_ context.Context) error + func (cs *ExampleProcessor) Start(_ context.Context, _ component.Host) error + func (cs *ExampleProcessor) Started() bool + func (cs *ExampleProcessor) Stopped() bool + func (ep *ExampleProcessor) Capabilities() consumer.Capabilities + type ExampleReceiver struct + func (cs *ExampleReceiver) Shutdown(_ context.Context) error + func (cs *ExampleReceiver) Start(_ context.Context, _ component.Host) error + func (cs *ExampleReceiver) Started() bool + func (cs *ExampleReceiver) Stopped() bool + type ExampleRouter struct + func (cs *ExampleRouter) Shutdown(_ context.Context) error + func (cs *ExampleRouter) Start(_ context.Context, _ component.Host) error + func (cs *ExampleRouter) Started() bool + func (cs *ExampleRouter) Stopped() bool + func (r *ExampleRouter) Capabilities() consumer.Capabilities + func (r *ExampleRouter) ConsumeLogs(ctx context.Context, ld plog.Logs) error + func (r *ExampleRouter) ConsumeMetrics(ctx context.Context, md pmetric.Metrics) error + func (r *ExampleRouter) ConsumeTraces(ctx context.Context, td ptrace.Traces) error + type ExampleRouterConfig struct + Logs *LeftRightConfig + Metrics *LeftRightConfig + Traces *LeftRightConfig + type LeftRightConfig struct + Left component.ID + Right component.ID