Splunk OTel JS compatibility and requirements 🔗
Meet these requirements to instrument Node.js applications for Splunk Observability Cloud using the Splunk Distribution of OpenTelemetry JS.
Note
For front-end applications built using JavaScript libraries like React, use Splunk Real User Monitoring (RUM) for Browser. See Instrument browser-based web applications for Splunk RUM.
Ensure you have supported Node.js and library versions 🔗
The Splunk Distribution of OpenTelemetry JS requires Node.js 14 and higher. To activate AlwaysOn Profiling, you need Node.js 16 or higher.
Dependencies 🔗
Supported libraries 🔗
The Splunk Distribution of OpenTelemetry JS instruments the following libraries and packages:
For a complete list, see the plugins folder in the OpenTelemetry upstream repository on GitHub. To use any additional instrumentation, install it using npm before running your application.
Install and configure the Splunk Distribution of OpenTelemetry Collector 🔗
The Splunk Distribution of OpenTelemetry JS exports application traces and spans to the Splunk Distribution of OpenTelemetry Collector, which also collects system metric data and logs, including profiling data.
To send application traces and spans to Splunk Observability Cloud, install the Splunk Distribution of OpenTelemetry Collector for your platform. The following distributions are available:
Splunk Distribution of the OpenTelemetry Collector for Linux. See Install the Collector for Linux with the installer script.
Splunk Distribution of the OpenTelemetry Collector for Windows. See Install the Collector for Windows with the installer script.
Splunk Distribution of the OpenTelemetry Collector for Kubernetes. See Install the Collector for Kubernetes using Helm.