Documentation
¶
Index ¶
- func NewMorphClientMetrics() morphmetrics.Register
- type BlobobvnizcaMetrics
- type BlobstoreMetrics
- type EngineMetrics
- type FSTreeMetrics
- type GCMetrics
- type GrpcServerMetrics
- type InnerRingServiceMetrics
- type MetabaseMetrics
- type MorphCacheMetrics
- type NodeMetrics
- func (m *NodeMetrics) BlobobvnizcaTreeMetrics() BlobobvnizcaMetrics
- func (m *NodeMetrics) Blobstore() BlobstoreMetrics
- func (m *NodeMetrics) Engine() EngineMetrics
- func (m *NodeMetrics) FSTree() FSTreeMetrics
- func (m *NodeMetrics) GrpcServerMetrics() GrpcServerMetrics
- func (m *NodeMetrics) MetabaseMetrics() MetabaseMetrics
- func (m *NodeMetrics) ObjectService() ObjectServiceMetrics
- func (m *NodeMetrics) PiloramaMetrics() PiloramaMetrics
- func (m *NodeMetrics) Replicator() ReplicatorMetrics
- func (m *NodeMetrics) SetEpoch(epoch uint64)
- func (m *NodeMetrics) State() StateMetrics
- func (m *NodeMetrics) TreeService() TreeMetricsRegister
- type NullBool
- type ObjectServiceMetrics
- type PiloramaMetrics
- type ReplicatorMetrics
- type StateMetrics
- type TreeMetricsRegister
- type WriteCacheMetrics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMorphClientMetrics ¶ added in v0.37.0
func NewMorphClientMetrics() morphmetrics.Register
Types ¶
type BlobobvnizcaMetrics ¶ added in v0.37.0
type BlobobvnizcaMetrics interface { SetBlobobvnizcaTreeMode(shardID, path string, readOnly bool) CloseBlobobvnizcaTree(shardID, path string) BlobobvnizcaTreeMethodDuration(shardID, path string, method string, d time.Duration, success bool, withStorageID NullBool) AddBlobobvnizcaTreePut(shardID, path string, size int) AddBlobobvnizcaTreeGet(shardID, path string, size int) AddOpenBlobovniczaSize(shardID, path string, size uint64) SubOpenBlobovniczaSize(shardID, path string, size uint64) AddOpenBlobovniczaItems(shardID, path string, items uint64) SubOpenBlobovniczaItems(shardID, path string, items uint64) IncOpenBlobovniczaCount(shardID, path string) DecOpenBlobovniczaCount(shardID, path string) }
type BlobstoreMetrics ¶ added in v0.37.0
type EngineMetrics ¶ added in v0.37.0
type EngineMetrics interface { AddMethodDuration(method string, d time.Duration) AddToContainerSize(cnrID string, size int64) IncErrorCounter(shardID string) ClearErrorCounter(shardID string) DeleteShardMetrics(shardID string) AddToObjectCounter(shardID, objectType string, delta int) SetObjectCounter(shardID, objectType string, v uint64) AddToPayloadCounter(shardID string, size int64) SetMode(shardID string, mode mode.Mode) WriteCache() WriteCacheMetrics GC() GCMetrics }
type FSTreeMetrics ¶ added in v0.37.0
type GCMetrics ¶ added in v0.37.0
type GCMetrics interface { AddRunDuration(shardID string, d time.Duration, success bool) AddDeletedCount(shardID string, deleted, failed uint64) AddExpiredObjectCollectionDuration(shardID string, d time.Duration, success bool, objectType string) AddInhumedObjectCount(shardID string, count uint64, objectType string) }
type GrpcServerMetrics ¶ added in v0.37.0
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) AddEvent ¶ added in v0.37.0
func (m *InnerRingServiceMetrics) AddEvent(d time.Duration, typ string, success bool)
func (*InnerRingServiceMetrics) MorphCacheMetrics ¶ added in v0.37.0
func (m *InnerRingServiceMetrics) MorphCacheMetrics() MorphCacheMetrics
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 MetabaseMetrics ¶ added in v0.37.0
type MorphCacheMetrics ¶ added in v0.37.0
type MorphCacheMetrics interface {
AddMethodDuration(method string, success bool, d time.Duration)
}
func NewNodeMorphCacheMetrics ¶ added in v0.37.0
func NewNodeMorphCacheMetrics() MorphCacheMetrics
type NodeMetrics ¶
type NodeMetrics struct {
// contains filtered or unexported fields
}
func NewNodeMetrics ¶
func NewNodeMetrics() *NodeMetrics
func (*NodeMetrics) BlobobvnizcaTreeMetrics ¶ added in v0.37.0
func (m *NodeMetrics) BlobobvnizcaTreeMetrics() BlobobvnizcaMetrics
func (*NodeMetrics) Blobstore ¶ added in v0.37.0
func (m *NodeMetrics) Blobstore() BlobstoreMetrics
func (*NodeMetrics) Engine ¶ added in v0.37.0
func (m *NodeMetrics) Engine() EngineMetrics
func (*NodeMetrics) FSTree ¶ added in v0.37.0
func (m *NodeMetrics) FSTree() FSTreeMetrics
func (*NodeMetrics) GrpcServerMetrics ¶ added in v0.37.0
func (m *NodeMetrics) GrpcServerMetrics() GrpcServerMetrics
func (*NodeMetrics) MetabaseMetrics ¶ added in v0.37.0
func (m *NodeMetrics) MetabaseMetrics() MetabaseMetrics
func (*NodeMetrics) ObjectService ¶ added in v0.37.0
func (m *NodeMetrics) ObjectService() ObjectServiceMetrics
func (*NodeMetrics) PiloramaMetrics ¶ added in v0.37.0
func (m *NodeMetrics) PiloramaMetrics() PiloramaMetrics
func (*NodeMetrics) Replicator ¶ added in v0.37.0
func (m *NodeMetrics) Replicator() ReplicatorMetrics
func (*NodeMetrics) SetEpoch ¶
func (m *NodeMetrics) SetEpoch(epoch uint64)
SetEpoch updates epoch metric.
func (*NodeMetrics) State ¶ added in v0.37.0
func (m *NodeMetrics) State() StateMetrics
func (*NodeMetrics) TreeService ¶ added in v0.37.0
func (m *NodeMetrics) TreeService() TreeMetricsRegister
type ObjectServiceMetrics ¶ added in v0.37.0
type PiloramaMetrics ¶ added in v0.37.0
type ReplicatorMetrics ¶ added in v0.37.0
type ReplicatorMetrics interface { IncInFlightRequest() DecInFlightRequest() IncProcessedObjects() AddPayloadSize(size int64) }
type StateMetrics ¶ added in v0.37.0
type StateMetrics interface {
SetHealth(s int32)
}
type TreeMetricsRegister ¶ added in v0.37.0
type WriteCacheMetrics ¶ added in v0.37.0
type WriteCacheMetrics interface { AddMethodDuration(shardID string, method string, success bool, d time.Duration, storageType string) SetActualCount(shardID string, count uint64, storageType string) SetEstimateSize(shardID string, size uint64, storageType string) SetMode(shardID string, mode string) IncOperationCounter(shardID string, operation string, success NullBool, storageType string) Close(shardID string) }
Click to show internal directories.
Click to hide internal directories.