Documentation ¶
Index ¶
- type BlobobvnizcaMetrics
- type BlobstoreMetrics
- type EngineMetrics
- type FSTreeMetrics
- type GCMetrics
- type GrpcServerMetrics
- type InnerRingServiceMetrics
- func (m *InnerRingServiceMetrics) AddEvent(d time.Duration, typ string, success bool)
- func (m *InnerRingServiceMetrics) LogMetrics() logger.LogMetrics
- func (m *InnerRingServiceMetrics) MorphCacheMetrics() MorphCacheMetrics
- func (m *InnerRingServiceMetrics) SetEpoch(epoch uint64)
- func (m *InnerRingServiceMetrics) SetHealth(s int32)
- 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) LogMetrics() logger.LogMetrics
- func (m *NodeMetrics) MetabaseMetrics() MetabaseMetrics
- func (m *NodeMetrics) MorphCacheMetrics() MorphCacheMetrics
- func (m *NodeMetrics) MorphClientMetrics() morphmetrics.Register
- func (m *NodeMetrics) ObjectService() ObjectServiceMetrics
- func (m *NodeMetrics) PiloramaMetrics() PiloramaMetrics
- func (m *NodeMetrics) PolicerMetrics() PolicerMetrics
- 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 PolicerMetrics
- type ReplicatorMetrics
- type StateMetrics
- type TreeMetricsRegister
- type WriteCacheMetrics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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) BlobovniczaTreeRebuildStatus(shardID, path, status string) BlobovniczaTreeRebuildPercent(shardID, path string, value uint32) BlobovniczaTreeObjectMoved(shardID, path string, d time.Duration) }
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) DeleteContainerSize(cnrID string) DeleteContainerCount(cnrID string) 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) SetContainerObjectCounter(shardID, contID, objectType string, v uint64) IncContainerObjectCounter(shardID, contID, objectType string) SubContainerObjectCounter(shardID, contID, objectType string, v uint64) 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) LogMetrics ¶ added in v0.38.0
func (m *InnerRingServiceMetrics) LogMetrics() logger.LogMetrics
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 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) LogMetrics ¶ added in v0.38.0
func (m *NodeMetrics) LogMetrics() logger.LogMetrics
func (*NodeMetrics) MetabaseMetrics ¶ added in v0.37.0
func (m *NodeMetrics) MetabaseMetrics() MetabaseMetrics
func (*NodeMetrics) MorphCacheMetrics ¶ added in v0.38.0
func (m *NodeMetrics) MorphCacheMetrics() MorphCacheMetrics
func (*NodeMetrics) MorphClientMetrics ¶ added in v0.38.0
func (m *NodeMetrics) MorphClientMetrics() morphmetrics.Register
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) PolicerMetrics ¶ added in v0.38.0
func (m *NodeMetrics) PolicerMetrics() PolicerMetrics
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 PolicerMetrics ¶ added in v0.38.0
type PolicerMetrics interface {
IncProcessedObjects()
}
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.