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

Commit 448774a

Browse files
Include EC2 Libvirt VMM usage in analytics
1 parent 7113612 commit 448774a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

localstack-core/localstack/runtime/analytics.py

Lines changed: 10 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,8 @@
2830
"DYNAMODB_IN_MEMORY",
2931
"DYNAMODB_REMOVE_EXPIRED_ITEMS",
3032
"EAGER_SERVICE_LOADING",
33+
"EC2_DOCKER_INIT",
34+
"EC2_DOWNLOAD_DEFAULT_IMAGES",
3135
"EC2_VM_MANAGER",
3236
"ECS_TASK_EXECUTOR",
3337
"EDGE_PORT",
@@ -73,9 +77,15 @@
7377
"USE_SSL",
7478
]
7579

80+
# Config options for which only the usage is reported in analytics.
81+
# Use this for options which may hold sensitive data or PII.
7682
PRESENCE_ENV_VAR = [
7783
"DATA_DIR",
7884
"EDGE_FORWARD_URL", # Not functional; deprecated in 1.4.0, removed in 3.0.0
85+
"EC2_HYPERVISOR_URI",
86+
"EC2_REFERENCE_DOMAIN",
87+
"EC2_LIBVIRT_NETWORK",
88+
"EC2_LIBVIRT_POOL",
7989
"GATEWAY_LISTEN",
8090
"HOSTNAME",
8191
"HOSTNAME_EXTERNAL",

0 commit comments

Comments
 (0)