In this section we’ll deploy the OpenTelemetry Collector in our OpenShift namespace,
which gathers metrics, logs, and traces from the infrastructure and applications
running in the cluster, and sends the resulting data to Splunk Observability Cloud.
Deploy the OpenTelemetry Collector
Ensure Helm is installed
Run the following command to confirm that Helm is installed:
Note: if you get an error that says Missing variables, you’ll need to
define your environment variables again. Add your participant number
before running the following commands:
Run the following command to confirm that the collector pods are running:
watch -n 1 oc get pods
NAME READY STATUS RESTARTS AGE
splunk-otel-collector-agent-58rwm 1/1 Running 0 6m40s
splunk-otel-collector-agent-8dndr 1/1 Running 0 6m40s
Note: in OpenShift environments, the collector takes about three minutes to
start and transition to the Running state.
Review Collector Data in Splunk Observability Cloud
Confirm that you can see your cluster in Splunk Observability Cloud by navigating to
Infrastructure Monitoring -> Kubernetes -> Kubernetes Clusters and then
adding a filter on k8s.cluster.name with your cluster name (i.e. ai-pod-workshop-participant-1):