collection

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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