stackstate.yaml
configuration file (Linux and Windows) or using environment variables (Docker, Kubernetes and OpenShift).values.yaml
file with the below contents and specify this when you install/upgrade the StackState Agent. In this values.yaml
example, the min_collection_interval
has been set to double the default setting. This should result in a noticeable drop in the amount of data produced. If required, you can increase the interval further, however, the aim should be to find a balance between the frequency of data collection and the amount of data received by StackState:values.yaml
example below includes configuration to enable clusterChecks and run the Kubernetes_state check as a cluster check.values.yaml
file during installation / upgrade of the StackState Agent with the --values
argument:min_collection_interval
for each of the following system integrations. The default setting is 15
seconds. Doubling this value should result in a noticeable drop in the amount of data produced. If required, you can increase the interval further, however, the aim should be to find a balance between the frequency of data collection and the amount of data received by StackState:/etc/stackstate-agent/conf.d/memory.d/conf.yaml
/etc/stackstate-agent/conf.d/cpu.d/conf.yaml
/etc/stackstate-agent/conf.d/disk.d/conf.yaml
/etc/stackstate-agent/conf.d/load.d/conf.yaml
/etc/stackstate-agent/conf.d/file_handle.d/conf.yaml
/etc/stackstate-agent/stackstate.yaml
:min_collection_interval
for each of the following system integrations. The default setting is 15
seconds. Doubling this value should result in a noticeable drop in the amount of data produced. If required, you can increase the interval further, however, the aim should be to find a balance between the frequency of data collection and the amount of data received by StackState:/etc/stackstate-agent/conf.d/memory.d/conf.yaml
/etc/stackstate-agent/conf.d/cpu.d/conf.yaml
/etc/stackstate-agent/conf.d/disk.d/conf.yaml
/etc/stackstate-agent/conf.d/load.d/conf.yaml
/etc/stackstate-agent/conf.d/file_handle.d/conf.yaml
/etc/stackstate-agent/stackstate.yaml
:min_collection_interval
for each of the following system integrations. The default setting is 15
seconds. Doubling this value should result in a noticeable drop in the amount of data produced. If required, you can increase the interval further, however, the aim should be to find a balance between the frequency of data collection and the amount of data received by StackState:C:\ProgramData\StackState\conf.d\memory.d\conf.yaml
C:\ProgramData\StackState\conf.d\cpu.d\conf.yaml
C:\ProgramData\StackState\conf.d\disk.d\conf.yaml
C:\ProgramData\StackState\conf.d\load.d\conf.yaml
C:\ProgramData\StackState\conf.d\file_handle.d\conf.yaml
C:\ProgramData\StackState\stackstate.yaml
: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.STS_PROCESS_BLACKLIST_PATTERNS
STS_PROCESS_BLACKLIST_INCLUSIONS_CPU_THRESHOLD
STS_PROCESS_BLACKLIST_INCLUSIONS_TOP_CPU
0
.STS_PROCESS_BLACKLIST_INCLUSIONS_TOP_IO_READ
0
.STS_PROCESS_BLACKLIST_INCLUSIONS_TOP_IO_WRITE
0
.STS_PROCESS_BLACKLIST_INCLUSIONS_MEM_THRESHOLD
STS_PROCESS_BLACKLIST_INCLUSIONS_TOP_MEM
0
.stackstate.yaml
and restart StackState Agent V2./etc/stackstate-agent/stackstate.yaml
C:\ProgramData\StackState\stackstate.yaml
process_blacklist.patterns
process_blacklist.inclusions.cpu_pct_usage_threshold
process_blacklist.inclusions.amount_top_cpu_pct_usage
0
.process_blacklist.inclusions.amount_top_io_read_usage
0
.process_blacklist.inclusions.amount_top_io_write_usage
0
.process_blacklist.inclusions.mem_usage_threshold
process_blacklist.inclusions.amount_top_mem_usage
0
.docker run
command:-e STS_APM_URL="https://stackstate-ip:receiver-port/stsAgent"
7077
.-e STS_APM_ENABLED="true"
/etc/stackstate-agent/stackstate.yaml
and set the following variables:apm_sts_url="https://stackstate-ip:receiver-port/stsAgent"
7077
.enabled="true"
apm_config.enabled
.C:\ProgramData\StackState\stackstate.yaml
and change the following variables:apm_sts_url="https://stackstate-ip:receiver-port/stsAgent"
7077
.enabled="true"
apm_config.enabled
.STS_PROCESS_AGENT_ENABLED
true
(collects containers and processes). Set to false
to collect only containers, or disabled
to disable the process Agent.STS_APM_ENABLED
true
. Set to "false"
to disable the APM Agent.STS_NETWORK_TRACING_ENABLED
true
. Set to false
to disable the network tracer.stackstate.yaml
and restart StackState Agent V2./etc/stackstate-agent/stackstate.yaml
C:\ProgramData\StackState\stackstate.yaml
process_config.enabled
true
(collects containers and processes). Set to false
to collect only containers, or disabled
to disable the process Agent.apm_config.enabled
true
. Set to "false"
to disable the APM Agent.network_tracer_config.network_tracing_enabled
true
. Set to false
to disable the network tracer.