Skip to content

Instantly share code, notes, and snippets.

@j-tim
Created July 13, 2019 09:20
Show Gist options
  • Save j-tim/3eabef456e9db3782fc296e330b71e91 to your computer and use it in GitHub Desktop.
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
{
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