Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalysisOutboundBytesEvent ¶ added in v0.9.0
type AnalysisOutboundBytesEvent struct {
AmountBytes uint64
}
type CPUUsageEvent ¶ added in v0.9.0
type CPUUsageEvent struct {
CPUPercent float64
}
type CollectionEvents ¶
type CollectionEvents struct { // AnalysisOutboundBytes defines the local analysis outbound network traffic in bytes. AnalysisOutboundBytes *event.Event[*AnalysisOutboundBytesEvent] // CPUUsage defines the local CPU usage. CPUUsage *event.Event[*CPUUsageEvent] // MemUsage defines the local GoShimmer memory usage. MemUsage *event.Event[*MemUsageEvent] // TangleTimeSynced defines the local sync status event based on tangle time. TangleTimeSynced *event.Event[*TangleTimeSyncedEvent] // ValueTips defines the local value tips count event. ValueTips *event.Event[*ValueTipsEvent] // MessageTips defines the local message tips count event. MessageTips *event.Event[*MessageTipsEvent] }
CollectionEvents defines the events fot the metrics package.
var Events *CollectionEvents
type MemUsageEvent ¶ added in v0.9.0
type MemUsageEvent struct {
MemAllocBytes uint64
}
type MessageTipsEvent ¶ added in v0.9.0
type MessageTipsEvent struct { }
type TangleTimeSyncedEvent ¶ added in v0.9.0
type TangleTimeSyncedEvent struct { }
type ValueTipsEvent ¶ added in v0.9.0
type ValueTipsEvent struct { }
Click to show internal directories.
Click to hide internal directories.