Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Commit 037ba16

Browse files
Include EC2 Libvirt VMM usage in analytics (#13502)
1 parent dd72013 commit 037ba16

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

localstack-core/localstack/runtime/analytics.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
LOG = logging.getLogger(__name__)
99

10+
# Config options for which both usage and values are reported in analytics.
11+
# Important: This list must only contain options whose values do not contain PII or sensitive data.
1012
TRACKED_ENV_VAR = [
1113
"ACTIVATE_PRO",
1214
"ALLOW_NONSTANDARD_REGIONS",
@@ -28,6 +30,7 @@
2830
"DYNAMODB_IN_MEMORY",
2931
"DYNAMODB_REMOVE_EXPIRED_ITEMS",
3032
"EAGER_SERVICE_LOADING",
33+
"EC2_DOCKER_INIT",
3134
"EC2_VM_MANAGER",
3235
"ECS_TASK_EXECUTOR",
3336
"EDGE_PORT",
@@ -73,9 +76,15 @@
7376
"USE_SSL",
7477
]
7578

79+
# Config options for which only the usage is reported in analytics.
80+
# Use this for options which may hold sensitive data or PII.
7681
PRESENCE_ENV_VAR = [
7782
"DATA_DIR",
7883
"EDGE_FORWARD_URL", # Not functional; deprecated in 1.4.0, removed in 3.0.0
84+
"EC2_HYPERVISOR_URI",
85+
"EC2_REFERENCE_DOMAIN",
86+
"EC2_LIBVIRT_NETWORK",
87+
"EC2_LIBVIRT_POOL",
7988
"GATEWAY_LISTEN",
8089
"HOSTNAME",
8190
"HOSTNAME_EXTERNAL",

0 commit comments

Comments
 (0)