metrics

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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) Consumer

func (r *Receiver) Consumer() consumer.Metrics

func (*Receiver) Export

Export implements the service Export metrics func.

Jump to

Keyboard shortcuts

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