Documentation ¶
Index ¶
- type ActorMetric
- func (x *ActorMetric) ChildrenCount() metric.Int64ObservableCounter
- func (x *ActorMetric) LastReceivedDuration() metric.Float64Histogram
- func (x *ActorMetric) RestartCount() metric.Int64ObservableCounter
- func (x *ActorMetric) SpawnCount() metric.Int64ObservableCounter
- func (x *ActorMetric) StashCount() metric.Int64ObservableCounter
- type ActorSystemMetric
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActorMetric ¶
type ActorMetric struct {
// contains filtered or unexported fields
}
ActorMetric defines the actor instrumentation
func NewActorMetric ¶
func NewActorMetric(meter metric.Meter) (*ActorMetric, error)
NewActorMetric creates an instance of ActorMetric
func (*ActorMetric) ChildrenCount ¶
func (x *ActorMetric) ChildrenCount() metric.Int64ObservableCounter
ChildrenCount returns the total number of child actors
func (*ActorMetric) LastReceivedDuration ¶
func (x *ActorMetric) LastReceivedDuration() metric.Float64Histogram
LastReceivedDuration returns the last message received duration latency in milliseconds
func (*ActorMetric) RestartCount ¶
func (x *ActorMetric) RestartCount() metric.Int64ObservableCounter
RestartCount returns the total number of restart
func (*ActorMetric) SpawnCount ¶
func (x *ActorMetric) SpawnCount() metric.Int64ObservableCounter
SpawnCount returns the total number of instances created for the given actor
func (*ActorMetric) StashCount ¶
func (x *ActorMetric) StashCount() metric.Int64ObservableCounter
StashCount returns the total number of stashed messages
type ActorSystemMetric ¶
type ActorSystemMetric struct {
// contains filtered or unexported fields
}
ActorSystemMetric defines the actor system metrics
func NewActorSystemMetric ¶
func NewActorSystemMetric(meter metric.Meter) (*ActorSystemMetric, error)
NewActorSystemMetric creates an instance of ActorSystemMetric
func (*ActorSystemMetric) ActorsCount ¶
func (x *ActorSystemMetric) ActorsCount() metric.Int64ObservableCounter
ActorsCount returns the total number of actors
func (*ActorSystemMetric) DeadletterCount ¶
func (x *ActorSystemMetric) DeadletterCount() metric.Int64ObservableCounter
DeadletterCount returns the total number of deadletter