Step 2: Deploy a supported OpenTelemetry Collector
Deploy a supported OpenTelemetry collector if you haven't already done so.
Context
Deploy a supported OpenTelemetry collector if you haven't already, and upgrade it to a supported version.
Supported OpenTelemetry collectors
The following minimum versions are required for Secure Application functionality:
-
Splunk Distribution of OpenTelemetry 1.40.0 and later. If you deploy the Splunk Distribution of OpenTelemetry Collector on Kubernetes with Helm, use Helm chart splunk-otel-collector-0.137.0 and later.
-
Community (upstream) OpenTelemetry collector
Easiest deployment option
The easiest option is to deploy the Splunk Distribution of OpenTelemetry Collector on Kubernetes with Helm chart version splunk-otel-collector-0.137.0 or above. This Helm chart is preconfigured with everything you need for Secure Application.
This section contains deployment instructions specific to Secure Application. For complete instructions see Get started with the Collector for Kubernetes.
-
Add the Helm repository:SHELL
helm repo add splunk-otel-collector-chart https://signalfx.github.io/splunk-otel-collector-chart -
Ensure the repository is up to date:
SHELLhelm repo update -
Install the collector, with
splunkObservability.secureAppEnabledset totrueon thehelm installcommand:- Install collector with zero-code instrumentation
-
As of version 0.154.0, for easiest setup, you can use zero-code instrumentation with Secure Application enabled:
SHELLhelm install my-splunk-otel-collector --set="splunkObservability.secureAppEnabled=true,splunkObservability.realm=<your-splunk-realm>,splunkObservability.accessToken=<your-access-token>,clusterName=<your-cluster-name>" splunk-otel-collector-chart/splunk-otel-collectorSkip Step 3: Instrument your application for Secure Application.
- Install collector and instrumentation agents separately
-
As of version 0.137.0, you can install the collector with
splunkObservability.secureAppEnabledset totrueon thehelm installcommand:SHELLhelm install my-splunk-otel-collector --set="splunkObservability.secureAppEnabled=true,splunkObservability.realm=<your-splunk-realm>,splunkObservability.accessToken=<your-access-token>,clusterName=<your-cluster-name>" splunk-otel-collector-chart/splunk-otel-collectorProceed to Step 3: Instrument your application for Secure Application.
See Helm chart installation examples that have Secure Application enabled: