Generate Application Instance Recording

post

/paas/service/apaas/api/v1.1/apps/{identityDomainId}/{appName}/instances/{instanceId}/recordings

Generates a Java Flight Recorder recording for an instance of an application, which includes profiling and event information. If you started your application with Java Flight Recorder running in continuous mode, the data is retrieved and added to the recordings list. If Java Flight Recorder is not running in continuous mode, then 60 seconds of profile and event information is recorded and added to the recordings list. Download the recordings and analyze them with Java Mission Control.

Request

Path Parameters
Body ()
The request body is empty.
Root Schema : schema
Type: string
Back to Top

Response

Supported Media Types

202 Response

Accepted
Back to Top

Examples

The following example shows how to create a recording for an Oracle Application Cloud Service instance by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, including how to determine your region, see Send Requests.

curl -i -X POST -u joe@example.com:Welcome1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/ExampleIdentityDomain/ExampleAppName/instances/web.1/recordings

Example of Response Header

The following shows an example of the response header.

Date:Thu,16Apr201508:43:38GMT
Location:https://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/apaasmaster/ExampleAppName/opStatus/157
Retry-After:5
Service-URI:https://apaas.us.oraclecloud.com/paas/service/apaas/api/v1.1/apps/apaasmaster/ExampleAppName
Transfer-Encoding:chunked
X-Frame-Options:DENY
X-Powered-By:Servlet/2.5JSP/2.1
Back to Top