@mastra/laminar 1.3.29-alpha.1 → 1.3.29-alpha.2
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/dist/index.cjs +1 -2
- package/dist/index.js +1 -2
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -6,7 +6,7 @@ let _opentelemetry_exporter_trace_otlp_proto = require("@opentelemetry/exporter-
|
|
|
6
6
|
let _opentelemetry_resources = require("@opentelemetry/resources");
|
|
7
7
|
let _opentelemetry_sdk_trace_base = require("@opentelemetry/sdk-trace-base");
|
|
8
8
|
let _opentelemetry_semantic_conventions = require("@opentelemetry/semantic-conventions");
|
|
9
|
-
|
|
9
|
+
// src/tracing.ts
|
|
10
10
|
const LMNR_SPAN_INPUT = "lmnr.span.input";
|
|
11
11
|
const LMNR_SPAN_OUTPUT = "lmnr.span.output";
|
|
12
12
|
const LMNR_SPAN_TYPE = "lmnr.span.type";
|
|
@@ -446,7 +446,6 @@ function otelTraceIdToUUID(traceId) {
|
|
|
446
446
|
function normalizeProvider(provider) {
|
|
447
447
|
return provider.split(".").shift()?.toLowerCase().trim() || provider.toLowerCase().trim();
|
|
448
448
|
}
|
|
449
|
-
//#endregion
|
|
450
449
|
exports.LaminarExporter = LaminarExporter;
|
|
451
450
|
exports.otelSpanIdToUUID = otelSpanIdToUUID;
|
|
452
451
|
exports.otelTraceIdToUUID = otelTraceIdToUUID;
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-proto";
|
|
|
5
5
|
import { resourceFromAttributes } from "@opentelemetry/resources";
|
|
6
6
|
import { BatchSpanProcessor, SimpleSpanProcessor } from "@opentelemetry/sdk-trace-base";
|
|
7
7
|
import { ATTR_SERVICE_NAME, ATTR_SERVICE_VERSION, ATTR_TELEMETRY_SDK_LANGUAGE, ATTR_TELEMETRY_SDK_NAME, ATTR_TELEMETRY_SDK_VERSION } from "@opentelemetry/semantic-conventions";
|
|
8
|
-
|
|
8
|
+
// src/tracing.ts
|
|
9
9
|
const LMNR_SPAN_INPUT = "lmnr.span.input";
|
|
10
10
|
const LMNR_SPAN_OUTPUT = "lmnr.span.output";
|
|
11
11
|
const LMNR_SPAN_TYPE = "lmnr.span.type";
|
|
@@ -445,7 +445,6 @@ function otelTraceIdToUUID(traceId) {
|
|
|
445
445
|
function normalizeProvider(provider) {
|
|
446
446
|
return provider.split(".").shift()?.toLowerCase().trim() || provider.toLowerCase().trim();
|
|
447
447
|
}
|
|
448
|
-
//#endregion
|
|
449
448
|
export { LaminarExporter, otelSpanIdToUUID, otelTraceIdToUUID, stripTrailingSlash };
|
|
450
449
|
|
|
451
450
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/laminar",
|
|
3
|
-
"version": "1.3.29-alpha.
|
|
3
|
+
"version": "1.3.29-alpha.2",
|
|
4
4
|
"description": "Laminar observability provider for Mastra - tracing + scoring export",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@opentelemetry/api": "^1.9.1",
|
|
27
27
|
"@opentelemetry/exporter-trace-otlp-proto": "^0.221.0",
|
|
28
|
-
"@opentelemetry/resources": "^2.
|
|
29
|
-
"@opentelemetry/sdk-trace-base": "^2.
|
|
28
|
+
"@opentelemetry/resources": "^2.12.0",
|
|
29
|
+
"@opentelemetry/sdk-trace-base": "^2.12.0",
|
|
30
30
|
"@opentelemetry/semantic-conventions": "^1.43.0",
|
|
31
|
-
"@mastra/observability": "1.21.1-alpha.
|
|
31
|
+
"@mastra/observability": "1.21.1-alpha.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@types/node": "22.
|
|
34
|
+
"@types/node": "22.19.15",
|
|
35
35
|
"@vitest/coverage-v8": "4.1.12",
|
|
36
36
|
"@vitest/ui": "4.1.12",
|
|
37
37
|
"tsdown": "0.23.1",
|
|
38
38
|
"typescript": "^7.0.2",
|
|
39
39
|
"vitest": "4.1.12",
|
|
40
|
-
"@mastra/core": "1.80.0-alpha.1",
|
|
41
40
|
"@internal/lint": "0.0.145",
|
|
42
|
-
"@internal/types-builder": "0.0.120"
|
|
41
|
+
"@internal/types-builder": "0.0.120",
|
|
42
|
+
"@mastra/core": "1.80.0-alpha.4"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@mastra/core": ">=1.16.0-0 <2.0.0-0"
|