187
187
"in" : " query" ,
188
188
"description" : " The type of dump to capture." ,
189
189
"schema" : {
190
- "$ref" : " #/components/schemas/DumpType"
190
+ "enum" : [
191
+ " Full" ,
192
+ " Mini" ,
193
+ " WithHeap" ,
194
+ " Triage"
195
+ ],
196
+ "type" : " string" ,
197
+ "default" : " WithHeap"
191
198
}
192
199
},
193
200
{
351
358
"in" : " query" ,
352
359
"description" : " The profiles enabled for the trace session." ,
353
360
"schema" : {
354
- "$ref" : " #/components/schemas/TraceProfile"
361
+ "enum" : [
362
+ " Cpu" ,
363
+ " Http" ,
364
+ " Logs" ,
365
+ " Metrics" ,
366
+ " GcCollect"
367
+ ],
368
+ "type" : " string" ,
369
+ "default" : " Cpu, Http, Metrics, GcCollect"
355
370
}
356
371
},
357
372
{
705
720
"$ref" : " #/components/schemas/LogsConfiguration"
706
721
}
707
722
}
708
- }
723
+ },
724
+ "required" : true
709
725
},
710
726
"responses" : {
711
727
"400" : {
1430
1446
"$ref" : " #/components/schemas/ExceptionsConfiguration"
1431
1447
}
1432
1448
}
1433
- }
1449
+ },
1450
+ "required" : true
1434
1451
},
1435
1452
"responses" : {
1436
1453
"400" : {
1672
1689
"CollectionRuleDetailedDescription" : {
1673
1690
"type" : " object" ,
1674
1691
"properties" : {
1675
- "state" : {
1676
- "$ref" : " #/components/schemas/CollectionRuleState"
1677
- },
1678
- "stateReason" : {
1679
- "type" : " string" ,
1680
- "description" : " Human-readable explanation for the current state of the collection rule." ,
1681
- "nullable" : true
1682
- },
1683
1692
"lifetimeOccurrences" : {
1684
1693
"type" : " integer" ,
1685
1694
"description" : " The number of times the trigger has executed for a process in its lifetime." ,
1715
1724
"format" : " time-span" ,
1716
1725
"nullable" : true ,
1717
1726
"example" : " 00:00:30"
1727
+ },
1728
+ "state" : {
1729
+ "$ref" : " #/components/schemas/CollectionRuleState"
1730
+ },
1731
+ "stateReason" : {
1732
+ "type" : " string" ,
1733
+ "description" : " Human-readable explanation for the current state of the collection rule." ,
1734
+ "nullable" : true
1718
1735
}
1719
1736
},
1720
1737
"additionalProperties" : false
1736
1753
"type" : " string"
1737
1754
},
1738
1755
"DotnetMonitorInfo" : {
1756
+ "required" : [
1757
+ " capabilities"
1758
+ ],
1739
1759
"type" : " object" ,
1740
1760
"properties" : {
1741
1761
"version" : {
1755
1775
"type" : " string" ,
1756
1776
"description" : " The name of the named pipe or unix domain socket to use for connecting to the diagnostic server." ,
1757
1777
"nullable" : true
1778
+ },
1779
+ "capabilities" : {
1780
+ "type" : " array" ,
1781
+ "items" : {
1782
+ "$ref" : " #/components/schemas/MonitorCapability"
1783
+ },
1784
+ "description" : " The capabilities provided by dotnet-monitor." ,
1785
+ "nullable" : true
1758
1786
}
1759
1787
},
1760
1788
"additionalProperties" : false
1761
1789
},
1762
- "DumpType" : {
1763
- "enum" : [
1764
- " Full" ,
1765
- " Mini" ,
1766
- " WithHeap" ,
1767
- " Triage"
1768
- ],
1769
- "type" : " string"
1770
- },
1771
1790
"EventLevel" : {
1772
1791
"enum" : [
1773
1792
" LogAlways" ,
1974
1993
},
1975
1994
"MethodDescription" : {
1976
1995
"required" : [
1977
- " methodName" ,
1978
1996
" moduleName" ,
1979
- " typeName"
1997
+ " typeName" ,
1998
+ " methodName"
1980
1999
],
1981
2000
"type" : " object" ,
1982
2001
"properties" : {
1995
2014
},
1996
2015
"additionalProperties" : false
1997
2016
},
2017
+ "MonitorCapability" : {
2018
+ "required" : [
2019
+ " name" ,
2020
+ " enabled"
2021
+ ],
2022
+ "type" : " object" ,
2023
+ "properties" : {
2024
+ "name" : {
2025
+ "minLength" : 1 ,
2026
+ "type" : " string"
2027
+ },
2028
+ "enabled" : {
2029
+ "type" : " boolean"
2030
+ }
2031
+ },
2032
+ "additionalProperties" : false
2033
+ },
1998
2034
"OperationError" : {
1999
2035
"type" : " object" ,
2000
2036
"properties" : {
2007
2043
"nullable" : true
2008
2044
}
2009
2045
},
2010
- "additionalProperties" : false
2046
+ "additionalProperties" : false ,
2047
+ "nullable" : true
2011
2048
},
2012
2049
"OperationProcessInfo" : {
2013
2050
"type" : " object" ,
2026
2063
}
2027
2064
},
2028
2065
"additionalProperties" : false ,
2029
- "description" : " Represents the details of a given process used in an operation."
2066
+ "description" : " Represents the details of a given process used in an operation." ,
2067
+ "nullable" : true
2030
2068
},
2031
2069
"OperationState" : {
2032
2070
"enum" : [
2042
2080
"OperationStatus" : {
2043
2081
"type" : " object" ,
2044
2082
"properties" : {
2083
+ "resourceLocation" : {
2084
+ "type" : " string" ,
2085
+ "nullable" : true
2086
+ },
2087
+ "error" : {
2088
+ "$ref" : " #/components/schemas/OperationError"
2089
+ },
2045
2090
"operationId" : {
2046
2091
"type" : " string" ,
2047
2092
"format" : " uuid"
2070
2115
"type" : " string"
2071
2116
},
2072
2117
"nullable" : true
2073
- },
2074
- "resourceLocation" : {
2075
- "type" : " string" ,
2076
- "nullable" : true
2077
- },
2078
- "error" : {
2079
- "$ref" : " #/components/schemas/OperationError"
2080
2118
}
2081
2119
},
2082
2120
"additionalProperties" : false ,
2192
2230
"processArchitecture" : {
2193
2231
"type" : " string" ,
2194
2232
"nullable" : true
2233
+ },
2234
+ "managedEntryPointAssemblyName" : {
2235
+ "type" : " string" ,
2236
+ "nullable" : true
2195
2237
}
2196
2238
},
2197
2239
"additionalProperties" : false
2198
2240
},
2199
- "TraceProfile" : {
2200
- "enum" : [
2201
- " Cpu" ,
2202
- " Http" ,
2203
- " Logs" ,
2204
- " Metrics" ,
2205
- " GcCollect"
2206
- ],
2207
- "type" : " string"
2208
- },
2209
2241
"ValidationProblemDetails" : {
2210
2242
"type" : " object" ,
2211
2243
"properties" : {
2276
2308
}
2277
2309
}
2278
2310
}
2279
- }
2311
+ },
2312
+ "tags" : [
2313
+ {
2314
+ "name" : " Diag"
2315
+ },
2316
+ {
2317
+ "name" : " Exceptions"
2318
+ },
2319
+ {
2320
+ "name" : " Metrics"
2321
+ },
2322
+ {
2323
+ "name" : " Operations"
2324
+ }
2325
+ ]
2280
2326
}
0 commit comments