Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Receiver ¶
type Receiver struct { pmetricotlp.UnimplementedGRPCServer // contains filtered or unexported fields }
Receiver is the type used to handle metrics from OpenTelemetry exporters.
func New ¶
func New(nextConsumer consumer.Metrics, obsrecv *receiverhelper.ObsReport) *Receiver
New creates a new Receiver reference.
func (*Receiver) Export ¶
func (r *Receiver) Export(ctx context.Context, req pmetricotlp.ExportRequest) (pmetricotlp.ExportResponse, error)
Export implements the service Export metrics func.
Click to show internal directories.
Click to hide internal directories.