@mastra/observability 1.9.0-alpha.0 → 1.9.1-alpha.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/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @mastra/observability
2
2
 
3
+ ## 1.9.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Update references to "Mastra Cloud" to "Mastra platform" ([#15297](https://github.com/mastra-ai/mastra/pull/15297))
8
+
9
+ - Updated dependencies [[`4ba3bb1`](https://github.com/mastra-ai/mastra/commit/4ba3bb1e465ad2ddaba3bbf2bc47e0faec32985e)]:
10
+ - @mastra/core@1.25.0-alpha.2
11
+
12
+ ## 1.9.0
13
+
14
+ ### Minor Changes
15
+
16
+ - Added support for project-scoped CloudExporter collector routes for organization API keys. ([#15189](https://github.com/mastra-ai/mastra/pull/15189))
17
+
18
+ **What changed**
19
+ CloudExporter now accepts a `projectId` option and reads `MASTRA_PROJECT_ID` so remote writes can target project-scoped collector URLs when you authenticate with an organization API key.
20
+
21
+ ```ts
22
+ new CloudExporter({
23
+ accessToken: process.env.MASTRA_CLOUD_ACCESS_TOKEN,
24
+ projectId: process.env.MASTRA_PROJECT_ID,
25
+ });
26
+ ```
27
+
28
+ When `projectId` is set, base endpoints resolve to `/projects/:projectId/ai/{signal}/publish`. Without it, existing JWT-style `/ai/{signal}/publish` routes still work as before.
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [[`ef94400`](https://github.com/mastra-ai/mastra/commit/ef9440049402596b31f2ab976c5e4508f6cb6c91), [`3db852b`](https://github.com/mastra-ai/mastra/commit/3db852bff74e29f60d415a7b0f1583d6ce2bad92)]:
33
+ - @mastra/core@1.24.1
34
+
3
35
  ## 1.9.0-alpha.0
4
36
 
5
37
  ### Minor Changes
package/README.md CHANGED
@@ -21,7 +21,7 @@ export const mastra = new Mastra({
21
21
  serviceName: 'my-app',
22
22
  exporters: [
23
23
  new DefaultExporter(), // Persists traces for Mastra Studio
24
- new CloudExporter(), // Sends to Mastra Cloud
24
+ new CloudExporter(), // Sends to Mastra platform
25
25
  ],
26
26
  spanOutputProcessors: [new SensitiveDataFilter()],
27
27
  },
@@ -33,7 +33,7 @@ export const mastra = new Mastra({
33
33
  ## Features
34
34
 
35
35
  - **Auto-instrumentation** - Traces agent runs, LLM calls, tool executions, and workflows
36
- - **Pluggable Exporters** - Exporters for Studio and Cloud, plus integrations for Arize, Braintrust, Langfuse, LangSmith, and OpenTelemetry
36
+ - **Pluggable Exporters** - Exporters for Studio, plus integrations for Arize, Braintrust, Langfuse, LangSmith, and OpenTelemetry
37
37
  - **Sampling Strategies** - Always, ratio-based, or custom sampling
38
38
  - **Span Processors** - Transform or filter span data before export
39
39
  - **OpenTelemetry Compatible** - Standard trace/span ID formats for integration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/observability",
3
- "version": "1.9.0-alpha.0",
3
+ "version": "1.9.1-alpha.0",
4
4
  "description": "Core observability package for Mastra - includes tracing and scoring features",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -32,11 +32,11 @@
32
32
  "typescript": "^5.9.3",
33
33
  "vitest": "4.0.18",
34
34
  "zod": "^4.3.6",
35
- "@internal/ai-sdk-v5": "0.0.28",
36
- "@internal/types-builder": "0.0.56",
37
- "@internal/lint": "0.0.81",
38
- "@mastra/core": "1.24.1-alpha.0",
39
- "@internal/ai-sdk-v4": "0.0.28"
35
+ "@internal/ai-sdk-v4": "0.0.29",
36
+ "@internal/ai-sdk-v5": "0.0.29",
37
+ "@internal/types-builder": "0.0.57",
38
+ "@mastra/core": "1.25.0-alpha.2",
39
+ "@internal/lint": "0.0.82"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@mastra/core": ">=1.16.0-0 <2.0.0-0"