sapagent

module
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

README

Agent for SAP

Build

This repository contains the Agent for SAP (Linux and Windows). The agent is intended to run on all Google Cloud compute instances where an SAP workload is running.

See documentation at:

Copyright 2022 Google LLC.

Apache License, Version 2.0

Directories

Path Synopsis
cmd
local
Package main serves as the Main entry point for the GC SAP Agent.
Package main serves as the Main entry point for the GC SAP Agent.
internal
agentmetrics
Package agentmetrics collects metrics from the agent process itself and submits them to cloud monitoring.
Package agentmetrics collects metrics from the agent process itself and submits them to cloud monitoring.
cloudmonitoring
Package cloudmonitoring provides functionality to interact with the Cloud Monitoring API.
Package cloudmonitoring provides functionality to interact with the Cloud Monitoring API.
cloudmonitoring/fake
Package fake implements test fakes for the cloudmonitoring wrappers.
Package fake implements test fakes for the cloudmonitoring wrappers.
collectiondefinition
Package collectiondefinition provides utility functions for managing the CollectionDefinition protobuf objects that are used to define a set of configurable metrics that are collected by the Agent for SAP.
Package collectiondefinition provides utility functions for managing the CollectionDefinition protobuf objects that are used to define a set of configurable metrics that are collected by the Agent for SAP.
commandlineexecutor
Package commandlineexecutor creates an interface to streamline execution of shell commands across multiple platforms
Package commandlineexecutor creates an interface to streamline execution of shell commands across multiple platforms
configurablemetrics
Package configurablemetrics handles the collection of arbitrary metric data in the agent, as defined by a collection definition configuration file.
Package configurablemetrics handles the collection of arbitrary metric data in the agent, as defined by a collection definition configuration file.
configuration
Package configuration provides configuration reading capabilities.
Package configuration provides configuration reading capabilities.
databaseconnector
Package databaseconnector connects to HANA databases with go-hdb driver.
Package databaseconnector connects to HANA databases with go-hdb driver.
gce
Package gce is a lightweight testable wrapper around GCE compute APIs needed for the gcagent.
Package gce is a lightweight testable wrapper around GCE compute APIs needed for the gcagent.
gce/fake
Package fake provides a fake version of the GCE struct to return canned responses in unit tests.
Package fake provides a fake version of the GCE struct to return canned responses in unit tests.
gce/metadataserver
Package metadataserver performs requests to the metadata server of a GCE instance.
Package metadataserver performs requests to the metadata server of a GCE instance.
gce/workloadmanager
Package workloadmanager contains types and functions to interact with the various WorkloadManager cloud APIs.
Package workloadmanager contains types and functions to interact with the various WorkloadManager cloud APIs.
hanamonitoring
Package hanamonitoring queries HANA databases and sends the results as metrics to Cloud Monitoring.
Package hanamonitoring queries HANA databases and sends the results as metrics to Cloud Monitoring.
heartbeat
Package heartbeat provides a mechanism for long running services to register with a health monitor and for observers to query the monitor for collective health.
Package heartbeat provides a mechanism for long running services to register with a health monitor and for observers to query the monitor for collective health.
hostmetrics
Package hostmetrics provides Google Cloud VM metric information for the SAP host agent to collect.
Package hostmetrics provides Google Cloud VM metric information for the SAP host agent to collect.
hostmetrics/agenttime
Package agenttime maintains time values that are necessary for metrics collection.
Package agenttime maintains time values that are necessary for metrics collection.
hostmetrics/cloudmetricreader
Package cloudmetricreader provides functionality for interfacing with the cloud monitoring API.
Package cloudmetricreader provides functionality for interfacing with the cloud monitoring API.
hostmetrics/configurationmetricreader
Package configurationmetricreader contains utlity functions that build collections of protocol buffers that store various configuration metrics
Package configurationmetricreader contains utlity functions that build collections of protocol buffers that store various configuration metrics
hostmetrics/cpustatsreader
Package cpustatsreader provides functionality for collecting OS cpu metrics.
Package cpustatsreader provides functionality for collecting OS cpu metrics.
hostmetrics/diskstatsreader
Package diskstatsreader provides functionality for collecting OS disk metrics.
Package diskstatsreader provides functionality for collecting OS disk metrics.
hostmetrics/memorymetricreader
Package memorymetricreader provides functionality for collecting OS memory metrics
Package memorymetricreader provides functionality for collecting OS memory metrics
hostmetrics/metricsformatter
Package metricsformatter provides functionality for manipulating data to be used for metrics collection.
Package metricsformatter provides functionality for manipulating data to be used for metrics collection.
hostmetrics/osmetricreader
Package osmetricreader contains utlity functions that build collections of protocol buffers that store various VM metrics
Package osmetricreader contains utlity functions that build collections of protocol buffers that store various VM metrics
instanceinfo
Package instanceinfo provides functionality for interfacing with the compute API.
Package instanceinfo provides functionality for interfacing with the compute API.
log
Package log provides a wrapper to the underlying logging library.
Package log provides a wrapper to the underlying logging library.
onetime
Package onetime processes subcommand flags for onetime execution in agent for SAP.
Package onetime processes subcommand flags for onetime execution in agent for SAP.
pacemaker
Package pacemaker implements Linux Pacemaker cluster related functions.
Package pacemaker implements Linux Pacemaker cluster related functions.
processmetrics
Package processmetrics provides process metrics collection capability for GC SAP Agent.
Package processmetrics provides process metrics collection capability for GC SAP Agent.
processmetrics/cluster
Package cluster provides functionality to collect SAP Linux cluster metrics.
Package cluster provides functionality to collect SAP Linux cluster metrics.
processmetrics/computeresources
Package computeresources provides code for collection of compute resources metrics like CPU and memory per process for various Hana, Netweaver and SAP Control Processes.
Package computeresources provides code for collection of compute resources metrics like CPU and memory per process for various Hana, Netweaver and SAP Control Processes.
processmetrics/hana
Package hana provides functionality to collect SAP HANA metrics.
Package hana provides functionality to collect SAP HANA metrics.
processmetrics/infra
Package infra contains functions that gather infra level migration events for the SAP agent.
Package infra contains functions that gather infra level migration events for the SAP agent.
processmetrics/maintenance
Package maintenance package is responsible for maintenance mode handling for the GC SAP Agent.
Package maintenance package is responsible for maintenance mode handling for the GC SAP Agent.
processmetrics/netweaver
Package netweaver contains functions that gather SAP NetWeaver system metrics for the SAP agent.
Package netweaver contains functions that gather SAP NetWeaver system metrics for the SAP agent.
processmetrics/sapcontrol
Package sapcontrol implements generic sapcontrol functions.
Package sapcontrol implements generic sapcontrol functions.
processmetrics/sapdiscovery
Package sapdiscovery discovers the SAP Applications and instances running on a given instance.
Package sapdiscovery discovers the SAP Applications and instances running on a given instance.
processmetrics/sapservice
Package sapservice is responsible for collecting metrics for SAP service statuses using systemctl is-* cmd.
Package sapservice is responsible for collecting metrics for SAP service statuses using systemctl is-* cmd.
startdaemon
Package startdaemon implements startdaemon mode execution subcommand in agent for SAP.
Package startdaemon implements startdaemon mode execution subcommand in agent for SAP.
system
Package system contains types and functions needed to perform SAP System discovery operations.
Package system contains types and functions needed to perform SAP System discovery operations.
timeseries
Package timeseries has cloudmonitoring timeseries related helper functions.
Package timeseries has cloudmonitoring timeseries related helper functions.
usagemetrics
Package usagemetrics provides logging utility for the operational status of the GC SAP Agent.
Package usagemetrics provides logging utility for the operational status of the GC SAP Agent.
utils/yamlpb
Package yamlpb contains util methods to unmarshall a YAML string to a proto message
Package yamlpb contains util methods to unmarshall a YAML string to a proto message
workloadmanager
Package workloadmanager collects workload manager metrics and sends them to Cloud Monitoring
Package workloadmanager collects workload manager metrics and sends them to Cloud Monitoring
protos

Jump to

Keyboard shortcuts

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