Documentation ¶
Overview ¶
Package collection provides functions used by the health manager to collect health related metrics for FeG services and the system
Package collection provides functions used by the health manager to collect health related metrics for FeG services and the system
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectServiceStats ¶
func CollectServiceStats(serviceType string) *protos.ServiceHealthStats
CollectServiceStats fills out the ServiceHealthStats proto for the provided service If the service cannot be reached, the service state is listed as UNAVAILABLE
func CollectSystemStats ¶
func CollectSystemStats() (*protos.SystemHealthStats, error)
CollectSystemStats fills out the SystemHealthStats protos with system related metrics that are useful to the health manager. If a metric cannot be retrieved, an error is returned along with all other collected metrics
Types ¶
This section is empty.