metrics

package
v0.0.0-...-5f5bba4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithRegion

func WithRegion(region string) func(*timestreamwrite.Options)

Types

type Client

type Client interface {
	FireMetric(ctx context.Context, tableName string, metricName string, metricValue float64, region string) error
}

type TimeStream

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

func NewTimeStream

func NewTimeStream(cfg aws.Config) *TimeStream

func (*TimeStream) FireMetric

func (t *TimeStream) FireMetric(ctx context.Context, tableName string, name string, value float64, region string) error

Jump to

Keyboard shortcuts

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