sapservice

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: 8 Imported by: 0

Documentation

Overview

Package sapservice is responsible for collecting metrics for SAP service statuses using systemctl is-* cmd.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstanceProperties

type InstanceProperties struct {
	Config   *cnfpb.Configuration
	Client   cloudmonitoring.TimeSeriesCreator
	Execute  commandlineexecutor.Execute
	ExitCode commandlineexecutor.ExitCode
}

InstanceProperties has the necessary context for Metrics collection. InstanceProperties implements the Collector interface for sapservice.

func (*InstanceProperties) Collect

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

Collect is an implementation of Collector interface from processmetrics responsible for collecting sap service statuses metric.

Jump to

Keyboard shortcuts

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