process

package
v0.73.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

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