Skip to content

Commit 26242e5

Browse files
authored
Merge pull request #117 from belong-events/main
Add an option to specify `category` in generated `user.properties`
2 parents b27707d + f9ba42d commit 26242e5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ The following environment variables are supported. You can pass environment vari
129129
|`SUMO_ACCESS_KEY_FILE` |Passes a bound file path containing Access Key.|
130130
|`SUMO_INSTALLATION_TOKEN_FILE` |Passes a bound file path containing the Installation Token.|
131131
|`SUMO_CLOBBER` |When true, if there is an existing collector with the same name, that collector will be deleted.<br><br>Default: false|
132+
|`SUMO_COLLECTOR_CATEGORY` |Specify collector Category.|
132133
|`SUMO_COLLECTOR_EPHEMERAL` |When true, the collector will be deleted after it goes offline for 12 hours. <br><br>Default: true.|
133134
|`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”.|
134135
|`SUMO_COLLECTOR_NAME` |Configures the name of the collector. The default is set dynamically to the value in `/etc/hostname`.|

run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ generate_user_properties_file() {
127127
["SUMO_JAVA_MEMORY_INIT"]="wrapper.java.initmemory"
128128
["SUMO_JAVA_MEMORY_MAX"]="wrapper.java.maxmemory"
129129
["SUMO_COLLECTOR_FIELDS"]="fields"
130+
["SUMO_COLLECTOR_CATEGORY"]="category"
130131
)
131132

132133
USER_PROPERTIES=""

0 commit comments

Comments
 (0)