emitter

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithTimestamp added in v0.2.0

func WithTimestamp(timestamp int64) loggregator.EmitGaugeOption

WithTimestamp overrides an envelope timestamp

Types

type LoggregatorEmitter

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

func NewLoggregatorEmitter

func NewLoggregatorEmitter(
	emitterConfig config.LoggregatorEmitterConfig,
	logger lager.Logger,
) (*LoggregatorEmitter, error)

func (*LoggregatorEmitter) Emit

type MetricsEmitter

type MetricsEmitter interface {
	Emit(metrics.MetricEnvelope)
}

type StdOutEmitter added in v0.2.0

type StdOutEmitter struct{}

StdOutEmitter ...

func (*StdOutEmitter) Emit added in v0.2.0

Emit ...

Jump to

Keyboard shortcuts

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