Advanced Agent configuration
This page describes StackState v4.4.x.
The StackState 4.4 version range is End of Life (EOL) and no longer supported. We encourage customers still running the 4.4 version range to upgrade to a more recent release.
Overview
A number of advanced configuration options are available for StackState Agent V2. These can be set either in the stackstate.yaml
configuration file (Linux and Windows) or using environment variables (Docker, Kubernetes and OpenShift).
Blacklist and inclusions
Processes reported by StackState Agent V2 can optionally be filtered using a blacklist. Using this in conjunction with inclusion rules will allow otherwise excluded processes to be included.
The blacklist is specified as a list of regex patterns. Inclusions override the blacklist patterns, these are used to include processes that consume a lot of resources. Each inclusion type specifies an amount of processes to report as the top resource using processes. For top_cpu
and top_mem
a threshold must first be met, meaning that a process needs to consume a higher percentage of resources than the specified threshold before it is reported.
To specify a blacklist and/or inclusions, set the associated environment variables and restart StackState Agent V2.
Environment variable | Description |
---|---|
| A list of regex patterns that will exclude a process if matched. Default patterns (github.com). |
| Threshold that enables the reporting of high CPU usage processes. |
| The number of processes to report that have a high CPU usage. Default |
| The number of processes to report that have a high IO read usage. Default |
| The number of processes to report that have a high IO write usage. Default |
| Threshold that enables the reporting of high memory usage processes. |
| The number of processes to report that have a high memory usage. Default |
Disable Agent features
Certain features of the Agent can optionally be turned off if they are not needed.
To disable a feature, set the associated environment variable and restart StackState Agent V2.
Environment variable | Description |
---|---|
| Default |
| Default |
| Default |
Last updated