telemetry

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnregisterLogStreamMetrics

func UnregisterLogStreamMetrics(m *Metrics, lsid types.LogStreamID)

Types

type LogStreamMetrics

type LogStreamMetrics struct {
	AppendLogs             int64
	AppendBytes            int64
	AppendDuration         int64
	AppendOperations       int64
	AppendPreparationMicro int64
	AppendBatchCommitGap   int64

	SequencerOperationDuration  int64
	SequencerFanoutDuration     int64
	SequencerOperations         int64
	SequencerInflightOperations int64

	WriterOperationDuration  int64
	WriterOperations         int64
	WriterInflightOperations int64

	CommitterOperationDuration int64
	CommitterOperations        int64
	CommitterLogs              int64

	ReplicateClientOperationDuration  int64
	ReplicateClientOperations         int64
	ReplicateClientInflightOperations int64

	ReplicateServerOperations int64

	ReplicateLogs             int64
	ReplicateBytes            int64
	ReplicateDuration         int64
	ReplicateOperations       int64
	ReplicatePreparationMicro int64
}

func RegisterLogStreamMetrics

func RegisterLogStreamMetrics(m *Metrics, lsid types.LogStreamID) (*LogStreamMetrics, error)

type Metrics

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

func RegisterMetrics

func RegisterMetrics(meter metric.Meter, snid types.StorageNodeID) (m *Metrics, err error)

Jump to

Keyboard shortcuts

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