Which two statements are correct regarding Spring Boot 2.x Actuator Metrics? (Choose two.)
Which two statements are correct regarding Spring Boot 2.x Actuator Metrics? (Choose two.)
Timer measures both the number of timed events and the total time of all events timed. Custom metrics can be measured using Meter primitives such as Counter, Gauge, Timer, and DistributionSummary in Spring Boot 2.x Actuator Metrics.
C & D are the correct ones.
I think C and D are the best answer
B. The metrics endpoint /actuator/metrics is exposed over HTTP by default: The Actuator Metrics endpoint is exposed by default, and it provides information about various metrics related to the application's performance and behavior. It can be accessed over HTTP at the /actuator/metrics path. D. Custom metrics can be measured using Meter primitives such as Counter, Gauge, Timer, and DistributionSummary: Spring Boot Actuator Metrics allows you to define and measure custom metrics using various Meter primitives. These primitives include Counter (counting occurrences), Gauge (providing a current value), Timer (measuring the time taken for a task), and DistributionSummary (collecting and summarizing distribution statistics).
B and D An external monitoring system is not required to be used with Spring Boot 2.x Actuator Metrics. Spring Boot Actuator includes an embedded monitoring system , the metrics over HTTP and JMX so A is not right.