Getting metric values for ServiceID

Request URL

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

Request

{
"serviceId" : "eyduYW1lJzonbm9kZS1hcHAtMicsJ3RlYW1JRCc6JzU5ZWRkZDE1LTIwMjQtNDA1OS05OGFlLTc5YTJjZTViYTEzNCcsJ3R5cGUnOidBJ30=.1",
"metricName" : "Endpoint load",
"scope" : "endpoint",
"scopeId" : "eyduYW1lJzonamF2YS1kZW1vLWVycm9yY29kZTMnLCd0ZWFtSUQnOjI5MzEyYjliLTJhMDctNDhiMy1hYTZmLWNmZTVmZjg1ZGY2OSwndHlwZSc6J0EnfQ==.1_L2FwaXMxL2N1cnJlbmF0LzEyMw==",
"duration" : {
"start" : "2023-02-01T09:00",
"end" : "2023-03-01T09:00"
},
"timezone" : "GMT"
}
ParametersDescription
serviceIdserviceId for which metrics are required given by /api/v1/services
metricNamemetricName for which values are required given by /api/v1/metrics
scopeinstance type for which metric values are required
scopeIdscopeId of the given scope for which metric values are required given by /api/v1/entities
startstart time of the metric values required
endend time of the metric values required
timezonetimezone for which metric values are required
timeStamptime at which the metric value occurred

Response

{
"message": "1 record(s) found",
"success": true,
"data": {
{
"values": [
{
"timeStamp": "2023-02-01T09:00",
"value": "4"
}
]
}
}
}