cloudwatch

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package cloudwatch implements a surfacer to export metrics to AWS Cloudwatch.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CWSurfacer

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

CWSurfacer implements AWS Cloudwatch surfacer.

func New

New creates a new instance of a cloudwatch surfacer, based on the config passed in. It then hands off to a goroutine to surface metrics to cloudwatch across a buffered channel.

func (*CWSurfacer) Write

func (cw *CWSurfacer) Write(ctx context.Context, em *metrics.EventMetrics)

Write is a function defined to comply with the surfacer interface, and enables the cloudwatch surfacer to receive EventMetrics over the buffered channel.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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