package otelcol12import (3otelconsumer "go.opentelemetry.io/collector/consumer"4)56// Consumer is a combined OpenTelemetry Collector consumer which can consume7// any telemetry signal.8type Consumer interface {9otelconsumer.Traces10otelconsumer.Metrics11otelconsumer.Logs12}1314// ConsumerArguments is a common Arguments type for Flow components which can15// send data to otelcol consumers.16//17// It is expected to use ConsumerArguments as a block within the top-level18// arguments block for a component.19type ConsumerArguments struct {20Metrics []Consumer `river:"metrics,attr,optional"`21Logs []Consumer `river:"logs,attr,optional"`22Traces []Consumer `river:"traces,attr,optional"`23}2425// ConsumerExports is a common Exports type for Flow components which are26// otelcol processors or otelcol exporters.27type ConsumerExports struct {28Input Consumer `river:"input,attr"`29}303132