Getting all supported metrics for Service ID

Request URL

POST https://http-collector-observability.sixthsense.rakuten.com/api-externalization/api/v1/metrics

Request

{
"serviceId" : "eyduYW1lJzonbm9kZS1hcHAtMicsJ3RlYW1JRCc6JzU5ZWRkZDE1LTIwMjQtNDA1OS05OGFlLTc5YTJjZTViYTEzNCcsJ3R5cGUnOidBJ30=.1"
}
ParametersDescription
serviceIdServiceId for which metrics are required returned by /api/v1/services
metricNameDisplay name of the metric for the service
scopeList of types of instances that are supported for each metric. Values of instances will be null if instances are not supported.

Response

{
"message": "1 record(s) found",
"success": true,
"data": [ {
"metricName": "Endpoint error code",
"scope": [
"endpoint"
]
}
]
}