@ancplua/qyl-api-schema 11.6.0 → 12.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -2
- package/api/analysis.tsp +165 -0
- package/api/routes.tsp +55 -78
- package/api/streaming.tsp +6 -1
- package/api/workbench.tsp +70 -75
- package/common/errors.tsp +113 -140
- package/common/pagination.tsp +25 -228
- package/common/resource.tsp +0 -7
- package/common/telemetry-query.tsp +62 -0
- package/common/types.tsp +10 -2
- package/generated/json-schema/qyl-api-schema.json +8871 -2838
- package/generated/openapi/qyl.openapi.json +12981 -11500
- package/generated/ts-runtime/api.d.ts +1227 -107
- package/generated/ts-runtime/api.js +87 -24
- package/generated/ts-runtime/schemas.d.ts +294 -12
- package/generated/ts-runtime/schemas.js +292 -10
- package/index.tsp +2 -0
- package/models/annotations.tsp +31 -1
- package/models/mcp-analysis.tsp +1108 -0
- package/models/mcp-tools.tsp +335 -10
- package/models/metrics.tsp +17 -15
- package/models/saved-queries.tsp +15 -4
- package/models/workbench.tsp +20 -5
- package/otel/span.tsp +0 -49
- package/package.json +7 -3
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/** The same names at runtime, so a consumer can prove the published surface is covered. */
|
|
2
2
|
export const contractDefinitionKeys = [
|
|
3
3
|
"Annotations.Annotation",
|
|
4
|
+
"Annotations.AnnotationClassification",
|
|
4
5
|
"Annotations.AnnotationCreateRequest",
|
|
6
|
+
"Annotations.AnnotationLabel",
|
|
5
7
|
"Annotations.AnnotationTarget",
|
|
6
8
|
"Annotations.AnnotationUpdateRequest",
|
|
9
|
+
"Annotations.FailureAnnotationTarget",
|
|
7
10
|
"Annotations.SessionAnnotationTarget",
|
|
8
11
|
"Annotations.SpanAnnotationTarget",
|
|
9
12
|
"Annotations.TraceAnnotationTarget",
|
|
@@ -30,7 +33,6 @@ export const contractDefinitionKeys = [
|
|
|
30
33
|
"Common.ETag",
|
|
31
34
|
"Common.EntityAttributeKey",
|
|
32
35
|
"Common.EntityRef",
|
|
33
|
-
"Common.Errors.ApiError",
|
|
34
36
|
"Common.Errors.BadGatewayError",
|
|
35
37
|
"Common.Errors.ConflictError",
|
|
36
38
|
"Common.Errors.ForbiddenError",
|
|
@@ -38,12 +40,14 @@ export const contractDefinitionKeys = [
|
|
|
38
40
|
"Common.Errors.NotFoundError",
|
|
39
41
|
"Common.Errors.PreconditionFailedError",
|
|
40
42
|
"Common.Errors.PreconditionRequiredError",
|
|
43
|
+
"Common.Errors.ProblemCode",
|
|
41
44
|
"Common.Errors.ProblemDetails",
|
|
42
|
-
"Common.Errors.
|
|
45
|
+
"Common.Errors.ProblemType",
|
|
43
46
|
"Common.Errors.ServiceUnavailableError",
|
|
44
47
|
"Common.Errors.UnauthorizedError",
|
|
45
48
|
"Common.Errors.ValidationError",
|
|
46
49
|
"Common.Errors.ValidationErrorDetail",
|
|
50
|
+
"Common.FailureId",
|
|
47
51
|
"Common.HttpMethod",
|
|
48
52
|
"Common.IPv4Address",
|
|
49
53
|
"Common.IPv6Address",
|
|
@@ -52,13 +56,10 @@ export const contractDefinitionKeys = [
|
|
|
52
56
|
"Common.IsoDuration",
|
|
53
57
|
"Common.LanguageCode",
|
|
54
58
|
"Common.MacAddress",
|
|
55
|
-
"Common.
|
|
56
|
-
"Common.
|
|
57
|
-
"Common.
|
|
58
|
-
"Common.Pagination.
|
|
59
|
-
"Common.Pagination.StreamParams",
|
|
60
|
-
"Common.Pagination.TimeBucket",
|
|
61
|
-
"Common.Pagination.TimeRangeParams",
|
|
59
|
+
"Common.MatcherOp",
|
|
60
|
+
"Common.MatcherScope",
|
|
61
|
+
"Common.MatcherValue",
|
|
62
|
+
"Common.Pagination.PageLimit",
|
|
62
63
|
"Common.Percentage",
|
|
63
64
|
"Common.Port",
|
|
64
65
|
"Common.Ratio",
|
|
@@ -68,9 +69,13 @@ export const contractDefinitionKeys = [
|
|
|
68
69
|
"Common.SessionId",
|
|
69
70
|
"Common.Sha256Hash",
|
|
70
71
|
"Common.SpanId",
|
|
72
|
+
"Common.TelemetryMatcher",
|
|
71
73
|
"Common.Temperature",
|
|
72
74
|
"Common.Timestamp",
|
|
73
75
|
"Common.TokenCount",
|
|
76
|
+
"Common.ToolCoverage",
|
|
77
|
+
"Common.ToolReadContext",
|
|
78
|
+
"Common.ToolWindow",
|
|
74
79
|
"Common.TraceId",
|
|
75
80
|
"Common.TraceParent",
|
|
76
81
|
"Common.TraceState",
|
|
@@ -80,6 +85,7 @@ export const contractDefinitionKeys = [
|
|
|
80
85
|
"Common.UrlString",
|
|
81
86
|
"Common.UserAgent",
|
|
82
87
|
"Common.UserId",
|
|
88
|
+
"Common.VerifyId",
|
|
83
89
|
"Domains.Observe.Session.DeviceType",
|
|
84
90
|
"Domains.Observe.Session.SessionAttributes",
|
|
85
91
|
"Domains.Observe.Session.SessionClientInfo",
|
|
@@ -93,21 +99,69 @@ export const contractDefinitionKeys = [
|
|
|
93
99
|
"Health.HealthCheckEntry",
|
|
94
100
|
"Health.HealthReport",
|
|
95
101
|
"Health.HealthStatus",
|
|
102
|
+
"Mcp.Tools.AgentFindings",
|
|
103
|
+
"Mcp.Tools.AgentRun",
|
|
104
|
+
"Mcp.Tools.AgentStep",
|
|
105
|
+
"Mcp.Tools.AgentTokenShare",
|
|
106
|
+
"Mcp.Tools.AgentTokens",
|
|
107
|
+
"Mcp.Tools.AggregateBucket",
|
|
108
|
+
"Mcp.Tools.AggregateGroup",
|
|
109
|
+
"Mcp.Tools.AggregateOther",
|
|
110
|
+
"Mcp.Tools.AggregateTelemetryInput",
|
|
111
|
+
"Mcp.Tools.AggregateTelemetryOutput",
|
|
112
|
+
"Mcp.Tools.AlignedSpans",
|
|
113
|
+
"Mcp.Tools.AnalysisBaseline",
|
|
114
|
+
"Mcp.Tools.AnalysisInput",
|
|
96
115
|
"Mcp.Tools.AnnotationOutput",
|
|
116
|
+
"Mcp.Tools.AttributeAssociation",
|
|
117
|
+
"Mcp.Tools.AttributeSemconv",
|
|
118
|
+
"Mcp.Tools.AttributeValueCount",
|
|
119
|
+
"Mcp.Tools.BaselineOffset",
|
|
120
|
+
"Mcp.Tools.CheckTelemetryHealthInput",
|
|
121
|
+
"Mcp.Tools.CheckTelemetryHealthOutput",
|
|
122
|
+
"Mcp.Tools.CiAttempt",
|
|
123
|
+
"Mcp.Tools.CiComparison",
|
|
124
|
+
"Mcp.Tools.CiErrorExcerpt",
|
|
97
125
|
"Mcp.Tools.CiLogInput",
|
|
98
126
|
"Mcp.Tools.CiLogOutput",
|
|
99
127
|
"Mcp.Tools.CiPhase",
|
|
128
|
+
"Mcp.Tools.CiPhaseChange",
|
|
100
129
|
"Mcp.Tools.CiPhaseStatus",
|
|
101
130
|
"Mcp.Tools.CiRunSummary",
|
|
131
|
+
"Mcp.Tools.CompareGroup",
|
|
132
|
+
"Mcp.Tools.CompareGroupsInput",
|
|
133
|
+
"Mcp.Tools.CompareGroupsOutput",
|
|
134
|
+
"Mcp.Tools.CompareTracesInput",
|
|
135
|
+
"Mcp.Tools.CompareTracesOutput",
|
|
102
136
|
"Mcp.Tools.CreateAnnotationInput",
|
|
103
137
|
"Mcp.Tools.CreateSavedQueryInput",
|
|
104
138
|
"Mcp.Tools.DeletableKind",
|
|
105
139
|
"Mcp.Tools.DeleteInput",
|
|
106
140
|
"Mcp.Tools.DeleteOutput",
|
|
141
|
+
"Mcp.Tools.DiscoverAttributesInput",
|
|
142
|
+
"Mcp.Tools.DiscoverAttributesOutput",
|
|
143
|
+
"Mcp.Tools.DiscoveredAttribute",
|
|
107
144
|
"Mcp.Tools.DisplayMcpDashboardInput",
|
|
108
145
|
"Mcp.Tools.DisplayMcpDashboardOutput",
|
|
109
146
|
"Mcp.Tools.DisplayTracesInput",
|
|
110
147
|
"Mcp.Tools.DisplayTracesOutput",
|
|
148
|
+
"Mcp.Tools.DurationPercentiles",
|
|
149
|
+
"Mcp.Tools.EvidenceSpan",
|
|
150
|
+
"Mcp.Tools.ExecutionReference",
|
|
151
|
+
"Mcp.Tools.FailureChange",
|
|
152
|
+
"Mcp.Tools.FailureComparison",
|
|
153
|
+
"Mcp.Tools.FailureContext",
|
|
154
|
+
"Mcp.Tools.FailureDetail",
|
|
155
|
+
"Mcp.Tools.FailureObserved",
|
|
156
|
+
"Mcp.Tools.FailureOccurrence",
|
|
157
|
+
"Mcp.Tools.FailurePropagation",
|
|
158
|
+
"Mcp.Tools.FailureRelease",
|
|
159
|
+
"Mcp.Tools.FailureReleaseCount",
|
|
160
|
+
"Mcp.Tools.FailureStatus",
|
|
161
|
+
"Mcp.Tools.FailureStatusFilter",
|
|
162
|
+
"Mcp.Tools.FailureSummary",
|
|
163
|
+
"Mcp.Tools.FanoutEvidence",
|
|
164
|
+
"Mcp.Tools.FetchTelemetryCompareInput",
|
|
111
165
|
"Mcp.Tools.FetchTelemetryInput",
|
|
112
166
|
"Mcp.Tools.FetchTelemetryLogsInput",
|
|
113
167
|
"Mcp.Tools.FetchTelemetryMcpStatsInput",
|
|
@@ -115,39 +169,101 @@ export const contractDefinitionKeys = [
|
|
|
115
169
|
"Mcp.Tools.FetchTelemetryTraceInput",
|
|
116
170
|
"Mcp.Tools.FetchTelemetryTracesInput",
|
|
117
171
|
"Mcp.Tools.FetchTelemetryView",
|
|
172
|
+
"Mcp.Tools.GetAgentRunInput",
|
|
173
|
+
"Mcp.Tools.GetAgentRunOutput",
|
|
174
|
+
"Mcp.Tools.GetFailureContextInput",
|
|
175
|
+
"Mcp.Tools.GetFailureContextOutput",
|
|
176
|
+
"Mcp.Tools.GetMcpStatsInput",
|
|
177
|
+
"Mcp.Tools.GetMcpStatsOutput",
|
|
118
178
|
"Mcp.Tools.GetMetricSeriesInput",
|
|
119
179
|
"Mcp.Tools.GetMetricSeriesOutput",
|
|
180
|
+
"Mcp.Tools.GetServiceMapInput",
|
|
181
|
+
"Mcp.Tools.GetServiceMapOutput",
|
|
120
182
|
"Mcp.Tools.GetTraceInput",
|
|
121
183
|
"Mcp.Tools.GetTraceOutput",
|
|
184
|
+
"Mcp.Tools.GroupComposition",
|
|
185
|
+
"Mcp.Tools.GroupDurations",
|
|
186
|
+
"Mcp.Tools.GroupStructure",
|
|
187
|
+
"Mcp.Tools.ListFailuresInput",
|
|
188
|
+
"Mcp.Tools.ListFailuresOutput",
|
|
122
189
|
"Mcp.Tools.ListMetricsInput",
|
|
123
190
|
"Mcp.Tools.ListMetricsOutput",
|
|
191
|
+
"Mcp.Tools.ListReleasesInput",
|
|
192
|
+
"Mcp.Tools.ListReleasesOutput",
|
|
124
193
|
"Mcp.Tools.ListSavedQueriesInput",
|
|
125
194
|
"Mcp.Tools.ListSavedQueriesOutput",
|
|
126
195
|
"Mcp.Tools.ListSessionsInput",
|
|
127
196
|
"Mcp.Tools.ListSessionsOutput",
|
|
128
197
|
"Mcp.Tools.ListTracesInput",
|
|
129
198
|
"Mcp.Tools.ListTracesOutput",
|
|
199
|
+
"Mcp.Tools.LogPattern",
|
|
200
|
+
"Mcp.Tools.McpComparisonOffset",
|
|
201
|
+
"Mcp.Tools.McpComparisonVersion",
|
|
130
202
|
"Mcp.Tools.McpDashboardBucket",
|
|
131
203
|
"Mcp.Tools.McpDashboardStats",
|
|
132
204
|
"Mcp.Tools.McpDashboardTotals",
|
|
133
205
|
"Mcp.Tools.McpDashboardWindow",
|
|
134
206
|
"Mcp.Tools.McpDataMode",
|
|
207
|
+
"Mcp.Tools.McpFailureClass",
|
|
208
|
+
"Mcp.Tools.McpFailureClasses",
|
|
135
209
|
"Mcp.Tools.McpNameRequestCount",
|
|
136
210
|
"Mcp.Tools.McpScope",
|
|
211
|
+
"Mcp.Tools.McpStatsComparison",
|
|
212
|
+
"Mcp.Tools.McpStatsComparisonResult",
|
|
137
213
|
"Mcp.Tools.McpToolStats",
|
|
214
|
+
"Mcp.Tools.McpTrafficGroup",
|
|
215
|
+
"Mcp.Tools.McpTrafficTotals",
|
|
216
|
+
"Mcp.Tools.MetricComparison",
|
|
217
|
+
"Mcp.Tools.MetricComparisonOffset",
|
|
218
|
+
"Mcp.Tools.MetricComparisonResult",
|
|
219
|
+
"Mcp.Tools.MetricKeySummary",
|
|
220
|
+
"Mcp.Tools.MetricRatio",
|
|
221
|
+
"Mcp.Tools.OrphanSpans",
|
|
138
222
|
"Mcp.Tools.QueryMetricInput",
|
|
139
223
|
"Mcp.Tools.QueryMetricOutput",
|
|
224
|
+
"Mcp.Tools.RecordedException",
|
|
225
|
+
"Mcp.Tools.ReleasePerformance",
|
|
226
|
+
"Mcp.Tools.ReleaseSummary",
|
|
227
|
+
"Mcp.Tools.RepeatedCall",
|
|
228
|
+
"Mcp.Tools.RetryEvidence",
|
|
140
229
|
"Mcp.Tools.RunSavedQueryInput",
|
|
141
230
|
"Mcp.Tools.RunSavedQueryOutput",
|
|
142
231
|
"Mcp.Tools.SavedQueryOutput",
|
|
143
232
|
"Mcp.Tools.SearchLogsInput",
|
|
144
233
|
"Mcp.Tools.SearchLogsOutput",
|
|
234
|
+
"Mcp.Tools.SemconvGap",
|
|
235
|
+
"Mcp.Tools.ServiceAnalysisInput",
|
|
236
|
+
"Mcp.Tools.ServiceMapEdge",
|
|
237
|
+
"Mcp.Tools.ServiceMapNode",
|
|
238
|
+
"Mcp.Tools.SilentService",
|
|
239
|
+
"Mcp.Tools.SimilarFailure",
|
|
240
|
+
"Mcp.Tools.SpanEvidenceRole",
|
|
241
|
+
"Mcp.Tools.TelemetryRetention",
|
|
145
242
|
"Mcp.Tools.ToolError",
|
|
146
243
|
"Mcp.Tools.ToolErrorCode",
|
|
244
|
+
"Mcp.Tools.ToolFieldError",
|
|
147
245
|
"Mcp.Tools.ToolPage",
|
|
246
|
+
"Mcp.Tools.ToolSession",
|
|
247
|
+
"Mcp.Tools.ToolSpan",
|
|
148
248
|
"Mcp.Tools.ToolTimeRange",
|
|
249
|
+
"Mcp.Tools.ToolTrace",
|
|
250
|
+
"Mcp.Tools.ToolTraceSummary",
|
|
251
|
+
"Mcp.Tools.TraceDivergence",
|
|
252
|
+
"Mcp.Tools.TraceGroup",
|
|
253
|
+
"Mcp.Tools.TraceLinkAvailability",
|
|
254
|
+
"Mcp.Tools.TraceOmitted",
|
|
255
|
+
"Mcp.Tools.TriageFailure",
|
|
256
|
+
"Mcp.Tools.TriageInput",
|
|
257
|
+
"Mcp.Tools.TriageOutput",
|
|
258
|
+
"Mcp.Tools.TriageRegression",
|
|
149
259
|
"Mcp.Tools.UpdateAnnotationInput",
|
|
260
|
+
"Mcp.Tools.UpdateFailureStatusInput",
|
|
261
|
+
"Mcp.Tools.UpdateFailureStatusOutput",
|
|
150
262
|
"Mcp.Tools.UpdateSavedQueryInput",
|
|
263
|
+
"Mcp.Tools.VerificationNeeds",
|
|
264
|
+
"Mcp.Tools.VerificationPeriod",
|
|
265
|
+
"Mcp.Tools.VerifyFixInput",
|
|
266
|
+
"Mcp.Tools.VerifyFixOutput",
|
|
151
267
|
"OTel.Enums.ErrorType",
|
|
152
268
|
"OTel.Enums.EventDomain",
|
|
153
269
|
"OTel.Enums.SeverityNumber",
|
|
@@ -162,6 +278,7 @@ export const contractDefinitionKeys = [
|
|
|
162
278
|
"OTel.Metrics.MetricAttributeMatcher",
|
|
163
279
|
"OTel.Metrics.MetricBucket",
|
|
164
280
|
"OTel.Metrics.MetricDescriptor",
|
|
281
|
+
"OTel.Metrics.MetricDescriptorConflict",
|
|
165
282
|
"OTel.Metrics.MetricKind",
|
|
166
283
|
"OTel.Metrics.MetricMatcherOp",
|
|
167
284
|
"OTel.Metrics.MetricQueryResult",
|
|
@@ -175,7 +292,6 @@ export const contractDefinitionKeys = [
|
|
|
175
292
|
"OTel.Traces.Span",
|
|
176
293
|
"OTel.Traces.SpanEvent",
|
|
177
294
|
"OTel.Traces.SpanLink",
|
|
178
|
-
"OTel.Traces.SpanQueryFilters",
|
|
179
295
|
"OTel.Traces.SpanStats",
|
|
180
296
|
"OTel.Traces.SpanStatsByDimension",
|
|
181
297
|
"OTel.Traces.SpanStatus",
|
|
@@ -212,6 +328,15 @@ export const contractDefinitionKeys = [
|
|
|
212
328
|
"Operations.AnnotationsApi_update.Response.412",
|
|
213
329
|
"Operations.AnnotationsApi_update.Response.428",
|
|
214
330
|
"Operations.AnnotationsApi_update.Response.500",
|
|
331
|
+
"Operations.FailuresApi_update.Request",
|
|
332
|
+
"Operations.FailuresApi_update.Response.200",
|
|
333
|
+
"Operations.FailuresApi_update.Response.400",
|
|
334
|
+
"Operations.FailuresApi_update.Response.401",
|
|
335
|
+
"Operations.FailuresApi_update.Response.403",
|
|
336
|
+
"Operations.FailuresApi_update.Response.404",
|
|
337
|
+
"Operations.FailuresApi_update.Response.412",
|
|
338
|
+
"Operations.FailuresApi_update.Response.428",
|
|
339
|
+
"Operations.FailuresApi_update.Response.500",
|
|
215
340
|
"Operations.LogsApi_list.Response.200",
|
|
216
341
|
"Operations.LogsApi_list.Response.400",
|
|
217
342
|
"Operations.LogsApi_list.Response.401",
|
|
@@ -652,6 +777,162 @@ export const contractDefinitionKeys = [
|
|
|
652
777
|
"Operations.WorkbenchWorkspacesApi_updatePreferences.Response.404",
|
|
653
778
|
"Operations.WorkbenchWorkspacesApi_updatePreferences.Response.500",
|
|
654
779
|
"Operations.WorkbenchWorkspacesApi_updatePreferences.Response.503",
|
|
780
|
+
"Operations.analysis_aggregate_telemetry.Request",
|
|
781
|
+
"Operations.analysis_aggregate_telemetry.Response.200",
|
|
782
|
+
"Operations.analysis_aggregate_telemetry.Response.400",
|
|
783
|
+
"Operations.analysis_aggregate_telemetry.Response.401",
|
|
784
|
+
"Operations.analysis_aggregate_telemetry.Response.404",
|
|
785
|
+
"Operations.analysis_aggregate_telemetry.Response.500",
|
|
786
|
+
"Operations.analysis_check_telemetry_health.Request",
|
|
787
|
+
"Operations.analysis_check_telemetry_health.Response.200",
|
|
788
|
+
"Operations.analysis_check_telemetry_health.Response.400",
|
|
789
|
+
"Operations.analysis_check_telemetry_health.Response.401",
|
|
790
|
+
"Operations.analysis_check_telemetry_health.Response.404",
|
|
791
|
+
"Operations.analysis_check_telemetry_health.Response.500",
|
|
792
|
+
"Operations.analysis_ci_log.Request",
|
|
793
|
+
"Operations.analysis_ci_log.Response.200",
|
|
794
|
+
"Operations.analysis_ci_log.Response.400",
|
|
795
|
+
"Operations.analysis_ci_log.Response.401",
|
|
796
|
+
"Operations.analysis_ci_log.Response.404",
|
|
797
|
+
"Operations.analysis_ci_log.Response.500",
|
|
798
|
+
"Operations.analysis_compare_groups.Request",
|
|
799
|
+
"Operations.analysis_compare_groups.Response.200",
|
|
800
|
+
"Operations.analysis_compare_groups.Response.400",
|
|
801
|
+
"Operations.analysis_compare_groups.Response.401",
|
|
802
|
+
"Operations.analysis_compare_groups.Response.404",
|
|
803
|
+
"Operations.analysis_compare_groups.Response.500",
|
|
804
|
+
"Operations.analysis_compare_traces.Request",
|
|
805
|
+
"Operations.analysis_compare_traces.Response.200",
|
|
806
|
+
"Operations.analysis_compare_traces.Response.400",
|
|
807
|
+
"Operations.analysis_compare_traces.Response.401",
|
|
808
|
+
"Operations.analysis_compare_traces.Response.404",
|
|
809
|
+
"Operations.analysis_compare_traces.Response.500",
|
|
810
|
+
"Operations.analysis_discover_attributes.Request",
|
|
811
|
+
"Operations.analysis_discover_attributes.Response.200",
|
|
812
|
+
"Operations.analysis_discover_attributes.Response.400",
|
|
813
|
+
"Operations.analysis_discover_attributes.Response.401",
|
|
814
|
+
"Operations.analysis_discover_attributes.Response.404",
|
|
815
|
+
"Operations.analysis_discover_attributes.Response.500",
|
|
816
|
+
"Operations.analysis_display_mcp_dashboard.Request",
|
|
817
|
+
"Operations.analysis_display_mcp_dashboard.Response.200",
|
|
818
|
+
"Operations.analysis_display_mcp_dashboard.Response.400",
|
|
819
|
+
"Operations.analysis_display_mcp_dashboard.Response.401",
|
|
820
|
+
"Operations.analysis_display_mcp_dashboard.Response.404",
|
|
821
|
+
"Operations.analysis_display_mcp_dashboard.Response.500",
|
|
822
|
+
"Operations.analysis_display_traces.Request",
|
|
823
|
+
"Operations.analysis_display_traces.Response.200",
|
|
824
|
+
"Operations.analysis_display_traces.Response.400",
|
|
825
|
+
"Operations.analysis_display_traces.Response.401",
|
|
826
|
+
"Operations.analysis_display_traces.Response.404",
|
|
827
|
+
"Operations.analysis_display_traces.Response.500",
|
|
828
|
+
"Operations.analysis_fetch_telemetry.Request",
|
|
829
|
+
"Operations.analysis_fetch_telemetry.Response.200",
|
|
830
|
+
"Operations.analysis_fetch_telemetry.Response.400",
|
|
831
|
+
"Operations.analysis_fetch_telemetry.Response.401",
|
|
832
|
+
"Operations.analysis_fetch_telemetry.Response.404",
|
|
833
|
+
"Operations.analysis_fetch_telemetry.Response.500",
|
|
834
|
+
"Operations.analysis_get_agent_run.Request",
|
|
835
|
+
"Operations.analysis_get_agent_run.Response.200",
|
|
836
|
+
"Operations.analysis_get_agent_run.Response.400",
|
|
837
|
+
"Operations.analysis_get_agent_run.Response.401",
|
|
838
|
+
"Operations.analysis_get_agent_run.Response.404",
|
|
839
|
+
"Operations.analysis_get_agent_run.Response.500",
|
|
840
|
+
"Operations.analysis_get_failure_context.Request",
|
|
841
|
+
"Operations.analysis_get_failure_context.Response.200",
|
|
842
|
+
"Operations.analysis_get_failure_context.Response.400",
|
|
843
|
+
"Operations.analysis_get_failure_context.Response.401",
|
|
844
|
+
"Operations.analysis_get_failure_context.Response.404",
|
|
845
|
+
"Operations.analysis_get_failure_context.Response.500",
|
|
846
|
+
"Operations.analysis_get_mcp_stats.Request",
|
|
847
|
+
"Operations.analysis_get_mcp_stats.Response.200",
|
|
848
|
+
"Operations.analysis_get_mcp_stats.Response.400",
|
|
849
|
+
"Operations.analysis_get_mcp_stats.Response.401",
|
|
850
|
+
"Operations.analysis_get_mcp_stats.Response.404",
|
|
851
|
+
"Operations.analysis_get_mcp_stats.Response.500",
|
|
852
|
+
"Operations.analysis_get_metric_series.Request",
|
|
853
|
+
"Operations.analysis_get_metric_series.Response.200",
|
|
854
|
+
"Operations.analysis_get_metric_series.Response.400",
|
|
855
|
+
"Operations.analysis_get_metric_series.Response.401",
|
|
856
|
+
"Operations.analysis_get_metric_series.Response.404",
|
|
857
|
+
"Operations.analysis_get_metric_series.Response.500",
|
|
858
|
+
"Operations.analysis_get_service_map.Request",
|
|
859
|
+
"Operations.analysis_get_service_map.Response.200",
|
|
860
|
+
"Operations.analysis_get_service_map.Response.400",
|
|
861
|
+
"Operations.analysis_get_service_map.Response.401",
|
|
862
|
+
"Operations.analysis_get_service_map.Response.404",
|
|
863
|
+
"Operations.analysis_get_service_map.Response.500",
|
|
864
|
+
"Operations.analysis_get_trace.Request",
|
|
865
|
+
"Operations.analysis_get_trace.Response.200",
|
|
866
|
+
"Operations.analysis_get_trace.Response.400",
|
|
867
|
+
"Operations.analysis_get_trace.Response.401",
|
|
868
|
+
"Operations.analysis_get_trace.Response.404",
|
|
869
|
+
"Operations.analysis_get_trace.Response.500",
|
|
870
|
+
"Operations.analysis_list_failures.Request",
|
|
871
|
+
"Operations.analysis_list_failures.Response.200",
|
|
872
|
+
"Operations.analysis_list_failures.Response.400",
|
|
873
|
+
"Operations.analysis_list_failures.Response.401",
|
|
874
|
+
"Operations.analysis_list_failures.Response.404",
|
|
875
|
+
"Operations.analysis_list_failures.Response.500",
|
|
876
|
+
"Operations.analysis_list_metrics.Request",
|
|
877
|
+
"Operations.analysis_list_metrics.Response.200",
|
|
878
|
+
"Operations.analysis_list_metrics.Response.400",
|
|
879
|
+
"Operations.analysis_list_metrics.Response.401",
|
|
880
|
+
"Operations.analysis_list_metrics.Response.404",
|
|
881
|
+
"Operations.analysis_list_metrics.Response.500",
|
|
882
|
+
"Operations.analysis_list_releases.Request",
|
|
883
|
+
"Operations.analysis_list_releases.Response.200",
|
|
884
|
+
"Operations.analysis_list_releases.Response.400",
|
|
885
|
+
"Operations.analysis_list_releases.Response.401",
|
|
886
|
+
"Operations.analysis_list_releases.Response.404",
|
|
887
|
+
"Operations.analysis_list_releases.Response.500",
|
|
888
|
+
"Operations.analysis_list_saved_queries.Request",
|
|
889
|
+
"Operations.analysis_list_saved_queries.Response.200",
|
|
890
|
+
"Operations.analysis_list_saved_queries.Response.400",
|
|
891
|
+
"Operations.analysis_list_saved_queries.Response.401",
|
|
892
|
+
"Operations.analysis_list_saved_queries.Response.404",
|
|
893
|
+
"Operations.analysis_list_saved_queries.Response.500",
|
|
894
|
+
"Operations.analysis_list_sessions.Request",
|
|
895
|
+
"Operations.analysis_list_sessions.Response.200",
|
|
896
|
+
"Operations.analysis_list_sessions.Response.400",
|
|
897
|
+
"Operations.analysis_list_sessions.Response.401",
|
|
898
|
+
"Operations.analysis_list_sessions.Response.404",
|
|
899
|
+
"Operations.analysis_list_sessions.Response.500",
|
|
900
|
+
"Operations.analysis_list_traces.Request",
|
|
901
|
+
"Operations.analysis_list_traces.Response.200",
|
|
902
|
+
"Operations.analysis_list_traces.Response.400",
|
|
903
|
+
"Operations.analysis_list_traces.Response.401",
|
|
904
|
+
"Operations.analysis_list_traces.Response.404",
|
|
905
|
+
"Operations.analysis_list_traces.Response.500",
|
|
906
|
+
"Operations.analysis_query_metric.Request",
|
|
907
|
+
"Operations.analysis_query_metric.Response.200",
|
|
908
|
+
"Operations.analysis_query_metric.Response.400",
|
|
909
|
+
"Operations.analysis_query_metric.Response.401",
|
|
910
|
+
"Operations.analysis_query_metric.Response.404",
|
|
911
|
+
"Operations.analysis_query_metric.Response.500",
|
|
912
|
+
"Operations.analysis_run_saved_query.Request",
|
|
913
|
+
"Operations.analysis_run_saved_query.Response.200",
|
|
914
|
+
"Operations.analysis_run_saved_query.Response.400",
|
|
915
|
+
"Operations.analysis_run_saved_query.Response.401",
|
|
916
|
+
"Operations.analysis_run_saved_query.Response.404",
|
|
917
|
+
"Operations.analysis_run_saved_query.Response.500",
|
|
918
|
+
"Operations.analysis_search_logs.Request",
|
|
919
|
+
"Operations.analysis_search_logs.Response.200",
|
|
920
|
+
"Operations.analysis_search_logs.Response.400",
|
|
921
|
+
"Operations.analysis_search_logs.Response.401",
|
|
922
|
+
"Operations.analysis_search_logs.Response.404",
|
|
923
|
+
"Operations.analysis_search_logs.Response.500",
|
|
924
|
+
"Operations.analysis_triage.Request",
|
|
925
|
+
"Operations.analysis_triage.Response.200",
|
|
926
|
+
"Operations.analysis_triage.Response.400",
|
|
927
|
+
"Operations.analysis_triage.Response.401",
|
|
928
|
+
"Operations.analysis_triage.Response.404",
|
|
929
|
+
"Operations.analysis_triage.Response.500",
|
|
930
|
+
"Operations.analysis_verify_fix.Request",
|
|
931
|
+
"Operations.analysis_verify_fix.Response.200",
|
|
932
|
+
"Operations.analysis_verify_fix.Response.400",
|
|
933
|
+
"Operations.analysis_verify_fix.Response.401",
|
|
934
|
+
"Operations.analysis_verify_fix.Response.404",
|
|
935
|
+
"Operations.analysis_verify_fix.Response.500",
|
|
655
936
|
"Operations.health_alive.Response.200",
|
|
656
937
|
"Operations.health_alive.Response.503",
|
|
657
938
|
"Operations.health_ready.Response.200",
|
|
@@ -680,6 +961,7 @@ export const contractDefinitionKeys = [
|
|
|
680
961
|
"Streaming.HeartbeatEvent",
|
|
681
962
|
"Streaming.LogEvents",
|
|
682
963
|
"Streaming.LogStreamEvent",
|
|
964
|
+
"UpdateFailureStatusRequest",
|
|
683
965
|
"Workbench.WorkbenchAssertionResult",
|
|
684
966
|
"Workbench.WorkbenchAssertionStatus",
|
|
685
967
|
"Workbench.WorkbenchBuiltinServerConfiguration",
|
package/index.tsp
CHANGED
package/models/annotations.tsp
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "../common/telemetry-query.tsp";
|
|
1
2
|
// =============================================================================
|
|
2
3
|
// Annotations: user notes on a trace, span or session
|
|
3
4
|
// =============================================================================
|
|
@@ -49,10 +50,15 @@ union AnnotationTarget {
|
|
|
49
50
|
trace: TraceAnnotationTarget,
|
|
50
51
|
span: SpanAnnotationTarget,
|
|
51
52
|
session: SessionAnnotationTarget,
|
|
53
|
+
failure: FailureAnnotationTarget,
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
@doc("A user note attached to a trace, span or session.")
|
|
55
57
|
model Annotation extends ResourceBase {
|
|
58
|
+
@maxItems(10)
|
|
59
|
+
labels?: AnnotationLabel[];
|
|
60
|
+
classification?: AnnotationClassification;
|
|
61
|
+
|
|
56
62
|
@doc("What the note is attached to. Fixed at creation.")
|
|
57
63
|
@visibility(Lifecycle.Read, Lifecycle.Create)
|
|
58
64
|
target: AnnotationTarget;
|
|
@@ -65,6 +71,10 @@ model Annotation extends ResourceBase {
|
|
|
65
71
|
|
|
66
72
|
@doc("Body of POST /api/v1/annotations: the `Lifecycle.Create` members of Annotation.")
|
|
67
73
|
model AnnotationCreateRequest {
|
|
74
|
+
@maxItems(10)
|
|
75
|
+
labels?: AnnotationLabel[];
|
|
76
|
+
classification?: AnnotationClassification;
|
|
77
|
+
|
|
68
78
|
@doc("What the note is attached to. Fixed at creation.")
|
|
69
79
|
target: AnnotationTarget;
|
|
70
80
|
|
|
@@ -76,8 +86,28 @@ model AnnotationCreateRequest {
|
|
|
76
86
|
|
|
77
87
|
@doc("Body of PATCH /api/v1/annotations/{annotation_id}: the `Lifecycle.Update` members of Annotation.")
|
|
78
88
|
model AnnotationUpdateRequest {
|
|
89
|
+
@maxItems(10)
|
|
90
|
+
labels?: AnnotationLabel[];
|
|
91
|
+
classification?: AnnotationClassification;
|
|
92
|
+
|
|
79
93
|
@doc("The new note, plain text, at most 2000 characters.")
|
|
80
94
|
@minLength(1)
|
|
81
95
|
@maxLength(2000)
|
|
82
|
-
text
|
|
96
|
+
text?: string;
|
|
83
97
|
}
|
|
98
|
+
|
|
99
|
+
@doc("FailureAnnotationTarget contract.")
|
|
100
|
+
model FailureAnnotationTarget {
|
|
101
|
+
kind: "failure";
|
|
102
|
+
@encodedName("application/json", "failure_id")
|
|
103
|
+
failureId: FailureId;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
@doc("Classification of the human annotation.")
|
|
108
|
+
enum AnnotationClassification { note, hypothesis, finding, rejected }
|
|
109
|
+
|
|
110
|
+
@doc("A short user-defined annotation label.")
|
|
111
|
+
@minLength(1)
|
|
112
|
+
@maxLength(64)
|
|
113
|
+
scalar AnnotationLabel extends string;
|