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 }
Click to show internal directories.
Click to hide internal directories.