custom

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SPDCustomMetricStore = "spd-metric-store"
)

Variables

This section is empty.

Functions

Types

type SPDMetricStore

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

func (*SPDMetricStore) GetMetric

func (s *SPDMetricStore) GetMetric(_ context.Context, namespace, metricName, _ string, _ *schema.GroupResource,
	_, metricSelector labels.Selector, _ bool,
) ([]types.Metric, error)

func (*SPDMetricStore) InsertMetric

func (s *SPDMetricStore) InsertMetric(_ []*data.MetricSeries) error

func (*SPDMetricStore) ListMetricMeta

func (s *SPDMetricStore) ListMetricMeta(_ context.Context, _ bool) ([]types.MetricMeta, error)

ListMetricMeta usually only returns a limited number of predefined metric names. These metric names can be considered to be a broad category of metrics, and the specific metrics used can be clarified through more detailed labels, for External type indicators.

func (*SPDMetricStore) Name

func (s *SPDMetricStore) Name() string

func (*SPDMetricStore) Start

func (s *SPDMetricStore) Start() error

func (*SPDMetricStore) Stop

func (s *SPDMetricStore) Stop() error

Jump to

Keyboard shortcuts

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