Documentation ¶
Index ¶
- type InnerRingServiceMetrics
- type NodeMetrics
- func (m NodeMetrics) AddDeleteDuration(d time.Duration)
- func (m NodeMetrics) AddDeleteReqDuration(d time.Duration)
- func (m NodeMetrics) AddEstimateContainerSizeDuration(d time.Duration)
- func (m NodeMetrics) AddExistsDuration(d time.Duration)
- func (m NodeMetrics) AddGetDuration(d time.Duration)
- func (m NodeMetrics) AddGetPayload(ln int)
- func (m NodeMetrics) AddGetReqDuration(d time.Duration)
- func (m NodeMetrics) AddHeadDuration(d time.Duration)
- func (m NodeMetrics) AddHeadReqDuration(d time.Duration)
- func (m NodeMetrics) AddInhumeDuration(d time.Duration)
- func (m NodeMetrics) AddListContainersDuration(d time.Duration)
- func (m NodeMetrics) AddListObjectsDuration(d time.Duration)
- func (m NodeMetrics) AddPutDuration(d time.Duration)
- func (m NodeMetrics) AddPutPayload(ln int)
- func (m NodeMetrics) AddPutReqDuration(d time.Duration)
- func (m NodeMetrics) AddRangeDuration(d time.Duration)
- func (m NodeMetrics) AddRangeHashReqDuration(d time.Duration)
- func (m NodeMetrics) AddRangeReqDuration(d time.Duration)
- func (m NodeMetrics) AddSearchDuration(d time.Duration)
- func (m NodeMetrics) AddSearchReqDuration(d time.Duration)
- func (m NodeMetrics) AddToContainerSize(cnrID string, size int64)
- func (m NodeMetrics) AddToObjectCounter(shardID, objectType string, delta int)
- func (m NodeMetrics) AddToPayloadCounter(shardID string, size int64)
- func (m NodeMetrics) IncDeleteReqCounter(success bool)
- func (m NodeMetrics) IncGetReqCounter(success bool)
- func (m NodeMetrics) IncHeadReqCounter(success bool)
- func (m NodeMetrics) IncPutReqCounter(success bool)
- func (m NodeMetrics) IncRangeHashReqCounter(success bool)
- func (m NodeMetrics) IncRangeReqCounter(success bool)
- func (m NodeMetrics) IncSearchReqCounter(success bool)
- func (m *NodeMetrics) SetEpoch(epoch uint64)
- func (m NodeMetrics) SetHealth(s int32)
- func (m NodeMetrics) SetObjectCounter(shardID, objectType string, v uint64)
- func (m NodeMetrics) SetReadonly(shardID string, readonly bool)
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 (NodeMetrics) AddDeleteReqDuration ¶
func (NodeMetrics) AddEstimateContainerSizeDuration ¶
func (NodeMetrics) AddExistsDuration ¶
func (NodeMetrics) AddGetDuration ¶
func (NodeMetrics) AddGetPayload ¶
func (m NodeMetrics) AddGetPayload(ln int)
func (NodeMetrics) AddGetReqDuration ¶
func (NodeMetrics) AddHeadDuration ¶
func (NodeMetrics) AddHeadReqDuration ¶
func (NodeMetrics) AddInhumeDuration ¶
func (NodeMetrics) AddListContainersDuration ¶
func (NodeMetrics) AddListObjectsDuration ¶
func (NodeMetrics) AddPutDuration ¶
func (NodeMetrics) AddPutPayload ¶
func (m NodeMetrics) AddPutPayload(ln int)
func (NodeMetrics) AddPutReqDuration ¶
func (NodeMetrics) AddRangeDuration ¶
func (NodeMetrics) AddRangeHashReqDuration ¶
func (NodeMetrics) AddRangeReqDuration ¶
func (NodeMetrics) AddSearchDuration ¶
func (NodeMetrics) AddSearchReqDuration ¶
func (NodeMetrics) AddToContainerSize ¶
func (NodeMetrics) AddToObjectCounter ¶
func (NodeMetrics) AddToPayloadCounter ¶
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) SetObjectCounter ¶
func (NodeMetrics) SetReadonly ¶
Click to show internal directories.
Click to hide internal directories.