monitoring

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMetrics

func InitMetrics() error

InitMetrics initialize the placement service metrics.

func RecordActorHeartbeat added in v1.12.0

func RecordActorHeartbeat(appID, actorType, host, namespace, pod string, heartbeatTime time.Time)

RecordActorHeartbeat records the actor heartbeat, in seconds since epoch, with actor type, host and pod name.

func RecordActorRuntimesCount added in v1.0.0

func RecordActorRuntimesCount(count int, ns string)

RecordActorRuntimesCount records the number of actor-hosting runtimes.

func RecordPlacementLeaderStatus added in v1.15.0

func RecordPlacementLeaderStatus(isLeader bool)

RecordPlacementLeaderStatus records the leader status of the placement server.

func RecordRaftPlacementLeaderStatus added in v1.15.0

func RecordRaftPlacementLeaderStatus(isLeader bool)

RecordRaftPlacementLeaderStatus records the leader status of the raft server.

func RecordRuntimesCount added in v1.0.0

func RecordRuntimesCount(count int, ns string)

RecordRuntimesCount records the number of connected runtimes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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