diff --git a/README.md b/README.md index b87e096..15858a0 100644 --- a/README.md +++ b/README.md @@ -129,6 +129,7 @@ The following environment variables are supported. You can pass environment vari |`SUMO_ACCESS_KEY_FILE` |Passes a bound file path containing Access Key.| |`SUMO_INSTALLATION_TOKEN_FILE` |Passes a bound file path containing the Installation Token.| |`SUMO_CLOBBER` |When true, if there is an existing collector with the same name, that collector will be deleted.

Default: false| +|`SUMO_COLLECTOR_CATEGORY` |Specify collector Category.| |`SUMO_COLLECTOR_EPHEMERAL` |When true, the collector will be deleted after it goes offline for 12 hours.

Default: true.| |`SUMO_COLLECTOR_FIELDS` |Optional comma separated list of key=value fields to be added to the collector e.g. `_budget=Dev_20,cluster=k8s.dev`. Does nothing if `SUMO_GENERATE_USER_PROPERTIES` is set to “false”.| |`SUMO_COLLECTOR_NAME` |Configures the name of the collector. The default is set dynamically to the value in `/etc/hostname`.| diff --git a/run.sh b/run.sh index a69a1a1..bf041a8 100755 --- a/run.sh +++ b/run.sh @@ -127,6 +127,7 @@ generate_user_properties_file() { ["SUMO_JAVA_MEMORY_INIT"]="wrapper.java.initmemory" ["SUMO_JAVA_MEMORY_MAX"]="wrapper.java.maxmemory" ["SUMO_COLLECTOR_FIELDS"]="fields" + ["SUMO_COLLECTOR_CATEGORY"]="category" ) USER_PROPERTIES=""