On demand heapdump and threaddump generation for cps-and-ncmp 61/139961/3
authormpriyank <priyank.maheshwari@est.tech>
Mon, 20 Jan 2025 13:23:06 +0000 (13:23 +0000)
committermpriyank <priyank.maheshwari@est.tech>
Mon, 20 Jan 2025 15:46:04 +0000 (15:46 +0000)
- Generate the heapdump of a running application on demand using the
  /actuator/heapdump endpoint and threaddump using /actuator/threaddump
- RTD update as separate patch when the python issue is sorted

Issue-ID: CPS-2453
Change-Id: Ifcf4e7aecc1ee15f57011a1c4a4ec7bf67e45a6f
Signed-off-by: mpriyank <priyank.maheshwari@est.tech>
cps-application/src/main/resources/application.yml

index 27a15b6..0b5d59e 100644 (file)
@@ -172,7 +172,7 @@ management:
     endpoints:
         web:
             exposure:
-                include: info,health,loggers,prometheus,metrics
+                include: info,health,loggers,prometheus,metrics,heapdump,threaddump
     endpoint:
         health:
             show-details: always