metrics

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InnerRingServiceMetrics added in v0.27.2

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

InnerRingServiceMetrics contains metrics collected by inner ring.

func NewInnerRingMetrics added in v0.27.2

func NewInnerRingMetrics() InnerRingServiceMetrics

NewInnerRingMetrics returns new instance of metrics collectors for inner ring.

func (InnerRingServiceMetrics) SetEpoch added in v0.27.2

func (m InnerRingServiceMetrics) SetEpoch(epoch uint64)

SetEpoch updates epoch metrics.

type NodeMetrics added in v0.30.0

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

func NewNodeMetrics added in v0.30.0

func NewNodeMetrics() *NodeMetrics

func (NodeMetrics) AddDeleteDuration added in v0.30.0

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

func (NodeMetrics) AddDeleteReqDuration added in v0.30.0

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

func (NodeMetrics) AddEstimateContainerSizeDuration added in v0.30.0

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

func (NodeMetrics) AddExistsDuration added in v0.30.0

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

func (NodeMetrics) AddGetDuration added in v0.30.0

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

func (NodeMetrics) AddGetPayload added in v0.30.0

func (m NodeMetrics) AddGetPayload(ln int)

func (NodeMetrics) AddGetReqDuration added in v0.30.0

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

func (NodeMetrics) AddHeadDuration added in v0.30.0

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

func (NodeMetrics) AddHeadReqDuration added in v0.30.0

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

func (NodeMetrics) AddInhumeDuration added in v0.30.0

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

func (NodeMetrics) AddListContainersDuration added in v0.30.0

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

func (NodeMetrics) AddListObjectsDuration added in v0.30.0

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

func (NodeMetrics) AddPutDuration added in v0.30.0

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

func (NodeMetrics) AddPutPayload added in v0.30.0

func (m NodeMetrics) AddPutPayload(ln int)

func (NodeMetrics) AddPutReqDuration added in v0.30.0

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

func (NodeMetrics) AddRangeDuration added in v0.30.0

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

func (NodeMetrics) AddRangeHashReqDuration added in v0.30.0

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

func (NodeMetrics) AddRangeReqDuration added in v0.30.0

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

func (NodeMetrics) AddSearchDuration added in v0.30.0

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

func (NodeMetrics) AddSearchReqDuration added in v0.30.0

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

func (NodeMetrics) AddToObjectCounter added in v0.32.0

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

func (NodeMetrics) IncDeleteReqCounter added in v0.30.0

func (m NodeMetrics) IncDeleteReqCounter()

func (NodeMetrics) IncGetReqCounter added in v0.30.0

func (m NodeMetrics) IncGetReqCounter()

func (NodeMetrics) IncHeadReqCounter added in v0.30.0

func (m NodeMetrics) IncHeadReqCounter()

func (NodeMetrics) IncPutReqCounter added in v0.30.0

func (m NodeMetrics) IncPutReqCounter()

func (NodeMetrics) IncRangeHashReqCounter added in v0.30.0

func (m NodeMetrics) IncRangeHashReqCounter()

func (NodeMetrics) IncRangeReqCounter added in v0.30.0

func (m NodeMetrics) IncRangeReqCounter()

func (NodeMetrics) IncSearchReqCounter added in v0.30.0

func (m NodeMetrics) IncSearchReqCounter()

func (*NodeMetrics) SetEpoch added in v0.30.0

func (m *NodeMetrics) SetEpoch(epoch uint64)

SetEpoch updates epoch metric.

func (NodeMetrics) SetHealth added in v0.30.0

func (m NodeMetrics) SetHealth(s int32)

func (NodeMetrics) SetObjectCounter added in v0.32.0

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

Jump to

Keyboard shortcuts

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