Documentation ¶
Index ¶
- func NewAddItemToCacheMetric(clientType string) *metric.DimensionlessMetric
- func NewGetErrEncounteredMetric(err error, clientType string) *util.ErrorEncounteredMetric
- func NewSetErrEncounteredMetric(err error, clientType string) *util.ErrorEncounteredMetric
- type CacheClientGetMetric
- type CacheClientRedisPingMetric
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddItemToCacheMetric ¶
func NewAddItemToCacheMetric(clientType string) *metric.DimensionlessMetric
NewAddItemToCacheMetric creates new add item metric.
func NewGetErrEncounteredMetric ¶
func NewGetErrEncounteredMetric(err error, clientType string) *util.ErrorEncounteredMetric
NewGetErrEncounteredMetric returns *util.ErrorEncounteredMetric when Get operation failed of some ICacheClient failed.
func NewSetErrEncounteredMetric ¶
func NewSetErrEncounteredMetric(err error, clientType string) *util.ErrorEncounteredMetric
NewSetErrEncounteredMetric returns *util.ErrorEncounteredMetric when Set operation failed of some ICacheClient failed.
Types ¶
type CacheClientGetMetric ¶
type CacheClientGetMetric struct {
// contains filtered or unexported fields
}
CacheClientGetMetric is metric of ARGDataProvider that checks the latency according to some scanStatus
func NewCacheClientGetMetric ¶
func NewCacheClientGetMetric(cacheType interface{}, operationStatus operations.OPERATION_STATUS) *CacheClientGetMetric
NewCacheClientGetMetric Ctor for ArgDataProviderResponseLatencyMetric
func (*CacheClientGetMetric) MetricDimension ¶
func (m *CacheClientGetMetric) MetricDimension() []metric.Dimension
func (*CacheClientGetMetric) MetricName ¶
func (m *CacheClientGetMetric) MetricName() string
type CacheClientRedisPingMetric ¶
type CacheClientRedisPingMetric struct { }
CacheClientRedisPingMetric is metric of ARGDataProvider that checks the latency according to some scanStatus
func NewCacheClientRedisPingMetric ¶
func NewCacheClientRedisPingMetric() *CacheClientRedisPingMetric
NewCacheClientRedisPingMetric Ctor for cacheClientRedisPingMetric
func (*CacheClientRedisPingMetric) MetricDimension ¶
func (m *CacheClientRedisPingMetric) MetricDimension() []metric.Dimension
func (*CacheClientRedisPingMetric) MetricName ¶
func (m *CacheClientRedisPingMetric) MetricName() string
Click to show internal directories.
Click to hide internal directories.