pusher

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pusher

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

Pusher the metrics pusher.

func NewPusher

func NewPusher(cloudwatchClient types.CloudwatchInterface) *Pusher

NewPusher creates a new metrics pusher.

func (*Pusher) Push

func (p *Pusher) Push(ctx context.Context, namespace string, metricData []awstypes.MetricDatum) error

Push the metrics.

Jump to

Keyboard shortcuts

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