Help us shape the future of Go! Take the 2026 Go Developer Survey

process

package
v0.84.6 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package process contains end-to-end tests for the general functionality of the process agent.

Index

Constants

View Source
const (

	// DiskSpdExe is the path to the amd64 diskspd executable after extraction
	// (Microsoft DiskSpd release layout: amd64/diskspd.exe inside the zip).
	DiskSpdExe = "C:/diskspd/amd64/diskspd.exe"
)

Variables

This section is empty.

Functions

func FilterProcessPayloadsByName added in v0.71.0

func FilterProcessPayloadsByName(payloads []*aggregator.ProcessPayload, processName string) []*agentmodel.Process

FilterProcessPayloadsByName returns processes which match the given process name

Types

type AgentStatus

type AgentStatus struct {
	ProcessAgentStatus struct {
		Expvars struct {
			Map struct {
				EnabledChecks                []string            `json:"enabled_checks"`
				SysProbeProcessModuleEnabled bool                `json:"system_probe_process_module_enabled"`
				Endpoints                    map[string][]string `json:"endpoints"`
			} `json:"process_agent"`
		} `json:"expvars"`
		Error string `json:"error"`
	} `json:"processAgentStatus"`
	ProcessComponentStatus struct {
		Expvars struct {
			Map struct {
				EnabledChecks                []string            `json:"enabled_checks"`
				SysProbeProcessModuleEnabled bool                `json:"system_probe_process_module_enabled"`
				Endpoints                    map[string][]string `json:"endpoints"`
			} `json:"process_agent"`
		} `json:"expvars"`
	} `json:"processComponentStatus"`
}

AgentStatus is a subset of the agent's status response for asserting the process-agent runtime

Jump to

Keyboard shortcuts

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