Skip to content

Commit 35ab741

Browse files
authored
Rename the external-IPs feature-flag [ROX_COLLECTOR_EXTERNAL_IPS_ENABLE] (#1894)
1 parent 68c1d36 commit 35ab741

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

collector/lib/CollectorConfig.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ BoolEnvVar set_import_users("ROX_COLLECTOR_SET_IMPORT_USERS", false);
4949

5050
BoolEnvVar collect_connection_status("ROX_COLLECT_CONNECTION_STATUS", true);
5151

52-
BoolEnvVar enable_external_ips("ROX_ENABLE_EXTERNAL_IPS", false);
52+
BoolEnvVar enable_external_ips("ROX_COLLECTOR_EXTERNAL_IPS_ENABLE", false);
5353

5454
BoolEnvVar enable_connection_stats("ROX_COLLECTOR_ENABLE_CONNECTION_STATS", true);
5555

docs/references.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,12 @@ internal state of Collector. Refer to the
8989
[troubleshooting](troubleshooting.md#introspection-endpoints) section for more details.
9090
The default is false.
9191

92-
* `ROX_ENABLE_EXTERNAL_IPS`: Enables or disables the external IPs feature.
92+
* `ROX_COLLECTOR_EXTERNAL_IPS_ENABLE`: Manually enables or disables the external
93+
IPs feature. When enabled, Collector will send full details about IPs communicating
94+
with the cluster. When disabled, external IPs are aggregated as an "External sources"
95+
bucket (unless they match a defined CIDR-block). Runtime configuration is the
96+
preferred method to control external IPs, and it overrides this variable.
97+
Default is disabled.
9398

9499
NOTE: Using environment variables is a preferred way of configuring Collector,
95100
so if you're adding a new configuration knob, keep this in mind.

0 commit comments

Comments
 (0)