Documentation ¶
Index ¶
- Constants
- func NewSPDMetricStore(_ context.Context, baseCtx *katalystbase.GenericContext, ...) (store.MetricStore, error)
- type SPDMetricStore
- func (s *SPDMetricStore) GetMetric(_ context.Context, namespace, metricName, _ string, _ *schema.GroupResource, ...) ([]types.Metric, error)
- func (s *SPDMetricStore) InsertMetric(_ []*data.MetricSeries) error
- func (s *SPDMetricStore) ListMetricMeta(_ context.Context, _ bool) ([]types.MetricMeta, error)
- func (s *SPDMetricStore) Name() string
- func (s *SPDMetricStore) Start() error
- func (s *SPDMetricStore) Stop() error
Constants ¶
View Source
const (
SPDCustomMetricStore = "spd-metric-store"
)
Variables ¶
This section is empty.
Functions ¶
func NewSPDMetricStore ¶
func NewSPDMetricStore(_ context.Context, baseCtx *katalystbase.GenericContext, _ *metricconf.GenericMetricConfiguration, _ *metricconf.StoreConfiguration, ) (store.MetricStore, error)
Types ¶
type SPDMetricStore ¶
type SPDMetricStore struct {
// contains filtered or unexported fields
}
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
Click to show internal directories.
Click to hide internal directories.