metrics

package
v0.76.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

type Sender struct {
	// contains filtered or unexported fields
}

Sender wraps a consumer.Metrics, and has a Send method which conforms to dotnet.MetricsConsumer so it can be passed into a Parser.

func NewSender

func NewSender(next consumer.Metrics, logger *zap.Logger) *Sender

func (*Sender) Send

func (s *Sender) Send(rawMetrics []dotnet.Metric)

Send accepts a slice of dotnet.Metrics, converts them to pmetric.Metrics, and sends them to the next pdata consumer. Conforms to dotnet.MetricsConsumer.

Jump to

Keyboard shortcuts

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