StatResResource Resource

Execution statistics collection resource.

GET /statres

Urls of available resources.

Response Body
media type data type description
application/json array of string (JSON) Available profiling results

Example

Request
GET /statres
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
...
                
              

GET /statres/{stat}

Get a statistics result.

Request Parameters
name type description
stat path Result JSON to get
Response Body
media type data type description
application/json string (JSON) result JSON

Example

Request
GET /statres/{stat}
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
...
                
              

GET /statres/{stat}/get-sizeinfo

Experimental endpoint to estimate allocated size. Please note that this endpoint is under construction, use with caution: execution might fail and execution might have significant memory/cpu impact. The availability/functionality of this endpoint might change in any of the subsequent releases.

Request Parameters
name type description constraints
stat path Result JSON to get  
method query Size info method to use. "CALCULATED" or "JAVAAGENT"
Response Body
media type data type description
application/json SizeInfoDto (JSON) Size info description

Example

Request
GET /statres/{stat}/get-sizeinfo
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "size" : 12345,
  "details" : [ {
    "size" : 12345,
    "name" : "..."
  }, {
    "size" : 12345,
    "name" : "..."
  } ]
}