metrics

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InnerRingServiceMetrics

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

InnerRingServiceMetrics contains metrics collected by inner ring.

func NewInnerRingMetrics

func NewInnerRingMetrics() InnerRingServiceMetrics

NewInnerRingMetrics returns new instance of metrics collectors for inner ring.

func (InnerRingServiceMetrics) SetEpoch

func (m InnerRingServiceMetrics) SetEpoch(epoch uint64)

SetEpoch updates epoch metrics.

func (InnerRingServiceMetrics) SetHealth

func (m InnerRingServiceMetrics) SetHealth(s int32)

SetHealth updates health metrics.

type NodeMetrics

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

func NewNodeMetrics

func NewNodeMetrics() *NodeMetrics

func (NodeMetrics) AddDeleteDuration

func (m NodeMetrics) AddDeleteDuration(d time.Duration)

func (NodeMetrics) AddDeleteReqDuration

func (m NodeMetrics) AddDeleteReqDuration(d time.Duration)

func (NodeMetrics) AddEstimateContainerSizeDuration

func (m NodeMetrics) AddEstimateContainerSizeDuration(d time.Duration)

func (NodeMetrics) AddExistsDuration

func (m NodeMetrics) AddExistsDuration(d time.Duration)

func (NodeMetrics) AddGetDuration

func (m NodeMetrics) AddGetDuration(d time.Duration)

func (NodeMetrics) AddGetPayload

func (m NodeMetrics) AddGetPayload(ln int)

func (NodeMetrics) AddGetReqDuration

func (m NodeMetrics) AddGetReqDuration(d time.Duration)

func (NodeMetrics) AddHeadDuration

func (m NodeMetrics) AddHeadDuration(d time.Duration)

func (NodeMetrics) AddHeadReqDuration

func (m NodeMetrics) AddHeadReqDuration(d time.Duration)

func (NodeMetrics) AddInhumeDuration

func (m NodeMetrics) AddInhumeDuration(d time.Duration)

func (NodeMetrics) AddListContainersDuration

func (m NodeMetrics) AddListContainersDuration(d time.Duration)

func (NodeMetrics) AddListObjectsDuration

func (m NodeMetrics) AddListObjectsDuration(d time.Duration)

func (NodeMetrics) AddPutDuration

func (m NodeMetrics) AddPutDuration(d time.Duration)

func (NodeMetrics) AddPutPayload

func (m NodeMetrics) AddPutPayload(ln int)

func (NodeMetrics) AddPutReqDuration

func (m NodeMetrics) AddPutReqDuration(d time.Duration)

func (NodeMetrics) AddRangeDuration

func (m NodeMetrics) AddRangeDuration(d time.Duration)

func (NodeMetrics) AddRangeHashReqDuration

func (m NodeMetrics) AddRangeHashReqDuration(d time.Duration)

func (NodeMetrics) AddRangeReqDuration

func (m NodeMetrics) AddRangeReqDuration(d time.Duration)

func (NodeMetrics) AddSearchDuration

func (m NodeMetrics) AddSearchDuration(d time.Duration)

func (NodeMetrics) AddSearchReqDuration

func (m NodeMetrics) AddSearchReqDuration(d time.Duration)

func (NodeMetrics) AddToContainerSize

func (m NodeMetrics) AddToContainerSize(cnrID string, size int64)

func (NodeMetrics) AddToObjectCounter

func (m NodeMetrics) AddToObjectCounter(shardID, objectType string, delta int)

func (NodeMetrics) AddToPayloadCounter

func (m NodeMetrics) AddToPayloadCounter(shardID string, size int64)

func (NodeMetrics) IncDeleteReqCounter

func (m NodeMetrics) IncDeleteReqCounter(success bool)

func (NodeMetrics) IncGetReqCounter

func (m NodeMetrics) IncGetReqCounter(success bool)

func (NodeMetrics) IncHeadReqCounter

func (m NodeMetrics) IncHeadReqCounter(success bool)

func (NodeMetrics) IncPutReqCounter

func (m NodeMetrics) IncPutReqCounter(success bool)

func (NodeMetrics) IncRangeHashReqCounter

func (m NodeMetrics) IncRangeHashReqCounter(success bool)

func (NodeMetrics) IncRangeReqCounter

func (m NodeMetrics) IncRangeReqCounter(success bool)

func (NodeMetrics) IncSearchReqCounter

func (m NodeMetrics) IncSearchReqCounter(success bool)

func (*NodeMetrics) SetEpoch

func (m *NodeMetrics) SetEpoch(epoch uint64)

SetEpoch updates epoch metric.

func (NodeMetrics) SetHealth

func (m NodeMetrics) SetHealth(s int32)

func (NodeMetrics) SetObjectCounter

func (m NodeMetrics) SetObjectCounter(shardID, objectType string, v uint64)

func (NodeMetrics) SetReadonly

func (m NodeMetrics) SetReadonly(shardID string, readonly bool)

Jump to

Keyboard shortcuts

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