Java agent compatibility and requirements
This is what you need to instrument Java applications for Splunk Observability Cloud.
Meet the following requirements to instrument Java applications for Splunk Observability Cloud.
Make sure you are using compatible Java and JVM versions
The agent of the Splunk Distribution of OpenTelemetry Java is compatible with the following Java versions:
-
Java 8u40 and higher, or 8u262 and higher for AlwaysOn Profiling
-
Java LTS versions 11 and higher
The following Java Virtual Machines (JVMs) are compatible as JDK or JRE:
-
AdoptOpenJDK
-
Amazon Corretto
-
Azul Zulu
-
BellSoft Liberica JDK
-
Eclipse Adoptium and Temurin
-
IBM J9
-
Microsoft build of OpenJDK
-
OpenJDK
-
Oracle JDK
-
SAP SapMachine
Dependencies
{"name": "Dependency", "source_href": "Link to source", "version": "Version", "stability": "Stability"}
dependencies
https://raw.githubusercontent.com/splunk/o11y-gdi-metadata/main/apm/splunk-otel-java/metadata.yaml
Supported libraries and frameworks
The Splunk Distribution of OpenTelemetry Java instruments numerous libraries, frameworks, and application servers.
{"keys": "Identifier", "description": "Description", "stability": "Stability", "support": "Support", "instrumented_components": "Components", "signals": "Signals", "source_href": "Source", "settings": "Settings", "dependencies": "Dependencies", "supported_versions": "Supported versions", "name": "Name", "package_href": "Package URL", "version": "Version", "instrument": "Type", "metric_name": "Metric name", "metrics": "Metrics", "env": "Environment variable", "default": "Default", "type": "Type", "category": "Category"}
instrumentations
https://raw.githubusercontent.com/splunk/o11y-gdi-metadata/main/apm/splunk-otel-java/metadata.yaml
For a complete list of supported libraries and frameworks, see Supported libraries in the OpenTelemetry documentation.
Install and configure the Splunk Distribution of OpenTelemetry Collector
The Splunk Distribution of OpenTelemetry Java exports application and JVM metrics 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 OTel Collector for Linux. See Install the Collector for Linux with the installer script.
-
Splunk OTel Collector for Windows. See Install the Collector for Windows with the installer script.
-
Splunk OTel Collector for Kubernetes. See Install the Collector for Kubernetes using Helm.