File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## [ Unreleased]
4
4
5
+ ### Configuration
6
+
7
+ #### Enhancements
8
+
9
+ - ` SPLUNK_PROFILER_CALL_STACK_INTERVAL ` defaults to ` 1000 ` for single-threaded runtimes.
10
+
5
11
### Repository
6
12
7
13
#### Enhancements
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ instrumentation libraries that contain profiling features.
12
12
### Call Stack Sampling
13
13
14
14
An instrumentation library that has profiling capabilities MUST be able to
15
- sample call stacks at a fixed interval. This default interval MUST default to 10
16
- seconds.
15
+ sample call stacks at a fixed interval.
17
16
18
17
When a language runtime supports threading, stacks MUST be sampled across all
19
18
process threads. The samples for all threads SHOULD be taken instantaneously
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ instance using the following environment variables:
167
167
| Name | Default | Description |
168
168
| ----------------------------------------| ---------| ------------------------------------------------------------------------------------------|
169
169
| ` SPLUNK_ACCESS_TOKEN ` | | Access token added to exported data. [ 1] |
170
- | ` SPLUNK_PROFILER_CALL_STACK_INTERVAL ` | 10000 | Interval at which call stacks are sampled (in ms) [ 5] |
170
+ | ` SPLUNK_PROFILER_CALL_STACK_INTERVAL ` | [ 7 ] | Interval at which call stacks are sampled (in ms) [ 5] |
171
171
| ` SPLUNK_PROFILER_ENABLED ` | false | Whether CPU profiling is enabled. [ 2] [ 5] |
172
172
| ` SPLUNK_PROFILER_LOGS_ENDPOINT ` | * | Where profiling data is sent. Defaults to the value in ` OTEL_EXPORTER_OTLP_ENDPOINT ` [ 5] |
173
173
| ` SPLUNK_PROFILER_MEMORY_ENABLED ` | false | Whether memory profiling is enabled. [ 2] [ 6] |
@@ -199,6 +199,7 @@ instance using the following environment variables:
199
199
MUST be set to ` true ` .
200
200
- [ 5] : Applies only to instrumentation libraries with CPU profiling capabilities.
201
201
- [ 6] : Applies only to instrumentation libraries with memory profiling capabilities.
202
+ - [ 7] : ` 10000 ` for multi-threaded runtimes, ` 1000 ` for single-threaded runtimes.
202
203
203
204
In addition to Splunk-specific environment variables, the following
204
205
[ OpenTelemetry environment
You can’t perform that action at this time.
0 commit comments