cluster

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package cluster provides functionality to collect SAP Linux cluster metrics. The package implements processmetrics.Collector Interface to collect below metrics:

  • sap/cluster/failcounts - The failcount value of the Linux HA resources.
  • sap/cluster/nodes - Indicates the state of the Linux HA cluster state.
  • sap/cluster/resources - Indicates if the Linux HA cluster resource is up and running.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstanceProperties

type InstanceProperties struct {
	SAPInstance *sapb.SAPInstance
	Config      *cnfpb.Configuration
	Client      cloudmonitoring.TimeSeriesCreator
}

InstanceProperties has necessary context for metrics collection. InstanceProperties implements Collector interface for cluster metrics.

func (*InstanceProperties) Collect

func (p *InstanceProperties) Collect(ctx context.Context) []*mrpb.TimeSeries

Collect is cluster metrics implementation of Collector interface from processmetrics.go. Returns a list of Linux cluster related metrics.

Jump to

Keyboard shortcuts

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