Skip to content

Instantly share code, notes, and snippets.

@romilptl
Created March 8, 2020 05:34
Show Gist options
  • Save romilptl/e4e5c16b30b31f8ba1b31a776a501cda to your computer and use it in GitHub Desktop.
Save romilptl/e4e5c16b30b31f8ba1b31a776a501cda to your computer and use it in GitHub Desktop.
Response with different status codes, exceptions and methods
{
"name": "http.server.requests",
"description": null,
"baseUnit": "seconds",
"measurements": [
{
"statistic": "COUNT",
"value": 13.0
},
{
"statistic": "TOTAL_TIME",
"value": 2.4152178000000006
},
{
"statistic": "MAX",
"value": 1.0380616
}
],
"availableTags": [
{
"tag": "exception",
"values": [
"None",
"IOException",
"ParseException"
]
},
{
"tag": "method",
"values": [
"POST",
"DELETE",
"GET"
]
},
{
"tag": "uri",
"values": [
"/actuator/metrics/{requiredMetricName}",
"/users/save",
"/users/user/{id}",
"/users/delete/{id}",
"/users/exception/parse",
"/users/list",
"/users/exception/io",
"/actuator/metrics",
"/**"
]
},
{
"tag": "outcome",
"values": [
"CLIENT_ERROR",
"SUCCESS",
"SERVER_ERROR"
]
},
{
"tag": "status",
"values": [
"404",
"200",
"400",
"500"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment