Instrument your Java application for Splunk Observability Cloud
Learn how to activate Call Graph Profiling by instrumenting your Java application for Splunk Observability Cloud.
Alpha features described in this document are provided by Splunk to you "as is" without any warranties, maintenance and support, or service-level commitments. Splunk makes this alpha feature available in its sole discretion and may discontinue it at any time. These documents are not yet publicly available and we ask that you keep such information confidential. Use of alpha features is subject to the Splunk Pre-Release Agreement for Hosted Services.
Service map
- Business workflows
Call Graph Profiling
Activate Call Graph Profiling
To activate Call Graph Profiling, use the splunk.snapshot.profiler.enabled
system property argument or the SPLUNK_SNAPSHOT_PROFILE_ENABLED
environment variable. For more information on using the environment variable, see Java settings for Call Graph Profiling.
java -javaagent:./splunk-otel-javaagent.jar \
-Dsplunk.snapshot.profiler.enabled=true \
-Dotel.exporter.otlp.endpoint=http(s)://collector:4317 \
-jar <your_application>.jar
See Get data into Splunk APM Call Graph Profiling for more information. For more settings, see Java settings for Call Graph Profiling.