|
32 | 32 | import static datadog.trace.api.config.ProfilingConfig.PROFILING_DIRECT_ALLOCATION_ENABLED_DEFAULT;
|
33 | 33 | import static datadog.trace.api.config.ProfilingConfig.PROFILING_ENABLED;
|
34 | 34 | import static datadog.trace.api.config.ProfilingConfig.PROFILING_ENABLED_DEFAULT;
|
| 35 | +import static datadog.trace.api.config.TraceInstrumentationConfig.AKKA_FORK_JOIN_EXECUTOR_TASK_NAME; |
| 36 | +import static datadog.trace.api.config.TraceInstrumentationConfig.AKKA_FORK_JOIN_POOL_NAME; |
| 37 | +import static datadog.trace.api.config.TraceInstrumentationConfig.AKKA_FORK_JOIN_TASK_NAME; |
35 | 38 | import static datadog.trace.api.config.TraceInstrumentationConfig.AXIS_TRANSPORT_CLASS_NAME;
|
36 | 39 | import static datadog.trace.api.config.TraceInstrumentationConfig.CODE_ORIGIN_FOR_SPANS_ENABLED;
|
37 | 40 | import static datadog.trace.api.config.TraceInstrumentationConfig.EXPERIMENTAL_DEFER_INTEGRATIONS_UNTIL;
|
@@ -129,6 +132,10 @@ public class InstrumenterConfig {
|
129 | 132 | private final boolean websocketTracingEnabled;
|
130 | 133 | private final boolean pekkoSchedulerEnabled;
|
131 | 134 |
|
| 135 | + private final String akkaForkJoinTaskName; |
| 136 | + private final String akkaForkJoinExecutorTaskName; |
| 137 | + private final String akkaForkJoinPoolName; |
| 138 | + |
132 | 139 | private final boolean directAllocationProfilingEnabled;
|
133 | 140 |
|
134 | 141 | private final String instrumentationConfigId;
|
@@ -228,6 +235,10 @@ private InstrumenterConfig() {
|
228 | 235 | httpURLConnectionClassName = configProvider.getString(HTTP_URL_CONNECTION_CLASS_NAME, "");
|
229 | 236 | axisTransportClassName = configProvider.getString(AXIS_TRANSPORT_CLASS_NAME, "");
|
230 | 237 |
|
| 238 | + akkaForkJoinTaskName = configProvider.getString(AKKA_FORK_JOIN_TASK_NAME, ""); |
| 239 | + akkaForkJoinExecutorTaskName = configProvider.getString(AKKA_FORK_JOIN_EXECUTOR_TASK_NAME, ""); |
| 240 | + akkaForkJoinPoolName = configProvider.getString(AKKA_FORK_JOIN_POOL_NAME, ""); |
| 241 | + |
231 | 242 | directAllocationProfilingEnabled =
|
232 | 243 | configProvider.getBoolean(
|
233 | 244 | PROFILING_DIRECT_ALLOCATION_ENABLED, PROFILING_DIRECT_ALLOCATION_ENABLED_DEFAULT);
|
@@ -404,6 +415,18 @@ public String getAxisTransportClassName() {
|
404 | 415 | return axisTransportClassName;
|
405 | 416 | }
|
406 | 417 |
|
| 418 | + public String getAkkaForkJoinTaskName() { |
| 419 | + return akkaForkJoinTaskName; |
| 420 | + } |
| 421 | + |
| 422 | + public String getAkkaForkJoinExecutorTaskName() { |
| 423 | + return akkaForkJoinExecutorTaskName; |
| 424 | + } |
| 425 | + |
| 426 | + public String getAkkaForkJoinPoolName() { |
| 427 | + return akkaForkJoinPoolName; |
| 428 | + } |
| 429 | + |
407 | 430 | public boolean isDirectAllocationProfilingEnabled() {
|
408 | 431 | return directAllocationProfilingEnabled;
|
409 | 432 | }
|
|
0 commit comments