add HOWTO+BLOG comments

This commit is contained in:
Michael Hoennig 2024-12-06 09:07:44 +01:00
parent c87b88ff4c
commit 346b9a1bc2
2 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,8 @@ import java.util.List;
@Component
@Endpoint(id="metric-links")
// BLOG: implement a custom Spring Actuator endpoint to view _clickable_ Spring Actuator (Micrometer) Metrics endpoints
// HOWTO: implement a custom Spring Actuator endpoint
public class CustomActuatorEndpoint {
private final RestTemplate restTemplate = new RestTemplate();

View File

@ -8,6 +8,7 @@ management:
endpoints:
web:
exposure:
# HOWTO: view _clickable_ Spring Actuator (Micrometer) Metrics endpoints: http://localhost:8081/actuator/metric-links
include: info, health, metrics, metric-links
observations:
annotations: