@@ -25,14 +25,14 @@ which require the following environment variables:
25
25
In addition, the following environment variables are optional:
26
26
27
27
- ` SPLUNK_CONFIG ` (default = ` /etc/otel/collector/splunk-config_linux.yaml ` ): Which configuration to load.
28
- - ` SPLUNK_MEMORY_LIMIT_PERCENTAGE ` (default = ` 90 ` ): Maximum amount of total memory targeted to be allocated by the process heap.
29
- - ` SPLUNK_MEMORY_SPIKE_PERCENTAGE ` (default = ` 20 ` ): Maximum spike expected between the measurements of memory usage.
28
+ - ` SPLUNK_MEMORY_LIMIT_PERCENTAGE ` (default = ` 90 ` ): Maximum total memory to be allocated by the process heap.
29
+ - ` SPLUNK_MEMORY_SPIKE_PERCENTAGE ` (default = ` 20 ` ): Maximum spike between the measurements of memory usage.
30
30
31
31
When running on a non-linux system, the following environment variables are required:
32
32
33
- - ` SPLUNK_CONFIG ` (default = ` /etc/otel/collector/splunk-config_non_linux.yaml ` ): Which configuration to load.
34
- - ` SPLUNK_MEMORY_LIMIT_MIB ` (no default): Maximum amount of total memory targeted to be allocated by the process heap.
35
- - ` SPLUNK_MEMORY_SPIKE_MIB ` (no default): Maximum spike expected between the measurements of memory usage.
33
+ - ` SPLUNK_CONFIG ` (default = ` /etc/otel/collector/splunk-config_non_linux.yaml ` ): Configuration to load.
34
+ - ` SPLUNK_MEMORY_LIMIT_MIB ` (no default): Maximum total memory to be allocated by the process heap.
35
+ - ` SPLUNK_MEMORY_SPIKE_MIB ` (no default): Maximum spike between the measurements of memory usage.
36
36
37
37
Deploy the collector as outlined in the below. More information
38
38
about deploying and configuring the collector can be found
@@ -43,8 +43,9 @@ about deploying and configuring the collector can be found
43
43
Deploy from a Docker container (replace ` 0.1.0 ` with the latest stable version number if necessary):
44
44
45
45
``` bash
46
- $ docker run --rm -e SPLUNK_REALM=us0 -e SPLUNK_ACCESS_TOKEN=12345 -e SPLUNK_BALLAST_SIZE_MIB=683 \
47
- -p 13133 -p 14250 -p 14268 -p 55678-55680 -p 6060 -p 7276 -p 8888 -p 9411 -p 9943 \
46
+ $ docker run --rm -e SPLUNK_ACCESS_TOKEN=12345 -e SPLUNK_BALLAST_SIZE_MIB=683 \
47
+ -e SPLUNK_REALM=us0 -p 13133:13133 -p 14250:14250 -p 14268:14268 -p 55678-55680:55678-55680 \
48
+ -p 6060:6060 -p 7276:7276 -p 8888:8888 -p 9411:9411 -p 9943:9943 \
48
49
--name otelcol quay.io/signalfx/splunk-otel-collector:0.1.0
49
50
```
50
51
@@ -73,6 +74,8 @@ least a CPU core per Collector. Multiple Collectors can deployed behind a load
73
74
balancer. Each Collector runs independently, so sizing increases linearly with
74
75
the number of Collectors you deploy.
75
76
77
+ > The Collector does not persist data to disk so no disk space is required.
78
+
76
79
## Advanced Configuration
77
80
78
81
### Command Line Arguments
@@ -83,8 +86,9 @@ specified. Command line arguments take priority over environment variables.
83
86
For example in Docker:
84
87
85
88
``` bash
86
- $ docker run --rm -e SPLUNK_REALM=us0 -e SPLUNK_ACCESS_TOKEN=12345 -e SPLUNK_BALLAST_SIZE_MIB=683 \
87
- -p 13133 -p 14250 -p 14268 -p 55678-55680 -p 6060 -p 7276 -p 8888 -p 9411 -p 9943 \
89
+ $ docker run --rm -e SPLUNK_ACCESS_TOKEN=12345 -e SPLUNK_BALLAST_SIZE_MIB=683 \
90
+ -e SPLUNK_REALM=us0 -p 13133:13133 -p 14250:14250 -p 14268:14268 -p 55678-55680:55678-55680 \
91
+ -p 6060:6060 -p 7276:7276 -p 8888:8888 -p 9411:9411 -p 9943:9943 \
88
92
-v collector.yaml:/etc/collector.yaml:ro \
89
93
--name otelcol quay.io/signalfx/splunk-otel-collector:0.1.0 \
90
94
--log-level=DEBUG
@@ -98,12 +102,18 @@ be provided.
98
102
For example in Docker:
99
103
100
104
``` bash
101
- $ docker run --rm -e SPLUNK_REALM=us0 -e SPLUNK_ACCESS_TOKEN=12345 -e SPLUNK_BALLAST_SIZE_MIB=683 -e SPLUNK_CONFIG=/etc/collector.yaml \
102
- docker run -p 13133 -p 14250 -p 14268 -p 55678-55680 -p 6060 -p 7276 -p 8888 -p 9411 -p 9943 \
103
- -v collector.yaml:/etc/collector.yaml:ro \
105
+ $ docker run --rm -e SPLUNK_ACCESS_TOKEN=12345 -e SPLUNK_BALLAST_SIZE_MIB=683 \
106
+ -e SPLUNK_REALM=us0 -e SPLUNK_CONFIG=/etc/collector.yaml -p 13133:13133 -p 14250:14250 \
107
+ -p 14268:14268 -p 55678-55680:55678-55680 -p 6060:6060 -p 7276:7276 -p 8888:8888 \
108
+ -p 9411:9411 -p 9943:9943 -v collector.yaml:/etc/collector.yaml:ro \
104
109
--name otelcol quay.io/signalfx/splunk-otel-collector:0.1.0
105
110
```
106
111
107
112
Note that if the configuration includes a memorylimiter processor then it must set the
108
113
value of ` ballast_size_mib ` setting of the processor to the env variable SPLUNK_BALLAST_SIZE_MIB.
109
114
See for example splunk_config.yaml on how to do it.
115
+
116
+ ## Troubleshooting
117
+
118
+ See the [ Collector troubleshooting
119
+ documentation] ( https://github.com/open-telemetry/opentelemetry-collector/blob/master/docs/troubleshooting.md ) .
0 commit comments