stats

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsCompressor

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

func NewMetricCompressor

func NewMetricCompressor() *MetricsCompressor

func (*MetricsCompressor) AddDouble

func (mc *MetricsCompressor) AddDouble(d metricDescriptor, value float64)

func (*MetricsCompressor) AddLong

func (mc *MetricsCompressor) AddLong(d metricDescriptor, value int64)

func (*MetricsCompressor) GenerateBlob

func (mc *MetricsCompressor) GenerateBlob() []byte

func (*MetricsCompressor) Reset

func (mc *MetricsCompressor) Reset()

type NearCacheStatsGetter added in v1.3.0

type NearCacheStatsGetter interface {
	GetNearCacheStats() []proto.Pair
}

type Service

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

func (*Service) SetNCStatsGetter added in v1.3.0

func (s *Service) SetNCStatsGetter(ncmsFn func(service string) NearCacheStatsGetter)

func (*Service) Start

func (s *Service) Start()

func (*Service) Stop

func (s *Service) Stop()

Jump to

Keyboard shortcuts

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