187187 "in" : " query" ,
188188 "description" : " The type of dump to capture." ,
189189 "schema" : {
190- "$ref" : " #/components/schemas/DumpType"
190+ "enum" : [
191+ " Full" ,
192+ " Mini" ,
193+ " WithHeap" ,
194+ " Triage"
195+ ],
196+ "type" : " string" ,
197+ "default" : " WithHeap"
191198 }
192199 },
193200 {
351358 "in" : " query" ,
352359 "description" : " The profiles enabled for the trace session." ,
353360 "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"
355370 }
356371 },
357372 {
705720 "$ref" : " #/components/schemas/LogsConfiguration"
706721 }
707722 }
708- }
723+ },
724+ "required" : true
709725 },
710726 "responses" : {
711727 "400" : {
14301446 "$ref" : " #/components/schemas/ExceptionsConfiguration"
14311447 }
14321448 }
1433- }
1449+ },
1450+ "required" : true
14341451 },
14351452 "responses" : {
14361453 "400" : {
16721689 "CollectionRuleDetailedDescription" : {
16731690 "type" : " object" ,
16741691 "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- },
16831692 "lifetimeOccurrences" : {
16841693 "type" : " integer" ,
16851694 "description" : " The number of times the trigger has executed for a process in its lifetime." ,
17151724 "format" : " time-span" ,
17161725 "nullable" : true ,
17171726 "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
17181735 }
17191736 },
17201737 "additionalProperties" : false
17361753 "type" : " string"
17371754 },
17381755 "DotnetMonitorInfo" : {
1756+ "required" : [
1757+ " capabilities"
1758+ ],
17391759 "type" : " object" ,
17401760 "properties" : {
17411761 "version" : {
17551775 "type" : " string" ,
17561776 "description" : " The name of the named pipe or unix domain socket to use for connecting to the diagnostic server." ,
17571777 "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
17581786 }
17591787 },
17601788 "additionalProperties" : false
17611789 },
1762- "DumpType" : {
1763- "enum" : [
1764- " Full" ,
1765- " Mini" ,
1766- " WithHeap" ,
1767- " Triage"
1768- ],
1769- "type" : " string"
1770- },
17711790 "EventLevel" : {
17721791 "enum" : [
17731792 " LogAlways" ,
19741993 },
19751994 "MethodDescription" : {
19761995 "required" : [
1977- " methodName" ,
19781996 " moduleName" ,
1979- " typeName"
1997+ " typeName" ,
1998+ " methodName"
19801999 ],
19812000 "type" : " object" ,
19822001 "properties" : {
19952014 },
19962015 "additionalProperties" : false
19972016 },
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+ },
19982034 "OperationError" : {
19992035 "type" : " object" ,
20002036 "properties" : {
20072043 "nullable" : true
20082044 }
20092045 },
2010- "additionalProperties" : false
2046+ "additionalProperties" : false ,
2047+ "nullable" : true
20112048 },
20122049 "OperationProcessInfo" : {
20132050 "type" : " object" ,
20262063 }
20272064 },
20282065 "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
20302068 },
20312069 "OperationState" : {
20322070 "enum" : [
20422080 "OperationStatus" : {
20432081 "type" : " object" ,
20442082 "properties" : {
2083+ "resourceLocation" : {
2084+ "type" : " string" ,
2085+ "nullable" : true
2086+ },
2087+ "error" : {
2088+ "$ref" : " #/components/schemas/OperationError"
2089+ },
20452090 "operationId" : {
20462091 "type" : " string" ,
20472092 "format" : " uuid"
20702115 "type" : " string"
20712116 },
20722117 "nullable" : true
2073- },
2074- "resourceLocation" : {
2075- "type" : " string" ,
2076- "nullable" : true
2077- },
2078- "error" : {
2079- "$ref" : " #/components/schemas/OperationError"
20802118 }
20812119 },
20822120 "additionalProperties" : false ,
21922230 "processArchitecture" : {
21932231 "type" : " string" ,
21942232 "nullable" : true
2233+ },
2234+ "managedEntryPointAssemblyName" : {
2235+ "type" : " string" ,
2236+ "nullable" : true
21952237 }
21962238 },
21972239 "additionalProperties" : false
21982240 },
2199- "TraceProfile" : {
2200- "enum" : [
2201- " Cpu" ,
2202- " Http" ,
2203- " Logs" ,
2204- " Metrics" ,
2205- " GcCollect"
2206- ],
2207- "type" : " string"
2208- },
22092241 "ValidationProblemDetails" : {
22102242 "type" : " object" ,
22112243 "properties" : {
22762308 }
22772309 }
22782310 }
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+ ]
22802326}
0 commit comments