|
91 | 91 | <sensitive-data-filter applies-to="environment-variables,system-properties" |
92 | 92 | match-type="CONTAINS" |
93 | 93 | match-pattern="key"/> |
94 | | - |
95 | | - <sensitive-data-filter applies-to="environment-variables" |
96 | | - match-type="STARTSWITH" |
97 | | - match-pattern="*"/> |
| 94 | + |
| 95 | + <sensitive-data-filter applies-to="environment-variables,system-properties" |
| 96 | + match-type="STARTSWITH" |
| 97 | + match-pattern="VCAP_"/> |
98 | 98 |
|
99 | 99 | </sensitive-data-filters> |
100 | 100 |
|
|
179 | 179 | <exclude-override filter-type="EQUALS" filter-value="spray.client.pipelining$$anonfun$sendReceive$1"/> |
180 | 180 | <!-- overriding for supporting akka-http microservice--> |
181 | 181 | <exclude-override filter-type="EQUALS" filter-value="akka.http.scaladsl.server.Route$$anonfun$asyncHandler$1"/> |
| 182 | + <exclude-override filter-type="EQUALS" filter-value="akka.http.scaladsl.server.Route$$anonfun$asyncHandler$1$$anonfun$apply$1"/> |
182 | 183 | <exclude-override filter-type="EQUALS" filter-value="akka.http.scaladsl.server.Route$$anonfun$asyncHandler$1$$anonfun$apply$2"/> |
183 | 184 | <exclude-override filter-type="EQUALS" filter-value="akka.http.scaladsl.server.StandardRoute$$anon$1"/> |
184 | 185 | <exclude-override filter-type="STARTSWITH" |
|
279 | 280 | <!-- add classname/method e.g. foo/bar where foo is class name and bar is methd name to mark the method demarcating the end |
280 | 281 | of an async distributed transaction , does not need a restart --> |
281 | 282 | <!-- property name="async-transaction-demarcator" value=""/--> |
282 | | - |
283 | | - <!-- |
| 283 | + |
| 284 | + <!-- |
284 | 285 | Add comma-separated list of async environment names. These will be used to enable async transaction detection |
285 | 286 | for supported environments. Current supported async environments: mule,camel,jbossesb,tibcobw,scala |
286 | 287 | --> |
287 | 288 | <!-- property name="enable-async-correlation-for" value="mule,camel,jbossesb,tibcobw,scala"/ --> |
288 | | - |
| 289 | + |
289 | 290 | <!-- |
290 | 291 | Cassandra CQL / Datastax driver: uncomment to name Cassandra backends with IP/port instead of naming |
291 | | - with cluster name. In any case the IP/port info goes into snapshot details. |
| 292 | + with cluster name. In any case the IP/port info goes into snapshot details. |
292 | 293 | --> |
293 | 294 | <!-- property name="enable-cassandra-backend-ip-naming" value="true" --> |
294 | 295 |
|
|
316 | 317 | instance: getter-chain eg. getName().toString() |
317 | 318 |
|
318 | 319 | action |
319 | | - type: announcement, execution, suppression |
| 320 | + type: announcement, execution, suppression, cancellation, shutdown |
320 | 321 | token: |
321 | 322 | announcement: |
322 | 323 | this - invoked object |
323 | 324 | <paramIndex> - argument (first argument is 0) |
324 | 325 | execution: |
325 | 326 | this - invoked object |
326 | 327 | <paramIndex> - argument (first argument is 0) |
| 328 | + cancellation: |
| 329 | + this - invoked object |
| 330 | + <paramIndex> - argument (first argument is 0) |
| 331 | + shutdown: |
| 332 | + return - returned object |
327 | 333 | --> |
328 | 334 | <!-- Announcement jobs --> |
329 | 335 | <job> |
|
344 | 350 | <action type="announcement" token="this"/> |
345 | 351 | <name-config operation="" type="4"/> |
346 | 352 | </job> |
| 353 | + <!-- Cancellation and Shutdown jobs --> |
| 354 | + <job> |
| 355 | + <match-class type="matches-class"><name filter-type="EQUALS" filter-value="java.util.concurrent.FutureTask"/></match-class> |
| 356 | + <match-method><name filter-type="EQUALS" filter-value="cancel"/></match-method> |
| 357 | + <action type="cancellation" token="this"/> |
| 358 | + </job> |
| 359 | + <job> |
| 360 | + <match-class type="matches-class"><name filter-type="EQUALS" filter-value="java.util.concurrent.ThreadPoolExecutor"/></match-class> |
| 361 | + <match-method><name filter-type="EQUALS" filter-value="reject"/></match-method> |
| 362 | + <action type="cancellation" token="0"/> |
| 363 | + </job> |
| 364 | + <job> |
| 365 | + <match-class type="matches-class"><name filter-type="EQUALS" filter-value="java.util.concurrent.ThreadPoolExecutor"/></match-class> |
| 366 | + <match-method><name filter-type="EQUALS" filter-value="shutdownNow"/></match-method> |
| 367 | + <action type="shutdown" token="return"/> |
| 368 | + </job> |
347 | 369 | <!-- Execution jobs --> |
348 | 370 | <job> |
349 | 371 | <match-class type="implements-interface"><name filter-type="EQUALS" filter-value="java.lang.Runnable"/></match-class> |
|
362 | 384 | <match-method><name filter-type="EQUALS" filter-value="run"/></match-method> |
363 | 385 | <action type="execution" token="this"/> |
364 | 386 | <name-config operation="" type="4"/> |
365 | | - </job> |
| 387 | + </job> |
366 | 388 | <!-- Suppression jobs --> |
367 | 389 | <job> |
368 | 390 | <match-class type="matches-class"><name filter-type="EQUALS" filter-value="java.util.Timer"/></match-class> |
369 | 391 | <match-method><name filter-type="EQUALS" filter-value="<init>"/></match-method> |
370 | 392 | <action type="suppression"/> |
371 | | - </job> |
| 393 | + </job> |
372 | 394 | <job> |
373 | 395 | <match-class type="matches-class"><name filter-type="EQUALS" filter-value="java.util.concurrent.ThreadPoolExecutor"/></match-class> |
374 | 396 | <match-method><name filter-type="EQUALS" filter-value="addWorker"/></match-method> |
375 | 397 | <action type="suppression"/> |
376 | | - </job> |
| 398 | + </job> |
377 | 399 | <job> |
378 | 400 | <match-class type="matches-class"><name filter-type="EQUALS" filter-value="java.util.concurrent.ForkJoinPool"/></match-class> |
379 | 401 | <match-method><name filter-type="EQUALS" filter-value="createWorker"/></match-method> |
380 | 402 | <action type="suppression"/> |
381 | | - </job> |
| 403 | + </job> |
| 404 | + <job> |
| 405 | + <match-class type="matches-class"><name filter-type="EQUALS" filter-value="scala.concurrent.forkjoin.ForkJoinPool"/></match-class> |
| 406 | + <match-method><name filter-type="EQUALS" filter-value="tryAddWorker"/></match-method> |
| 407 | + <action type="suppression"/> |
| 408 | + </job> |
382 | 409 | <job> |
383 | 410 | <match-class type="matches-class"><name filter-type="EQUALS" filter-value="akka.actor.ActorSystemImpl"/></match-class> |
384 | 411 | <match-method><name filter-type="EQUALS" filter-value="tryAddWorker"/></match-method> |
385 | 412 | <action type="suppression"/> |
386 | | - </job> |
| 413 | + </job> |
387 | 414 | <job> |
388 | 415 | <match-class type="matches-class"><name filter-type="EQUALS" filter-value="io.netty.util.concurrent.SingleThreadEventExecutor"/></match-class> |
389 | 416 | <match-method><name filter-type="EQUALS" filter-value="startThread"/></match-method> |
390 | 417 | <action type="suppression"/> |
391 | | - </job> |
| 418 | + </job> |
392 | 419 | <job> |
393 | 420 | <match-class type="matches-class"><name filter-type="EQUALS" filter-value="org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase"/></match-class> |
394 | 421 | <match-method><name filter-type="EQUALS" filter-value="start"/></match-method> |
395 | 422 | <action type="suppression"/> |
396 | | - </job> |
| 423 | + </job> |
397 | 424 | <job> |
398 | 425 | <match-class type="matches-class"><name filter-type="EQUALS" filter-value="org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor"/></match-class> |
399 | 426 | <match-method><name filter-type="EQUALS" filter-value="execute"/></match-method> |
400 | 427 | <action type="suppression"/> |
401 | | - </job> |
| 428 | + </job> |
402 | 429 | <job> |
403 | 430 | <match-class type="matches-class"><name filter-type="EQUALS" filter-value="org.jboss.netty.util.internal.DeadLockProofWorker"/></match-class> |
404 | 431 | <match-method><name filter-type="EQUALS" filter-value="start"/></match-method> |
|
408 | 435 | <match-class type="matches-class"><name filter-type="EQUALS" filter-value="com.ning.http.client.providers.netty.NettyAsyncHttpProvider"/></match-class> |
409 | 436 | <match-method><name filter-type="EQUALS" filter-value="newNettyTimer"/></match-method> |
410 | 437 | <action type="suppression"/> |
411 | | - </job> |
| 438 | + </job> |
412 | 439 | <job> |
413 | 440 | <match-class type="matches-class"><name filter-type="EQUALS" filter-value="io.netty.util.concurrent.SingleThreadEventExecutor"/></match-class> |
414 | 441 | <match-method><name filter-type="EQUALS" filter-value="doStartThread"/></match-method> |
415 | 442 | <action type="suppression"/> |
416 | | - </job> |
| 443 | + </job> |
417 | 444 | </async-config> |
418 | 445 | <fork-config> |
419 | 446 | <!-- This is the configuration for the "constructor" strategy --> |
|
675 | 702 | </agent-service> |
676 | 703 | <agent-service name="LogParserService" enabled="true"> |
677 | 704 | </agent-service> |
678 | | - <agent-service name="ResourceMonitoringService" enabled="true"> |
| 705 | + <agent-service name="ResourceMonitoringService" enabled="false"> |
679 | 706 | <service-dependencies>BCIEngine</service-dependencies> |
680 | 707 | </agent-service> |
681 | 708 |
|
|
698 | 725 | <service-configuration-properties agent-service="SnapshotService"> |
699 | 726 | <property name="enable-startup-snapshot-policy" value="true"/> |
700 | 727 | </service-configuration-properties> |
701 | | - --> |
| 728 | + --> |
702 | 729 | </app-agent-configuration> |
0 commit comments