delta

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistogramEntry

type HistogramEntry struct {
	Collected map[uint64]*collectors.HistogramMetric
	// contains filtered or unexported fields
}

type InMemoryCounterStore

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

func NewInMemoryCounterStore

func NewInMemoryCounterStore(logger log.Logger, ttl time.Duration) *InMemoryCounterStore

NewInMemoryCounterStore returns an implementation of CounterStore which is persisted in-memory

func (*InMemoryCounterStore) Increment

func (s *InMemoryCounterStore) Increment(metricDescriptor *monitoring.MetricDescriptor, currentValue *collectors.ConstMetric)

func (*InMemoryCounterStore) ListMetrics

func (s *InMemoryCounterStore) ListMetrics(metricDescriptorName string) []*collectors.ConstMetric

type InMemoryHistogramStore

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

func NewInMemoryHistogramStore

func NewInMemoryHistogramStore(logger log.Logger, ttl time.Duration) *InMemoryHistogramStore

NewInMemoryHistogramStore returns an implementation of HistogramStore which is persisted in-memory

func (*InMemoryHistogramStore) Increment

func (s *InMemoryHistogramStore) Increment(metricDescriptor *monitoring.MetricDescriptor, currentValue *collectors.HistogramMetric)

func (*InMemoryHistogramStore) ListMetrics

func (s *InMemoryHistogramStore) ListMetrics(metricDescriptorName string) []*collectors.HistogramMetric

type MetricEntry

type MetricEntry struct {
	Collected map[uint64]*collectors.ConstMetric
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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