@@ -722,6 +722,7 @@ paths:
722
722
description : Not Allowed
723
723
security :
724
724
- SecurityScheme : []
725
+ summary : List all archived recordings grouped by target
725
726
tags :
726
727
- Archived Recordings
727
728
/api/beta/fs/recordings/{jvmId} :
@@ -747,6 +748,7 @@ paths:
747
748
description : Not Allowed
748
749
security :
749
750
- SecurityScheme : []
751
+ summary : List all archived recordings belonging to the specified target
750
752
tags :
751
753
- Archived Recordings
752
754
/api/beta/fs/recordings/{jvmId}/{filename} :
@@ -771,12 +773,14 @@ paths:
771
773
description : Not Allowed
772
774
security :
773
775
- SecurityScheme : []
776
+ summary : Delete an archived recording by name belonging to the specified target
774
777
tags :
775
778
- Archived Recordings
776
779
/api/beta/recordings/{connectUrl}/{filename} :
777
780
delete :
778
781
parameters :
779
- - in : path
782
+ - description : the connection URL associated with the target
783
+ in : path
780
784
name : connectUrl
781
785
required : true
782
786
schema :
@@ -795,6 +799,7 @@ paths:
795
799
description : Not Allowed
796
800
security :
797
801
- SecurityScheme : []
802
+ summary : Delete an archived recording belonging to the specified target
798
803
tags :
799
804
- Archived Recordings
800
805
/api/beta/recordings/{jvmId} :
@@ -820,9 +825,13 @@ paths:
820
825
description : Not Allowed
821
826
security :
822
827
- SecurityScheme : []
828
+ summary : List archived recordings belonging to the specified target
823
829
tags :
824
830
- Archived Recordings
825
831
post :
832
+ description : |
833
+ Upload a JFR binary file into the archives, associating the archived recording with a particular
834
+ target JVM. This is primarily used by the Cryostat Agent for pushing harvested recording files.
826
835
parameters :
827
836
- in : path
828
837
name : jvmId
@@ -851,6 +860,7 @@ paths:
851
860
description : Not Allowed
852
861
security :
853
862
- SecurityScheme : []
863
+ summary : Upload a JFR binary file to archives, associated with a particular target
854
864
tags :
855
865
- Archived Recordings
856
866
/api/v4.1/metrics/reports :
@@ -952,6 +962,11 @@ paths:
952
962
- Reports
953
963
/api/v4/activedownload/{id} :
954
964
get :
965
+ description : |
966
+ Given a recording ID and a remote recording ID within that target, Cryostat will open a remote
967
+ connection to the target and pipe back a data stream containing the Flight Recording binary file
968
+ format for that recording. The client can feed this data to other tooling which ingests the JFR
969
+ binary file format.
955
970
parameters :
956
971
- in : path
957
972
name : id
@@ -973,6 +988,7 @@ paths:
973
988
description : Not Allowed
974
989
security :
975
990
- SecurityScheme : []
991
+ summary : Download a Flight Recording binary file
976
992
tags :
977
993
- Active Recordings Download
978
994
/api/v4/auth :
@@ -1305,6 +1321,9 @@ paths:
1305
1321
- Discovery
1306
1322
/api/v4/download/{encodedKey} :
1307
1323
get :
1324
+ description : |
1325
+ Get a download URL for an archived recording. The response will be an HTTP redirect with a Location
1326
+ header pointing to the location where the client can download the recording JFR binary file.
1308
1327
parameters :
1309
1328
- in : path
1310
1329
name : encodedKey
@@ -1327,6 +1346,7 @@ paths:
1327
1346
description : Not Allowed
1328
1347
security :
1329
1348
- SecurityScheme : []
1349
+ summary : Get a download URL for an archived recording
1330
1350
tags :
1331
1351
- Archived Recordings
1332
1352
/api/v4/event_templates :
@@ -1463,6 +1483,9 @@ paths:
1463
1483
- Event Templates
1464
1484
/api/v4/grafana/{encodedKey} :
1465
1485
post :
1486
+ description : |
1487
+ Upload an archived recording to the jfr-datasource for later online analysis in the associated
1488
+ Grafana dashboard.
1466
1489
parameters :
1467
1490
- in : path
1468
1491
name : encodedKey
@@ -1487,6 +1510,7 @@ paths:
1487
1510
description : Not Allowed
1488
1511
security :
1489
1512
- SecurityScheme : []
1513
+ summary : Upload an archived recording to Grafana for online analysis
1490
1514
tags :
1491
1515
- Archived Recordings
1492
1516
/api/v4/grafana_dashboard_url :
@@ -1664,6 +1688,8 @@ paths:
1664
1688
- JMC Agent Templates
1665
1689
/api/v4/recordings :
1666
1690
get :
1691
+ description : |
1692
+ List all archived recordings from all targets, including (re-)uploaded files.
1667
1693
responses :
1668
1694
" 200 " :
1669
1695
content :
@@ -1679,9 +1705,15 @@ paths:
1679
1705
description : Not Allowed
1680
1706
security :
1681
1707
- SecurityScheme : []
1708
+ summary : List all archived recordings
1682
1709
tags :
1683
1710
- Archived Recordings
1684
1711
post :
1712
+ description : |
1713
+ (Re-)upload a JFR binary file into the archives. This allows for the restoration of archived files
1714
+ after they have been otherwise removed, or for portability across Cryostat instances or between
1715
+ Cryostat version upgrades. This can also be used to upload JFR files which were not collected by
1716
+ Cryostat, so that Cryostat can be used to perform online analysis of the file.
1685
1717
requestBody :
1686
1718
content :
1687
1719
application/x-www-form-urlencoded :
@@ -1706,10 +1738,12 @@ paths:
1706
1738
description : Not Allowed
1707
1739
security :
1708
1740
- SecurityScheme : []
1741
+ summary : Upload a JFR binary file to archives
1709
1742
tags :
1710
1743
- Archived Recordings
1711
1744
/api/v4/recordings/{filename} :
1712
1745
delete :
1746
+ deprecated : true
1713
1747
parameters :
1714
1748
- in : path
1715
1749
name : filename
@@ -1725,6 +1759,7 @@ paths:
1725
1759
description : Not Allowed
1726
1760
security :
1727
1761
- SecurityScheme : []
1762
+ summary : Delete an archived recording by filename
1728
1763
tags :
1729
1764
- Archived Recordings
1730
1765
/api/v4/reports/{encodedKey} :
@@ -2223,6 +2258,8 @@ paths:
2223
2258
- JMC Agent Probes
2224
2259
/api/v4/targets/{targetId}/recordingOptions :
2225
2260
get :
2261
+ description : |
2262
+ Retrieve a map of the current options for the specified target.
2226
2263
parameters :
2227
2264
- in : path
2228
2265
name : targetId
@@ -2244,9 +2281,14 @@ paths:
2244
2281
description : Not Allowed
2245
2282
security :
2246
2283
- SecurityScheme : []
2284
+ summary : Get the current set of options for the specified target
2247
2285
tags :
2248
2286
- Recording Options
2249
2287
patch :
2288
+ description : |
2289
+ Set default recording options for the specified target. These options will be applied to any
2290
+ recordings started on this target if no override values are specified when the recording is
2291
+ created.
2250
2292
parameters :
2251
2293
- in : path
2252
2294
name : targetId
@@ -2280,10 +2322,14 @@ paths:
2280
2322
description : Not Allowed
2281
2323
security :
2282
2324
- SecurityScheme : []
2325
+ summary : Update the recording options for the specified target
2283
2326
tags :
2284
2327
- Recording Options
2285
2328
/api/v4/targets/{targetId}/recordings :
2286
2329
get :
2330
+ description : |
2331
+ Retrieve a list of active recordings currently present on the specified target. This may initiate
2332
+ a new remote connection to the target to update Cryostat's model of available recordings.
2287
2333
parameters :
2288
2334
- in : path
2289
2335
name : targetId
@@ -2306,9 +2352,17 @@ paths:
2306
2352
description : Not Allowed
2307
2353
security :
2308
2354
- SecurityScheme : []
2355
+ summary : List active recordings on the specified target
2309
2356
tags :
2310
2357
- Active Recordings
2311
2358
post :
2359
+ description : |
2360
+ Create a new Flight Recording on the specified target. The recording will be immediately started
2361
+ and begin capturing Flight Recording data.
2362
+ The recording must be given a name (unique within the
2363
+ target). An event specifier string must be included, which follows the format
2364
+ "template={name},(type={type})". The type parameter is optional and the template name is required.
2365
+ See the Event Templates API for more information about the values that can be used here.
2312
2366
parameters :
2313
2367
- in : path
2314
2368
name : targetId
@@ -2367,10 +2421,14 @@ paths:
2367
2421
description : Not Allowed
2368
2422
security :
2369
2423
- SecurityScheme : []
2424
+ summary : Start a new recording on the specified target
2370
2425
tags :
2371
2426
- Active Recordings
2372
2427
/api/v4/targets/{targetId}/recordings/{remoteId} :
2373
2428
delete :
2429
+ description : |
2430
+ Delete a recording from the specified target. This will remove it both from Cryostat's database
2431
+ as well as remove the recording and release all resources in the remote target JVM.
2374
2432
parameters :
2375
2433
- in : path
2376
2434
name : remoteId
@@ -2393,9 +2451,15 @@ paths:
2393
2451
description : Not Allowed
2394
2452
security :
2395
2453
- SecurityScheme : []
2454
+ summary : Delete a recording from the specified target
2396
2455
tags :
2397
2456
- Active Recordings
2398
2457
get :
2458
+ description : |
2459
+ Given a recording ID and a remote recording ID within that target, Cryostat will open a remote
2460
+ connection to the target and pipe back a data stream containing the Flight Recording binary file
2461
+ format for that recording. The client can feed this data to other tooling which ingests the JFR
2462
+ binary file format.
2399
2463
parameters :
2400
2464
- in : path
2401
2465
name : remoteId
@@ -2423,9 +2487,13 @@ paths:
2423
2487
description : Not Allowed
2424
2488
security :
2425
2489
- SecurityScheme : []
2490
+ summary : Download a Flight Recording binary file
2426
2491
tags :
2427
2492
- Active Recordings
2428
2493
patch :
2494
+ description : |
2495
+ Remote recordings can be stopped by sending the request body "stop", or copied to archives by
2496
+ sending the request body "save". The body is case-insensitive.
2429
2497
parameters :
2430
2498
- in : path
2431
2499
name : remoteId
@@ -2457,10 +2525,14 @@ paths:
2457
2525
description : Not Allowed
2458
2526
security :
2459
2527
- SecurityScheme : []
2528
+ summary : Update a remote recording on the specified target
2460
2529
tags :
2461
2530
- Active Recordings
2462
2531
/api/v4/targets/{targetId}/recordings/{remoteId}/upload :
2463
2532
post :
2533
+ description : |
2534
+ Upload the current data stream of the specified recording to the jfr-datasource for online analysis
2535
+ in the associated Grafana dashboard.
2464
2536
parameters :
2465
2537
- in : path
2466
2538
name : remoteId
@@ -2492,6 +2564,7 @@ paths:
2492
2564
description : Not Allowed
2493
2565
security :
2494
2566
- SecurityScheme : []
2567
+ summary : Upload a recording for analysis in Grafana dashboard
2495
2568
tags :
2496
2569
- Active Recordings
2497
2570
/api/v4/targets/{targetId}/reports/{recordingId} :
@@ -2547,6 +2620,7 @@ paths:
2547
2620
description : Not Allowed
2548
2621
security :
2549
2622
- SecurityScheme : []
2623
+ summary : Create a JFR Snapshot on the specified target
2550
2624
tags :
2551
2625
- Snapshots
2552
2626
/api/v4/tls/certs :
0 commit comments