@vzn/vx-otel 0.0.590 → 0.0.594
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/package.json +2 -2
- package/src/otlp.ts +4 -4
- package/src/sink.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vzn/vx-otel",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.594",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "OpenTelemetry exporter for vx — a telemetry plugin mapping runs to OTLP traces + metrics (CI/CD + VCS semantic conventions).",
|
|
6
6
|
"keywords": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@vzn/vx": "^0.0.
|
|
37
|
+
"@vzn/vx": "^0.0.594"
|
|
38
38
|
},
|
|
39
39
|
"repository": {
|
|
40
40
|
"type": "git",
|
package/src/otlp.ts
CHANGED
|
@@ -26,7 +26,7 @@ type AnyValue =
|
|
|
26
26
|
| { doubleValue: number }
|
|
27
27
|
| { arrayValue: { values: AnyValue[] } }
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
interface KeyValue {
|
|
30
30
|
key: string
|
|
31
31
|
value: AnyValue
|
|
32
32
|
}
|
|
@@ -196,13 +196,13 @@ export interface OtlpSpan {
|
|
|
196
196
|
links?: OtlpSpanLink[]
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
|
|
199
|
+
interface OtlpSpanEvent {
|
|
200
200
|
timeUnixNano: string
|
|
201
201
|
name: string
|
|
202
202
|
attributes: KeyValue[]
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
|
|
205
|
+
interface OtlpSpanLink {
|
|
206
206
|
traceId: string
|
|
207
207
|
spanId: string
|
|
208
208
|
attributes: KeyValue[]
|
|
@@ -756,7 +756,7 @@ function taskMetrics(points: readonly TaskMetricPoint[]): unknown[] {
|
|
|
756
756
|
const SEVERITY_INFO = 9
|
|
757
757
|
const SEVERITY_ERROR = 17
|
|
758
758
|
|
|
759
|
-
|
|
759
|
+
interface OtlpLogRecord {
|
|
760
760
|
timeUnixNano: string
|
|
761
761
|
observedTimeUnixNano: string
|
|
762
762
|
severityNumber: number
|