File tree Expand file tree Collapse file tree 10 files changed +12
-12
lines changed
internal/buildscripts/packaging Expand file tree Collapse file tree 10 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RUN chmod 755 /otelcol
10
10
FROM scratch
11
11
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
12
12
COPY --from=otelcol /otelcol /
13
- COPY config/collector/splunk_config_linux .yaml /etc/otel/collector/splunk_config_linux .yaml
13
+ COPY config/collector/gateway_config .yaml /etc/otel/collector/gateway_config .yaml
14
14
COPY config/collector/otlp_config_linux.yaml /etc/otel/collector/otlp_config_linux.yaml
15
15
ENTRYPOINT ["/otelcol" ]
16
16
EXPOSE 13133 14250 14268 55680 4317 6060 7276 8888 9411 9443
File renamed without changes.
Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ const (
39
39
realmEnvVarName = "SPLUNK_REALM"
40
40
tokenEnvVarName = "SPLUNK_ACCESS_TOKEN"
41
41
42
- defaultDockerSAPMConfig = "/etc/otel/collector/splunk_config_linux .yaml"
42
+ defaultDockerSAPMConfig = "/etc/otel/collector/gateway_config .yaml"
43
43
defaultDockerOTLPConfig = "/etc/otel/collector/otlp_config_linux.yaml"
44
- defaultLocalSAPMConfig = "cmd/otelcol/config/collector/splunk_config_linux .yaml"
44
+ defaultLocalSAPMConfig = "cmd/otelcol/config/collector/gateway_config .yaml"
45
45
defaultLocalOTLPConfig = "cmd/otelcol/config/collector/otlp_config_linux.yaml"
46
46
defaultMemoryBallastPercentage = 33
47
47
defaultMemoryLimitPercentage = 90
Original file line number Diff line number Diff line change 68
68
yum install -y splunk-otel-collector
69
69
```
70
70
2 . A default configuration file will be installed to
71
- ` /etc/otel/collector/splunk_config_linux .yaml ` if it does not already exist.
71
+ ` /etc/otel/collector/gateway_config .yaml ` if it does not already exist.
72
72
3 . The ` /etc/otel/collector/splunk_env ` environment file is required to start
73
73
the ` splunk-otel-collector ` systemd service. A sample environment file will
74
74
be installed to ` /etc/otel/collector/splunk_env.example ` that includes the
@@ -91,7 +91,7 @@ the Collector. The following environmental variables are required:
91
91
Optional environment variables
92
92
</summary >
93
93
94
- - ` SPLUNK_CONFIG ` (default = ` /etc/otel/collector/splunk_config_linux .yaml ` ): Which configuration to load.
94
+ - ` SPLUNK_CONFIG ` (default = ` /etc/otel/collector/gateway_config .yaml ` ): Which configuration to load.
95
95
- ` SPLUNK_BALLAST_SIZE_MIB ` (no default): How much memory to allocate to the ballast.
96
96
- ` SPLUNK_MEMORY_TOTAL_MIB ` (default = ` 512 ` ): Total memory allocated to the Collector.
97
97
@@ -181,5 +181,5 @@ configuration as shown above.
181
181
If the custom configuration includes a ` memory_limiter ` processor then the
182
182
` ballast_size_mib ` parameter should be the same as the
183
183
` SPLUNK_BALLAST_SIZE_MIB ` environment variable. See
184
- [ splunk_config_linux .yaml] ( cmd/otelcol/config/collector/splunk_config_linux .yaml )
184
+ [ gateway_config .yaml] ( cmd/otelcol/config/collector/gateway_config .yaml )
185
185
as an example.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ SERVICE_GROUP="splunk-otel-collector"
16
16
17
17
OTELCOL_INSTALL_PATH=" /usr/bin/otelcol"
18
18
CONFIG_REPO_PATH=" $REPO_DIR /cmd/otelcol/config/collector/agent_config.yaml"
19
- CONFIG_INSTALL_PATH=" /etc/otel/collector/splunk_config_linux .yaml"
19
+ CONFIG_INSTALL_PATH=" /etc/otel/collector/gateway_config .yaml"
20
20
SERVICE_REPO_PATH=" $FPM_DIR /$SERVICE_NAME .service"
21
21
SERVICE_INSTALL_PATH=" /lib/systemd/system/$SERVICE_NAME .service"
22
22
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ sudo fpm -s dir -t deb -n "$PKG_NAME" -v "$VERSION" -f -p "$OUTPUT_DIR" \
34
34
--after-install " $POSTINSTALL_PATH " \
35
35
--before-remove " $PREUNINSTALL_PATH " \
36
36
--deb-no-default-config-files \
37
- --config-files /etc/otel/collector/splunk_config_linux .yaml \
37
+ --config-files /etc/otel/collector/gateway_config .yaml \
38
38
--config-files /etc/otel/collector/fluentd \
39
39
" $buildroot /" =/
40
40
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ This directory contains a custom fluentd configuration to forward log events
4
4
to the Splunk OpenTelemetry Collector. By default, the collector will listen
5
5
on 127.0.0.1:8006 for log events forwarded from fluentd. See the
6
6
"fluentforward" receiver in the default collector config at
7
- /etc/otel/collector/splunk_config_linux .yaml for details or to make any changes
7
+ /etc/otel/collector/gateway_config .yaml for details or to make any changes
8
8
to the collector.
9
9
10
10
Directory contents:
Original file line number Diff line number Diff line change 1
1
# Sample environment file for passing variables to the splunk-otel-collector service.
2
- # See /etc/otel/collector/splunk_config_linux .yaml for how these variables will be consumed.
2
+ # See /etc/otel/collector/gateway_config .yaml for how these variables will be consumed.
3
3
4
4
# To use this file, update the values below appropriately,
5
5
# and save the changes to "/etc/otel/collector/splunk_env".
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ sudo fpm -s dir -t rpm -n "$PKG_NAME" -v "$VERSION" -f -p "$OUTPUT_DIR" \
42
42
--before-install " $PREINSTALL_PATH " \
43
43
--after-install " $POSTINSTALL_PATH " \
44
44
--before-remove " $PREUNINSTALL_PATH " \
45
- --config-files /etc/otel/collector/splunk_config_linux .yaml \
45
+ --config-files /etc/otel/collector/gateway_config .yaml \
46
46
--config-files /etc/otel/collector/fluentd \
47
47
" $buildroot /" =/
48
48
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ get_distro_codename() {
56
56
}
57
57
58
58
collector_config_dir=" /etc/otel/collector"
59
- collector_config_path=" ${collector_config_dir} /splunk_config_linux .yaml"
59
+ collector_config_path=" ${collector_config_dir} /gateway_config .yaml"
60
60
collector_env_path=" ${collector_config_dir} /splunk_env"
61
61
distro=" $( get_distro ) "
62
62
distro_codename=" $( get_distro_codename ) "
You can’t perform that action at this time.
0 commit comments