metrics

package
v0.1.1-dev Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricService

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

func NewMetricService

func NewMetricService(client *cloudwatch.Client, startTime, endTime time.Time) *MetricService

func (*MetricService) GetAverageMetric

func (ms *MetricService) GetAverageMetric(clusterName string, metricName string, node *int) (float64, error)

func (*MetricService) GetPeakMetric

func (ms *MetricService) GetPeakMetric(clusterName string, metricName string, node *int) (float64, error)

func (*MetricService) GetServerlessAverageMetric

func (ms *MetricService) GetServerlessAverageMetric(clusterName string, metricName string) (float64, error)

func (*MetricService) GetServerlessPeakMetric

func (ms *MetricService) GetServerlessPeakMetric(clusterName string, metricName string) (float64, error)

Jump to

Keyboard shortcuts

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