Description
Is your feature request related to a problem? Please describe.
By default agent collects lots of metrics/data:
customMetric Loaded Class Count
customMetric % Of Max Heap Memory Used
customMetric Heap Memory Used (MB)
customMetric Suspected Deadlocked Threads
customMetric Current Thread Count
customMetric GC Total Time
customMetric GC Total Count
customMetric HeartbeatState
performanceCounter Available Bytes
performanceCounter IO Data Bytes/sec
performanceCounter % Processor Time
performanceCounter Private Bytes
metric Loaded Class Count
metric % Of Max Heap Memory Used
metric Heap Memory Used (MB)
metric Suspected Deadlocked Threads
metric Current Thread Count
metric GC Total Time
metric GC Total Count
metric HeartbeatState
metric Available Bytes
metric % Processor Time
metric Private Bytes
metric IO Data Bytes/sec
I prefer to use standard provided by Spring Boot/Micrometer. Is there a possibility to turn off collecting of the above telemetries?
Describe the solution you would like
By default no telemetries should be collected by default. Adding a config entry like collectStandardJVMMetric should cause collecting the data.