@ancplua/qyl-api-schema 0.6.0 → 0.6.1
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.
|
@@ -17881,6 +17881,10 @@
|
|
|
17881
17881
|
],
|
|
17882
17882
|
"description": "Associated span ID"
|
|
17883
17883
|
},
|
|
17884
|
+
"event_name": {
|
|
17885
|
+
"type": "string",
|
|
17886
|
+
"description": "Fully qualified category identifying this log record as an event"
|
|
17887
|
+
},
|
|
17884
17888
|
"resource": {
|
|
17885
17889
|
"allOf": [
|
|
17886
17890
|
{
|
package/otel/logs.tsp
CHANGED
|
@@ -61,6 +61,10 @@ model LogRecord {
|
|
|
61
61
|
@encodedName("application/json", "span_id")
|
|
62
62
|
spanId?: SpanId;
|
|
63
63
|
|
|
64
|
+
@doc("Fully qualified category identifying this log record as an event")
|
|
65
|
+
@encodedName("application/json", "event_name")
|
|
66
|
+
eventName?: string;
|
|
67
|
+
|
|
64
68
|
@doc("Resource describing the entity that produced this log")
|
|
65
69
|
resource: Qyl.Api.Contracts.OTel.Resource.Resource;
|
|
66
70
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ancplua/qyl-api-schema",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
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": {
|