@ancplua/qyl-api-schema 2.1.0 → 3.0.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.
|
@@ -531,8 +531,8 @@ export interface Span {
|
|
|
531
531
|
"trace_state"?: string;
|
|
532
532
|
"name": string;
|
|
533
533
|
"kind": SpanKind;
|
|
534
|
-
"start_time_unix_nano":
|
|
535
|
-
"end_time_unix_nano":
|
|
534
|
+
"start_time_unix_nano": string;
|
|
535
|
+
"end_time_unix_nano": string;
|
|
536
536
|
"attributes"?: Attribute[];
|
|
537
537
|
"dropped_attributes_count"?: number;
|
|
538
538
|
"events"?: SpanEvent[];
|
|
@@ -546,7 +546,7 @@ export interface Span {
|
|
|
546
546
|
}
|
|
547
547
|
export interface SpanEvent {
|
|
548
548
|
"name": string;
|
|
549
|
-
"time_unix_nano":
|
|
549
|
+
"time_unix_nano": string;
|
|
550
550
|
"attributes"?: Attribute[];
|
|
551
551
|
"dropped_attributes_count"?: number;
|
|
552
552
|
}
|
|
@@ -566,7 +566,7 @@ export interface TraceSummary {
|
|
|
566
566
|
"trace_id": TraceId;
|
|
567
567
|
"root_span"?: Span;
|
|
568
568
|
"span_count": number;
|
|
569
|
-
"duration_ns":
|
|
569
|
+
"duration_ns": string;
|
|
570
570
|
"start_time": string;
|
|
571
571
|
"end_time": string;
|
|
572
572
|
"services": string[];
|
|
@@ -582,8 +582,8 @@ export interface SpanQueryFilters {
|
|
|
582
582
|
"kind"?: SpanKind;
|
|
583
583
|
"service_name"?: string;
|
|
584
584
|
"status_code"?: SpanStatusCode;
|
|
585
|
-
"min_duration_ns"?:
|
|
586
|
-
"max_duration_ns"?:
|
|
585
|
+
"min_duration_ns"?: string;
|
|
586
|
+
"max_duration_ns"?: string;
|
|
587
587
|
"attribute"?: string;
|
|
588
588
|
}
|
|
589
589
|
export interface SpanStats {
|
|
@@ -591,11 +591,11 @@ export interface SpanStats {
|
|
|
591
591
|
"error_count": number;
|
|
592
592
|
"error_rate": number;
|
|
593
593
|
"avg_duration_ns": number;
|
|
594
|
-
"p50_duration_ns":
|
|
595
|
-
"p90_duration_ns":
|
|
596
|
-
"p99_duration_ns":
|
|
597
|
-
"min_duration_ns":
|
|
598
|
-
"max_duration_ns":
|
|
594
|
+
"p50_duration_ns": string;
|
|
595
|
+
"p90_duration_ns": string;
|
|
596
|
+
"p99_duration_ns": string;
|
|
597
|
+
"min_duration_ns": string;
|
|
598
|
+
"max_duration_ns": string;
|
|
599
599
|
"throughput_per_second": number;
|
|
600
600
|
"by_service"?: SpanStatsByDimension[];
|
|
601
601
|
"by_operation"?: SpanStatsByDimension[];
|
|
@@ -607,8 +607,8 @@ export interface SpanStatsByDimension {
|
|
|
607
607
|
"error_rate": number;
|
|
608
608
|
}
|
|
609
609
|
export interface LogRecord {
|
|
610
|
-
"time_unix_nano":
|
|
611
|
-
"observed_time_unix_nano":
|
|
610
|
+
"time_unix_nano": string;
|
|
611
|
+
"observed_time_unix_nano": string;
|
|
612
612
|
"severity_number": SeverityNumber;
|
|
613
613
|
"severity_text"?: SeverityText;
|
|
614
614
|
"body": LogBody;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ancplua/qyl-api-schema",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "TypeSpec source of truth for qyl API contracts. Emits OpenAPI, JSON Schema, Qyl.Api.Contracts DTOs, and TypeScript contract types; not an OpenTelemetry package, storage schema, or server implementation.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -128,13 +128,13 @@
|
|
|
128
128
|
"@ancplua/typespec-emit-csharp": "file:./emitters/csharp",
|
|
129
129
|
"@ancplua/typespec-emit-ts-types": "file:./emitters/ts-types",
|
|
130
130
|
"@ancplua/typespec-qyl-lint": "file:./emitters/qyl-lint",
|
|
131
|
-
"@types/node": "
|
|
131
|
+
"@types/node": "26.1.1",
|
|
132
132
|
"@typespec/compiler": "1.14.0",
|
|
133
|
-
"@typespec/events": "0.
|
|
134
|
-
"@typespec/http": "1.
|
|
135
|
-
"@typespec/openapi": "1.
|
|
136
|
-
"@typespec/openapi3": "1.
|
|
137
|
-
"@typespec/sse": "0.
|
|
133
|
+
"@typespec/events": "0.84.0",
|
|
134
|
+
"@typespec/http": "1.14.0",
|
|
135
|
+
"@typespec/openapi": "1.14.0",
|
|
136
|
+
"@typespec/openapi3": "1.14.0",
|
|
137
|
+
"@typespec/sse": "0.84.0",
|
|
138
138
|
"ajv": "8.20.0",
|
|
139
139
|
"typescript": "7.0.2"
|
|
140
140
|
}
|