From cca50b4d413b634f4cf109c486e228d335535279 Mon Sep 17 00:00:00 2001 From: Belong Events <120134271+belong-events@users.noreply.github.com> Date: Thu, 14 Dec 2023 09:19:40 +0200 Subject: [PATCH 1/4] Update run.sh - Add "SUMO_CATEGORY" --- run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/run.sh b/run.sh index a69a1a1..44e9326 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_CATEGORY"]="category" ) USER_PROPERTIES="" From f674c9532297d9255ba0bf47b4a2b9a64e987f76 Mon Sep 17 00:00:00 2001 From: Belong Events <120134271+belong-events@users.noreply.github.com> Date: Thu, 14 Dec 2023 09:21:26 +0200 Subject: [PATCH 2/4] Update README.md - Add "SUMO_CATEGORY" --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b87e096..637171a 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ The following environment variables are supported. You can pass environment vari |`SUMO_ACCESS_ID_FILE` |Passes a bound file path containing Access ID.| |`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_CATEGORY` |Specify collector Category.| |`SUMO_CLOBBER` |When true, if there is an existing collector with the same name, that collector will be deleted.

Default: false| |`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”.| From d509180a01120f1a4b8142ce1e028b78494f3014 Mon Sep 17 00:00:00 2001 From: Belong Events <120134271+belong-events@users.noreply.github.com> Date: Thu, 14 Dec 2023 09:26:15 +0200 Subject: [PATCH 3/4] Update README.md - SUMO_CATEGORY -> SUMO_COLLECTOR_CATEGORY --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 637171a..15858a0 100644 --- a/README.md +++ b/README.md @@ -128,8 +128,8 @@ The following environment variables are supported. You can pass environment vari |`SUMO_ACCESS_ID_FILE` |Passes a bound file path containing Access ID.| |`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_CATEGORY` |Specify collector Category.| |`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`.| From f9ba42d557ec3cea19780464e3fff4ba1f0e1949 Mon Sep 17 00:00:00 2001 From: Belong Events <120134271+belong-events@users.noreply.github.com> Date: Thu, 14 Dec 2023 09:26:46 +0200 Subject: [PATCH 4/4] Update run.sh: SUMO_CATEGORY -> SUMO_COLLECTOR_CATEGORY --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 44e9326..bf041a8 100755 --- a/run.sh +++ b/run.sh @@ -127,7 +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_CATEGORY"]="category" + ["SUMO_COLLECTOR_CATEGORY"]="category" ) USER_PROPERTIES=""