@mastra/observability 1.24.3 → 1.24.4-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/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +39 -39
- package/dist/docs/references/docs-mastra-platform-observability-overview.md +1 -1
- package/dist/index.cjs +556 -409
- package/dist/index.js +556 -409
- package/package.json +3 -3
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-observability
|
|
|
3
3
|
description: Documentation for @mastra/observability. Use when working with @mastra/observability APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/observability"
|
|
6
|
-
version: "1.24.
|
|
6
|
+
version: "1.24.4-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.24.
|
|
2
|
+
"version": "1.24.4-alpha.0",
|
|
3
3
|
"package": "@mastra/observability",
|
|
4
4
|
"exports": {
|
|
5
5
|
"BaseExporter": {
|
|
6
6
|
"types": "dist/exporters/base.d.ts",
|
|
7
7
|
"implementation": "dist/index.js",
|
|
8
|
-
"line":
|
|
8
|
+
"line": 68280
|
|
9
9
|
},
|
|
10
10
|
"BaseObservabilityEventBus": {
|
|
11
11
|
"types": "dist/bus/base.d.ts",
|
|
@@ -15,27 +15,27 @@
|
|
|
15
15
|
"BaseObservabilityInstance": {
|
|
16
16
|
"types": "dist/instances/base.d.ts",
|
|
17
17
|
"implementation": "dist/index.js",
|
|
18
|
-
"line":
|
|
18
|
+
"line": 70314
|
|
19
19
|
},
|
|
20
20
|
"BaseSpan": {
|
|
21
21
|
"types": "dist/spans/base.d.ts",
|
|
22
22
|
"implementation": "dist/index.js",
|
|
23
|
-
"line":
|
|
23
|
+
"line": 67539
|
|
24
24
|
},
|
|
25
25
|
"CardinalityFilter": {
|
|
26
26
|
"types": "dist/metrics/cardinality.d.ts",
|
|
27
27
|
"implementation": "dist/index.js",
|
|
28
|
-
"line":
|
|
28
|
+
"line": 66051
|
|
29
29
|
},
|
|
30
30
|
"CloudExporter": {
|
|
31
31
|
"types": "dist/exporters/cloud.d.ts",
|
|
32
32
|
"implementation": "dist/index.js",
|
|
33
|
-
"line":
|
|
33
|
+
"line": 72762
|
|
34
34
|
},
|
|
35
35
|
"ConsoleExporter": {
|
|
36
36
|
"types": "dist/exporters/console.d.ts",
|
|
37
37
|
"implementation": "dist/index.js",
|
|
38
|
-
"line":
|
|
38
|
+
"line": 73085
|
|
39
39
|
},
|
|
40
40
|
"DEFAULT_DEEP_CLEAN_OPTIONS": {
|
|
41
41
|
"types": "dist/spans/serialization.d.ts",
|
|
@@ -45,27 +45,27 @@
|
|
|
45
45
|
"DEFAULT_LIMITS": {
|
|
46
46
|
"types": "dist/client/proxy.d.ts",
|
|
47
47
|
"implementation": "dist/index.js",
|
|
48
|
-
"line":
|
|
48
|
+
"line": 71320
|
|
49
49
|
},
|
|
50
50
|
"DefaultExporter": {
|
|
51
51
|
"types": "dist/exporters/default.d.ts",
|
|
52
52
|
"implementation": "dist/index.js",
|
|
53
|
-
"line":
|
|
53
|
+
"line": 69095
|
|
54
54
|
},
|
|
55
55
|
"DefaultObservabilityInstance": {
|
|
56
56
|
"types": "dist/instances/default.d.ts",
|
|
57
57
|
"implementation": "dist/index.js",
|
|
58
|
-
"line":
|
|
58
|
+
"line": 75018
|
|
59
59
|
},
|
|
60
60
|
"DefaultSpan": {
|
|
61
61
|
"types": "dist/spans/default.d.ts",
|
|
62
62
|
"implementation": "dist/index.js",
|
|
63
|
-
"line":
|
|
63
|
+
"line": 68047
|
|
64
64
|
},
|
|
65
65
|
"JsonExporter": {
|
|
66
66
|
"types": "dist/exporters/test.d.ts",
|
|
67
67
|
"implementation": "dist/index.js",
|
|
68
|
-
"line":
|
|
68
|
+
"line": 75016
|
|
69
69
|
},
|
|
70
70
|
"LoggerContextImpl": {
|
|
71
71
|
"types": "dist/context/logger.d.ts",
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
"MastraPlatformExporter": {
|
|
76
76
|
"types": "dist/exporters/mastra-platform.d.ts",
|
|
77
77
|
"implementation": "dist/index.js",
|
|
78
|
-
"line":
|
|
78
|
+
"line": 73415
|
|
79
79
|
},
|
|
80
80
|
"MastraStorageExporter": {
|
|
81
81
|
"types": "dist/exporters/mastra-storage.d.ts",
|
|
82
82
|
"implementation": "dist/index.js",
|
|
83
|
-
"line":
|
|
83
|
+
"line": 69660
|
|
84
84
|
},
|
|
85
85
|
"MetricsContextImpl": {
|
|
86
86
|
"types": "dist/context/metrics.d.ts",
|
|
@@ -90,22 +90,22 @@
|
|
|
90
90
|
"ModelSpanTracker": {
|
|
91
91
|
"types": "dist/model-tracing.d.ts",
|
|
92
92
|
"implementation": "dist/index.js",
|
|
93
|
-
"line":
|
|
93
|
+
"line": 66485
|
|
94
94
|
},
|
|
95
95
|
"NoOpSpan": {
|
|
96
96
|
"types": "dist/spans/no-op.d.ts",
|
|
97
97
|
"implementation": "dist/index.js",
|
|
98
|
-
"line":
|
|
98
|
+
"line": 68223
|
|
99
99
|
},
|
|
100
100
|
"OBSERVABILITY_CAPABILITIES_HEADER": {
|
|
101
101
|
"types": "dist/exporters/mastra-platform.d.ts",
|
|
102
102
|
"implementation": "dist/index.js",
|
|
103
|
-
"line":
|
|
103
|
+
"line": 73316
|
|
104
104
|
},
|
|
105
105
|
"Observability": {
|
|
106
106
|
"types": "dist/default.d.ts",
|
|
107
107
|
"implementation": "dist/index.js",
|
|
108
|
-
"line":
|
|
108
|
+
"line": 75354
|
|
109
109
|
},
|
|
110
110
|
"ObservabilityBus": {
|
|
111
111
|
"types": "dist/bus/observability-bus.d.ts",
|
|
@@ -115,12 +115,12 @@
|
|
|
115
115
|
"QUOTA_PAUSE_CAPABILITY": {
|
|
116
116
|
"types": "dist/exporters/mastra-platform.d.ts",
|
|
117
117
|
"implementation": "dist/index.js",
|
|
118
|
-
"line":
|
|
118
|
+
"line": 73317
|
|
119
119
|
},
|
|
120
120
|
"REDACTED_ERROR_MESSAGE": {
|
|
121
121
|
"types": "dist/spans/base.d.ts",
|
|
122
122
|
"implementation": "dist/index.js",
|
|
123
|
-
"line":
|
|
123
|
+
"line": 67400
|
|
124
124
|
},
|
|
125
125
|
"SamplingStrategyType": {
|
|
126
126
|
"types": "dist/config.d.ts",
|
|
@@ -130,57 +130,57 @@
|
|
|
130
130
|
"SensitiveDataFilter": {
|
|
131
131
|
"types": "dist/span_processors/sensitive-data-filter.d.ts",
|
|
132
132
|
"implementation": "dist/index.js",
|
|
133
|
-
"line":
|
|
133
|
+
"line": 75141
|
|
134
134
|
},
|
|
135
135
|
"TestExporter": {
|
|
136
136
|
"types": "dist/exporters/test.d.ts",
|
|
137
137
|
"implementation": "dist/index.js",
|
|
138
|
-
"line":
|
|
138
|
+
"line": 74026
|
|
139
139
|
},
|
|
140
140
|
"TraceData": {
|
|
141
141
|
"types": "dist/exporters/tracking.d.ts",
|
|
142
142
|
"implementation": "dist/index.js",
|
|
143
|
-
"line":
|
|
143
|
+
"line": 71481
|
|
144
144
|
},
|
|
145
145
|
"TrackingExporter": {
|
|
146
146
|
"types": "dist/exporters/tracking.d.ts",
|
|
147
147
|
"implementation": "dist/index.js",
|
|
148
|
-
"line":
|
|
148
|
+
"line": 71810
|
|
149
149
|
},
|
|
150
150
|
"buildExportedLog": {
|
|
151
151
|
"types": "dist/client/otlp.d.ts",
|
|
152
152
|
"implementation": "dist/index.js",
|
|
153
|
-
"line":
|
|
153
|
+
"line": 71237
|
|
154
154
|
},
|
|
155
155
|
"buildExportedSpan": {
|
|
156
156
|
"types": "dist/client/otlp.d.ts",
|
|
157
157
|
"implementation": "dist/index.js",
|
|
158
|
-
"line":
|
|
158
|
+
"line": 71219
|
|
159
159
|
},
|
|
160
160
|
"buildTracingOptions": {
|
|
161
161
|
"types": "dist/tracing-options.d.ts",
|
|
162
162
|
"implementation": "dist/index.js",
|
|
163
|
-
"line":
|
|
163
|
+
"line": 75695
|
|
164
164
|
},
|
|
165
165
|
"chainFormatters": {
|
|
166
166
|
"types": "dist/exporters/span-formatters.d.ts",
|
|
167
167
|
"implementation": "dist/index.js",
|
|
168
|
-
"line":
|
|
168
|
+
"line": 72576
|
|
169
169
|
},
|
|
170
170
|
"createClientObservabilityProxy": {
|
|
171
171
|
"types": "dist/client/proxy.d.ts",
|
|
172
172
|
"implementation": "dist/index.js",
|
|
173
|
-
"line":
|
|
173
|
+
"line": 71462
|
|
174
174
|
},
|
|
175
175
|
"decodeResourceLogs": {
|
|
176
176
|
"types": "dist/client/otlp.d.ts",
|
|
177
177
|
"implementation": "dist/index.js",
|
|
178
|
-
"line":
|
|
178
|
+
"line": 71156
|
|
179
179
|
},
|
|
180
180
|
"decodeResourceSpans": {
|
|
181
181
|
"types": "dist/client/otlp.d.ts",
|
|
182
182
|
"implementation": "dist/index.js",
|
|
183
|
-
"line":
|
|
183
|
+
"line": 71118
|
|
184
184
|
},
|
|
185
185
|
"deepClean": {
|
|
186
186
|
"types": "dist/spans/serialization.d.ts",
|
|
@@ -190,17 +190,17 @@
|
|
|
190
190
|
"formatBaggage": {
|
|
191
191
|
"types": "dist/client/w3c.d.ts",
|
|
192
192
|
"implementation": "dist/index.js",
|
|
193
|
-
"line":
|
|
193
|
+
"line": 71310
|
|
194
194
|
},
|
|
195
195
|
"formatTraceparent": {
|
|
196
196
|
"types": "dist/client/w3c.d.ts",
|
|
197
197
|
"implementation": "dist/index.js",
|
|
198
|
-
"line":
|
|
198
|
+
"line": 71273
|
|
199
199
|
},
|
|
200
200
|
"getExternalParentId": {
|
|
201
201
|
"types": "dist/spans/base.d.ts",
|
|
202
202
|
"implementation": "dist/index.js",
|
|
203
|
-
"line":
|
|
203
|
+
"line": 67520
|
|
204
204
|
},
|
|
205
205
|
"isSerializedMap": {
|
|
206
206
|
"types": "dist/spans/serialization.d.ts",
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
"observabilityFeatures": {
|
|
221
221
|
"types": "dist/features.d.ts",
|
|
222
222
|
"implementation": "dist/index.js",
|
|
223
|
-
"line":
|
|
223
|
+
"line": 75676
|
|
224
224
|
},
|
|
225
225
|
"observabilityInstanceConfigSchema": {
|
|
226
226
|
"types": "dist/config.d.ts",
|
|
@@ -235,17 +235,17 @@
|
|
|
235
235
|
"otlpSeverityToLogLevel": {
|
|
236
236
|
"types": "dist/client/otlp.d.ts",
|
|
237
237
|
"implementation": "dist/index.js",
|
|
238
|
-
"line":
|
|
238
|
+
"line": 71193
|
|
239
239
|
},
|
|
240
240
|
"parseBaggage": {
|
|
241
241
|
"types": "dist/client/w3c.d.ts",
|
|
242
242
|
"implementation": "dist/index.js",
|
|
243
|
-
"line":
|
|
243
|
+
"line": 71283
|
|
244
244
|
},
|
|
245
245
|
"parseTraceparent": {
|
|
246
246
|
"types": "dist/client/w3c.d.ts",
|
|
247
247
|
"implementation": "dist/index.js",
|
|
248
|
-
"line":
|
|
248
|
+
"line": 71259
|
|
249
249
|
},
|
|
250
250
|
"reconstructSerializedMap": {
|
|
251
251
|
"types": "dist/spans/serialization.d.ts",
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
"redactErrorInfo": {
|
|
256
256
|
"types": "dist/spans/base.d.ts",
|
|
257
257
|
"implementation": "dist/index.js",
|
|
258
|
-
"line":
|
|
258
|
+
"line": 67406
|
|
259
259
|
},
|
|
260
260
|
"routeToHandler": {
|
|
261
261
|
"types": "dist/bus/route-event.d.ts",
|
|
@@ -208,7 +208,7 @@ Platform adds these fields and grouping options:
|
|
|
208
208
|
| `aggregateTraces()` | Supports `groupBy: ['projectId']` and `countDistinct.projectId`. |
|
|
209
209
|
| `aggregateSpans()` | Supports `groupBy: ['projectId']`, but not `countDistinct.projectId`. |
|
|
210
210
|
|
|
211
|
-
|
|
211
|
+
All traces are retained for six months. This retention period is subject to change for all month-to-month plans. See [pricing](https://mastra.ai/pricing) for current plan limits.
|
|
212
212
|
|
|
213
213
|
### Other observability data
|
|
214
214
|
|