Documentation ¶
Index ¶
- type CollectionMetricStorage
- type MemStorage
- func (db *MemStorage) Add(ctx context.Context, m metrics.Metrics) error
- func (db *MemStorage) BulkAdd(ctx context.Context, metricList []metrics.Metrics) error
- func (db *MemStorage) Get(ctx context.Context, metric *metrics.Metrics) error
- func (db *MemStorage) List(ctx context.Context) ([]metrics.Metrics, error)
- func (db *MemStorage) Ping(ctx context.Context) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionMetricStorage ¶
type CollectionMetricStorage struct {
MemStorage
}
func NewCollectionMetricStorage ¶
func NewCollectionMetricStorage() *CollectionMetricStorage
func (*CollectionMetricStorage) Update ¶
func (collection *CollectionMetricStorage) Update()
func (*CollectionMetricStorage) UpdateGopsutil ¶
func (collection *CollectionMetricStorage) UpdateGopsutil()
func (*CollectionMetricStorage) UpdateRuntime ¶
func (collection *CollectionMetricStorage) UpdateRuntime()
type MemStorage ¶
func NewMemStorage ¶
func NewMemStorage() *MemStorage
Click to show internal directories.
Click to hide internal directories.