# Functions

CollectCorosyncMetrics collects Corosync metrics for Workload Manager sends them to the wm channel */.
CollectCorosyncMetricsFromConfig collects the corosync metrics as specified by the WorkloadValidation config and formats the results as a time series to be uploaded to a Collection Storage mechanism.
CollectCustomMetricsFromConfig collects any custom metrics as specified by the WorkloadValidation config and formats the results as a time series to be uploaded to a Collection Storage mechanism.
CollectHanaMetrics collects SAP HANA metrics for the Workload Manager and sends them to the wm channel.
CollectHANAMetricsFromConfig collects the HANA metrics as specified by the WorkloadValidation config and formats the results as a time series to be uploaded to a Collection Storage mechanism.
CollectMetricsToJSON will collect all of the workload manager metrics and return the JSON representation of them, this is only called on remote instances for metric collection only called through the google_cloud_sap_agent binary using remote mode.
CollectNetWeaverMetrics collects NetWeaver metrics for Workload Manager and sends them to the wm channel.
CollectNetWeaverMetricsFromConfig collects the netweaver metrics as specified by the WorkloadValidation config and formats the results as a time series to be uploaded to a Collection Storage mechanism.
CollectPacemakerMetrics collects the pacemaker configuration and runtime metrics from the OS.
CollectPacemakerMetricsFromConfig collects the pacemaker metrics as specified by the WorkloadValidation config and formats the results as a time series to be uploaded to a Collection Storage mechanism.
CollectSystemMetrics will collect the systme metrics for Workload Manager and send them to the channel wm This is a legacy collection method that can be removed from the codebase once configurable WLM metric collection is fully implemented.
CollectSystemMetricsFromConfig collects the system metrics specified by the WorkloadValidation config and formats the results as a time series to be uploaded to a Collection Storage mechanism.
ParseXML uses XML unmarshal to parse an ASCII byte array into a CIB structure for pacemaker metric processing.
StartMetricsCollection continuously collects Workload Manager metrics for SAP workloads.

# Constants

OSReleaseFilePath lists the location of the os-release file in the Linux system.

# Structs

CIB (Cluster Information Base) stores metadata defining a pacemaker XML CIB object cluster.
CIBNode stores the properties and attributes of an individual CIB configuration node (see Configuration struct).
CIBNodeState stores the statuses of individual CIB Nodes (see Configuration struct).
Clone stores overall data defining a group of cloned nodes and their metadata (also used to define a node master/clone relation).
ClusterPropertySet defines a set of identifiable name/value pairs */.
Configuration store CIB object configuration metadata.
Constraints store data defining resource constraints applicable to the current CIB node.
CRMConfig stores the cluster properties that apply to the current CRM node.
Group defines a specific and identifiable collection of CIB primitive objects.
LRM (Local Resource Manager) stores the collective LRM status information with an additional ID value.
LRMResource stores the status information of an individual LRM CIB resource.
LRMRSCOp stores the state of an individual LRM resource operation.
NVPair stores a generic, individual mapping of name/value pairs with an additional ID value.
Op defines an operation entry.
Parameters holds the parameters for all of the Collect* function calls.
PrimitiveClass defines a primitive node instance, its individual properties, and a list of operations it can perform.
Resources stores metadata defining the node structure of the current CIB object (nodes, groups, etc).
RSCColocation defines the co-locations (two or more nodes located together) of resources (typically used for master/clone nodes).
RSCLocation defines a constraint's resource node location.
RSCOrder defines the order in which resource constraints apply */.
TransientAttributes store an additional layer of ID's cluster attributes used by a CIB node state struct */.
WorkloadMetrics is a container for monitoring TimeSeries metrics.

# Type aliases

ConfigFileReader abstracts loading and reading files into an io.ReadCloser object.
DefaultTokenGetter obtains a "default" oauth2 token source within the getDefaultBearerToken function.
InterfaceAddrsGetter satisfies the function signature for net.InterfaceAddrs().
JSONCredentialsGetter obtains a JSON oauth2 google credentials within the getJSONBearerToken function.
OSStatReader abstracts os.FileInfo reading.