Created
July 13, 2019 09:20
-
-
Save j-tim/3eabef456e9db3782fc296e330b71e91 to your computer and use it in GitHub Desktop.
Spring Boot / Micrometer Actuator RestTemplate Metrics.
http://localhost:8080/actuator/metrics/http.client.requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
name: "http.client.requests", | |
description: "Timer of RestTemplate operation", | |
baseUnit: "seconds", | |
measurements: [ | |
{ | |
statistic: "COUNT", | |
value: 1 | |
}, | |
{ | |
statistic: "TOTAL_TIME", | |
value: 0.395653157 | |
}, | |
{ | |
statistic: "MAX", | |
value: 0 | |
} | |
], | |
availableTags: [ | |
{ | |
tag: "method", | |
values: [ | |
"GET" | |
] | |
}, | |
{ | |
tag: "clientName", | |
values: [ | |
"localhost" | |
] | |
}, | |
{ | |
tag: "uri", | |
values: [ | |
"/api/random-name" | |
] | |
}, | |
{ | |
tag: "status", | |
values: [ | |
"200" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment