Java settings for Call Graph Profiling

Learn about the available Java agent settings for Call Graph Profiling in Splunk APM.

The following settings control the Call Graph Profiling feature for the Java agent:
System propertyEnvironment variableDescriptionDefault valueType
splunk.profiler.logs-endpointSPLUNK_PROFILER_LOGS_ENDPOINTWhere to send OTLP logs; defaults to the value for otel.exporter.otlp.endpoint.http://localhost:4318/v1/logsstring
splunk.profiler.otlp.protocolSPLUNK_PROFILER_OTLP_PROTOCOLThe transport protocol to use on profiling OTLP log requests. Options include grpc and http/protobuf.http/protobuf

string

splunk.snapshot.profiler.enabledSPLUNK_SNAPSHOT_PROFILER_ENABLEDEnables the call graph profiler.falseboolean
splunk.snapshot.selection.rateSPLUNK_SNAPSHOT_SELECTION_RATEThe rate that traces are selected for snapshotting. The maximum value is .10. Values higher than .10 will be ignored and changed by default to .10..01numeric
splunk.snapshot.profiler.max.stack.depthSPLUNK_SNAPSHOT_PROFILER_MAX_STACK_DEPTHMaximum number of stack frames to retain from a sample stack trace.1024numeric
splunk.snapshot.profiler.sampling.intervalSPLUNK_SNAPSHOT_PROFILER_SAMPLING_INTERVAL

Frequency that the call graph profiler takes stack trace samples.

This value is in the format <number><unit>, where unit can be ms or s.
20msstring