Advanced OpenTelemetry Collector
Pre-requisites
Prerequisites #
- Proficiency in editing YAML files using
vi,vim,nano, or your preferred text editor. - Supported Environments:
- A provided Splunk Workshop Instance (preferred). Outbound access to port
2222is required forsshaccess. - Apple Mac (Apple Silicon). Installation of
jqis required - https://jqlang.org/download/
- A provided Splunk Workshop Instance (preferred). Outbound access to port
Exercise
Create a directory: In your environment create a new directory and change into it:
bash
mkdir advanced-otel-workshop && \
cd advanced-otel-workshopWe will refer to this directory as [WORKSHOP] for the remainder of the workshop.
Remove any existing OpenTelemetry Collectors
If you have completed the Splunk IM workshop, please ensure you have deleted the collector running in Kubernetes before continuing. This can be done by running the following command:
bash
helm delete splunk-otel-collectorThe EC2 instance in that case may also run some services that can interfere with this workshop , so run the following command to make sure they are stopped if present:
bash
kubectl delete ~/workshop/apm/deployment.yamlDownload workshop binaries: Change into your [WORKSHOP] directory and download the OpenTelemetry Collector, Load Generator binaries and setup script:
bash
curl -L https://github.com/signalfx/splunk-otel-collector/releases/download/v0.136.0/otelcol_linux_amd64 -o otelcol && \
curl -L https://github.com/splunk/observability-workshop/raw/refs/heads/main/workshop/ninja/advanced-otel/loadgen/build/loadgen-linux-amd64 -o loadgen && \
curl -L https://github.com/splunk/observability-workshop/raw/refs/heads/main/workshop/ninja/advanced-otel/setup-workshop.sh -o setup-workshop.sh && \
chmod +x setup-workshop.shbash
curl -L https://github.com/signalfx/splunk-otel-collector/releases/download/v0.136.0/otelcol_darwin_arm64 -o otelcol && \
curl -L https://github.com/splunk/observability-workshop/raw/refs/heads/main/workshop/ninja/advanced-otel/loadgen/build/loadgen-darwin-arm64 -o loadgen && \
curl -L https://github.com/splunk/observability-workshop/raw/refs/heads/main/workshop/ninja/advanced-otel/setup-workshop.sh -o setup-workshop.sh && \
chmod +x setup-workshop.sh
