mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-08 09:37:58 +00:00
new(userspace/falco): extend stats v2 configs w/ relevant env variables
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com>
This commit is contained in:
parent
78dbfab48f
commit
010e45a4af
@ -53,6 +53,8 @@ if(MUSL_OPTIMIZED_BUILD)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(SCAP_HOST_ROOT_ENV_VAR_NAME "HOST_ROOT")
|
set(SCAP_HOST_ROOT_ENV_VAR_NAME "HOST_ROOT")
|
||||||
|
set(SCAP_HOSTNAME_ENV_VAR "FALCO_HOSTNAME")
|
||||||
|
set(SINSP_AGENT_CGROUP_MEM_PATH_ENV_VAR "FALCO_CGROUP_MEM")
|
||||||
|
|
||||||
if(NOT LIBSCAP_DIR)
|
if(NOT LIBSCAP_DIR)
|
||||||
set(LIBSCAP_DIR "${FALCOSECURITY_LIBS_SOURCE_DIR}")
|
set(LIBSCAP_DIR "${FALCOSECURITY_LIBS_SOURCE_DIR}")
|
||||||
|
@ -585,6 +585,9 @@ base_syscalls:
|
|||||||
#
|
#
|
||||||
# Disabled by default.
|
# Disabled by default.
|
||||||
#
|
#
|
||||||
|
# Env variable `-E FALCO_HOSTNAME=myhostname` customizes hostname in case
|
||||||
|
# you deploy in Kubernetes where the hostname can be equivalent to the pod name.
|
||||||
|
#
|
||||||
# `stats_interval_preset`:
|
# `stats_interval_preset`:
|
||||||
# preset 0: default -> means skip, not enabled
|
# preset 0: default -> means skip, not enabled
|
||||||
# preset 1: 15 <min> -> 900000 <msec>
|
# preset 1: 15 <min> -> 900000 <msec>
|
||||||
@ -613,7 +616,10 @@ base_syscalls:
|
|||||||
# `include_resource_utilization`:
|
# `include_resource_utilization`:
|
||||||
# Emit CPU and memory usages. CPU usage is percentage of one CPU,
|
# Emit CPU and memory usages. CPU usage is percentage of one CPU,
|
||||||
# can be normalized to total number of CPUs to determine overall usage.
|
# can be normalized to total number of CPUs to determine overall usage.
|
||||||
# Memory metrics are currently kept in raw units, kb or bytes.
|
# Memory metrics are currently kept in raw units, `kb` for RSS, PSS and VSZ
|
||||||
|
# or `bytes` for container_memory_used.
|
||||||
|
# `-E FALCO_CGROUP_MEM=customfile` let's you customize container_memory_used
|
||||||
|
# which defaults to Kubernetes `/sys/fs/cgroup/memory/memory.usage_in_bytes`.
|
||||||
#
|
#
|
||||||
# `include_kernel_evts_counters`:
|
# `include_kernel_evts_counters`:
|
||||||
# Emit kernel side event and drop counters, compare to `syscall_event_drops`,
|
# Emit kernel side event and drop counters, compare to `syscall_event_drops`,
|
||||||
|
Loading…
Reference in New Issue
Block a user