Find By Key With Duration
Use this endpoint to retrieve database metrics by DB UUID and Metric Key
Authorized Roles : PROVIDER or ORG_ADMIN or ORG_USER
Request
            
                URI
                    
                                GET                            
                            https://{api_host}/monitoring/databases/{dbUUID}/metrics/{metricKey}
                            COPY
                    Path Parameters
                                    
            
            
                                    string
                
                
            
        
        
                metricKey            
                            Required
                    Metric Key name
            
            
                                    string
                
                
            
        
        
                dbUUID            
                            Required
                    Database UUID
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 
                
                                    
                        PageMonitoringMetricDTO                    
                
                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": [
        {
            "tenantId": "string",
            "environmentId": "string",
            "dbUUID": "string",
            "metricKey": "string",
            "metricValue": "string",
            "time": "string"
        }
    ],
    "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
