Get Vm Metrics By Env Id And Db UUID
Use this endpoint to retrieve specified VM Metrics by Environment Id, DB UUID and Metric Key
Authorized Roles : PROVIDER or ORG_ADMIN or ORG_USER
Request
URI
GET
https://{api_host}/monitoring/environments/{envUUID}/database/{dbUUID}/metrics/{metricKey}
COPY
Path Parameters
string
envUUID
Required
Environment ID
string
dbUUID
Required
DB UUID
string
metricKey
Required
Metric Key name
Query Parameters
integer
duration
Required
Time Period
string
timeunit
Required
Time Unit
Possible values are : NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS,
integer
page
Optional
Zero-based page index (0..N)
integer
size
Optional
The size of the page to be returned
string of array
sort
Optional
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
Responses
200
OK
Returns PageInfraMetricsDTO of type(s) application/vnd.vmware.dms-v1+json
{
"totalElements": 0,
"totalPages": 0,
"pageable": {
"page": 0,
"size": 0,
"sort": [
"string"
]
},
"first": false,
"sort": {
"sorted": false,
"unsorted": false,
"empty": false
},
"size": 0,
"content": [
{
"metricKey": "string",
"time": "string",
"value": "number"
}
],
"number": 0,
"numberOfElements": 0,
"last": false,
"empty": false
}
integer As int64 As int64
totalElements
Optional
totalElements
integer As int32 As int32
totalPages
Optional
totalPages
boolean
first
Optional
first
integer As int32 As int32
size
Optional
size
integer As int32 As int32
number
Optional
number
integer As int32 As int32
numberOfElements
Optional
numberOfElements
boolean
last
Optional
last
boolean
empty
Optional
empty
204
No Content
Returns ExceptionResponse of type(s) */*
{
"timestamp": "string",
"message": "string",
"details": "string",
"uri": "string"
}
string As date-time As date-time
timestamp
Optional
timestamp
string
message
Optional
message
string
details
Optional
details
string
uri
Optional
uri
500
Internal Server Error
Returns ExceptionResponse of type(s) */*
{
"timestamp": "string",
"message": "string",
"details": "string",
"uri": "string"
}
string As date-time As date-time
timestamp
Optional
timestamp
string
message
Optional
message
string
details
Optional
details
string
uri
Optional
uri