@mastra/server 1.72.0-alpha.8 → 1.72.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/{api-schema-manifest-gLtuKcZT.cjs → api-schema-manifest-CaZU5zVt.cjs} +2 -2
- package/dist/{api-schema-manifest-gLtuKcZT.cjs.map → api-schema-manifest-CaZU5zVt.cjs.map} +1 -1
- package/dist/{api-schema-manifest-B2qMxAnr.js → api-schema-manifest-wF1O8MCU.js} +2 -2
- package/dist/{api-schema-manifest-B2qMxAnr.js.map → api-schema-manifest-wF1O8MCU.js.map} +1 -1
- package/dist/{dist-DyAime2A.cjs → dist-CRMvLG_8.cjs} +2 -2
- package/dist/{dist-DyAime2A.cjs.map → dist-CRMvLG_8.cjs.map} +1 -1
- package/dist/{dist-CsIuYmye.js → dist-CYk5xS3y.js} +2 -2
- package/dist/{dist-CsIuYmye.js.map → dist-CYk5xS3y.js.map} +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/reference-observability-tracing-trace-query.md +37 -16
- package/dist/{observability-new-endpoints-Ct0CSLE4.cjs → observability-new-endpoints-7Zd6uEZf.cjs} +111 -3
- package/dist/observability-new-endpoints-7Zd6uEZf.cjs.map +1 -0
- package/dist/{observability-new-endpoints-DqS6dcR5.js → observability-new-endpoints-lNC3o66-.js} +107 -5
- package/dist/observability-new-endpoints-lNC3o66-.js.map +1 -0
- package/dist/{routes-CNwYNwrs.js → routes-B6soWZap.js} +3 -2
- package/dist/routes-B6soWZap.js.map +1 -0
- package/dist/{routes-DEdytSu5.cjs → routes-x4As7pym.cjs} +3 -2
- package/dist/routes-x4As7pym.cjs.map +1 -0
- package/dist/server/handlers/agent-builder.cjs +1 -1
- package/dist/server/handlers/agent-builder.js +1 -1
- package/dist/server/handlers/observability-new-endpoints.cjs +2 -1
- package/dist/server/handlers/observability-new-endpoints.d.ts +100 -0
- package/dist/server/handlers/observability-new-endpoints.d.ts.map +1 -1
- package/dist/server/handlers/observability-new-endpoints.js +2 -2
- package/dist/server/handlers/observability-shared.cjs +46 -0
- package/dist/server/handlers/observability-shared.cjs.map +1 -1
- package/dist/server/handlers/observability-shared.d.ts +13 -0
- package/dist/server/handlers/observability-shared.d.ts.map +1 -1
- package/dist/server/handlers/observability-shared.js +42 -1
- package/dist/server/handlers/observability-shared.js.map +1 -1
- package/dist/server/handlers/observability.cjs +3 -1
- package/dist/server/handlers/observability.cjs.map +1 -1
- package/dist/server/handlers/observability.js +3 -2
- package/dist/server/handlers/observability.js.map +1 -1
- package/dist/server/handlers/system.cjs +2 -2
- package/dist/server/handlers/system.d.ts +2 -0
- package/dist/server/handlers/system.d.ts.map +1 -1
- package/dist/server/handlers/system.js +2 -2
- package/dist/server/schemas/index.cjs +1 -1
- package/dist/server/schemas/index.js +1 -1
- package/dist/server/schemas/system.d.ts +2 -0
- package/dist/server/schemas/system.d.ts.map +1 -1
- package/dist/server/server-adapter/index.cjs +1 -1
- package/dist/server/server-adapter/index.js +1 -1
- package/dist/server/server-adapter/routes/observability.d.ts +97 -0
- package/dist/server/server-adapter/routes/observability.d.ts.map +1 -1
- package/dist/server/server-adapter/routes/system.d.ts +2 -0
- package/dist/server/server-adapter/routes/system.d.ts.map +1 -1
- package/dist/{system-BE5tDMHq.js → system-6qFm79mm.js} +2 -1
- package/dist/system-6qFm79mm.js.map +1 -0
- package/dist/{system-BlGYb2fu.cjs → system-CskEzH1o.cjs} +2 -1
- package/dist/system-CskEzH1o.cjs.map +1 -0
- package/package.json +9 -9
- package/dist/observability-new-endpoints-Ct0CSLE4.cjs.map +0 -1
- package/dist/observability-new-endpoints-DqS6dcR5.js.map +0 -1
- package/dist/routes-CNwYNwrs.js.map +0 -1
- package/dist/routes-DEdytSu5.cjs.map +0 -1
- package/dist/system-BE5tDMHq.js.map +0 -1
- package/dist/system-BlGYb2fu.cjs.map +0 -1
package/dist/docs/SKILL.md
CHANGED
|
@@ -283,21 +283,21 @@ Hono and Fastify enforce the request-body limit before JSON parsing. Express and
|
|
|
283
283
|
|
|
284
284
|
## Fields and operators
|
|
285
285
|
|
|
286
|
-
| Predicate context | Fields
|
|
287
|
-
| ----------------- |
|
|
288
|
-
| Trace | `traceId`, `threadId`, `resourceId`, `entityName`, `entityType`, `environment`, `status` | `eq`, `ne`, `in`, `notIn`, `exists`, `notExists` |
|
|
289
|
-
| Trace metadata | `metadata.<key>`
|
|
290
|
-
| Trace | `startedAt`, `endedAt`, `durationMs`
|
|
291
|
-
| Trace | `tags`
|
|
292
|
-
| Span | `name`, `spanType`, `model`, `provider`, `status`, `entityType`, `entityId`, `entityName`, `entityVersionId`, `parentEntityVersionId`, `rootEntityVersionId` | `eq`, `ne`, `in`, `notIn`, `exists`, `notExists` |
|
|
293
|
-
| Span | `startedAt`, `endedAt`, `durationMs`
|
|
294
|
-
| Span | `error`
|
|
295
|
-
| Score | `scorerId`, `scorerVersion`, `scoreSource`, `entityVersionId`, `parentEntityVersionId`, `rootEntityVersionId`
|
|
296
|
-
| Score | `score`, `timestamp`
|
|
297
|
-
| Score | `spanId`
|
|
298
|
-
| Feedback | `feedbackType`, `feedbackSource`, `feedbackUserId`, `sourceId`, `entityVersionId`, `parentEntityVersionId`, `rootEntityVersionId`
|
|
299
|
-
| Feedback | `value`, `timestamp`
|
|
300
|
-
| Feedback | `comment`
|
|
286
|
+
| Predicate context | Fields | Operators |
|
|
287
|
+
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
|
|
288
|
+
| Trace | `traceId`, `threadId`, `resourceId`, `runId`, `sessionId`, `userId`, `organizationId`, `entityName`, `entityType`, `environment`, `status` | `eq`, `ne`, `in`, `notIn`, `exists`, `notExists` |
|
|
289
|
+
| Trace metadata | `metadata.<key>` | `eq`, `ne`, `in`, `notIn`, `exists`, `notExists` |
|
|
290
|
+
| Trace | `startedAt`, `endedAt`, `durationMs` | `eq`, `ne`, `in`, `notIn`, `lt`, `lte`, `gt`, `gte`, `exists`, `notExists` |
|
|
291
|
+
| Trace | `tags` | `includes`, `notIncludes`, `exists`, `notExists` |
|
|
292
|
+
| Span | `name`, `spanType`, `model`, `provider`, `status`, `entityType`, `entityId`, `entityName`, `entityVersionId`, `parentEntityVersionId`, `rootEntityVersionId`, `runId`, `sessionId`, `userId`, `organizationId` | `eq`, `ne`, `in`, `notIn`, `exists`, `notExists` |
|
|
293
|
+
| Span | `startedAt`, `endedAt`, `durationMs` | `eq`, `ne`, `in`, `notIn`, `lt`, `lte`, `gt`, `gte`, `exists`, `notExists` |
|
|
294
|
+
| Span | `error` | `exists`, `notExists` |
|
|
295
|
+
| Score | `scorerId`, `scorerVersion`, `scoreSource`, `entityVersionId`, `parentEntityVersionId`, `rootEntityVersionId` | `eq`, `ne`, `in`, `notIn`, `exists`, `notExists` |
|
|
296
|
+
| Score | `score`, `timestamp` | `eq`, `ne`, `in`, `notIn`, `lt`, `lte`, `gt`, `gte`, `exists`, `notExists` |
|
|
297
|
+
| Score | `spanId` | `exists`, `notExists` |
|
|
298
|
+
| Feedback | `feedbackType`, `feedbackSource`, `feedbackUserId`, `sourceId`, `entityVersionId`, `parentEntityVersionId`, `rootEntityVersionId` | `eq`, `ne`, `in`, `notIn`, `exists`, `notExists` |
|
|
299
|
+
| Feedback | `value`, `timestamp` | `eq`, `ne`, `in`, `notIn`, `lt`, `lte`, `gt`, `gte`, `exists`, `notExists` |
|
|
300
|
+
| Feedback | `comment` | `exists`, `notExists` |
|
|
301
301
|
|
|
302
302
|
Compose predicates with `{ op: 'and', args: [...] }`, `{ op: 'or', args: [...] }`, and `{ op: 'not', arg: ... }`. Comparison predicates place a field reference on the left and a literal on the right. Membership predicates use a field reference in `value` and a homogeneous literal array in `set`. Tag predicates name the stored tag collection in `path`. `includes` and `notIncludes` also take one tag in `value`, while `exists` and `notExists` take only `op` and `path`. See [Filter by tags](#filter-by-tags).
|
|
303
303
|
|
|
@@ -319,6 +319,27 @@ This top-level predicate doesn't inspect child spans. In contrast, `spans.some`
|
|
|
319
319
|
|
|
320
320
|
Trace queries exclude incomplete roots before evaluating predicates. As a result, `{ op: 'notExists', path: 'durationMs' }` doesn't find running traces or malformed roots without a usable `endedAt`.
|
|
321
321
|
|
|
322
|
+
### Filter by context identifiers
|
|
323
|
+
|
|
324
|
+
`runId`, `sessionId`, `userId`, and `organizationId` are available at trace scope and inside `spans.some` / `spans.none`. Trace-scope predicates read the current root span. Span-scope predicates bind to one related current span, so a run recorded only on a child span is found through `spans.some`:
|
|
325
|
+
|
|
326
|
+
```typescript
|
|
327
|
+
const sessionTracesWithRun = {
|
|
328
|
+
op: 'and',
|
|
329
|
+
args: [
|
|
330
|
+
{ op: 'eq', left: { path: 'organizationId' }, right: { literal: 'org-123' } },
|
|
331
|
+
{ op: 'eq', left: { path: 'sessionId' }, right: { literal: 'session-123' } },
|
|
332
|
+
{
|
|
333
|
+
spans: {
|
|
334
|
+
some: { op: 'eq', left: { path: 'runId' }, right: { literal: 'run-42' } },
|
|
335
|
+
},
|
|
336
|
+
},
|
|
337
|
+
],
|
|
338
|
+
}
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
These identifiers support `eq`, `ne`, `in`, `notIn`, `exists`, and `notExists`. Field discovery lists them, but value discovery doesn't return their recorded values. Stores advertise support through the `trace-query-context-ids` feature. A predicate on one of these fields against an older store returns `501` before storage runs, and field discovery omits them for that store.
|
|
342
|
+
|
|
322
343
|
### Filter by span properties
|
|
323
344
|
|
|
324
345
|
Every condition inside one `spans.some` or `spans.none` clause applies to the same current span. For example, this predicate finds a failed tool span whose name is `medication_lookup`; a matching name on one span and an error on another don't satisfy it:
|
|
@@ -679,7 +700,7 @@ const plan = planTraceQuery(parseTraceQueryRequest(request), {
|
|
|
679
700
|
})
|
|
680
701
|
```
|
|
681
702
|
|
|
682
|
-
`resourceId` is optional and narrows within the organization. Keyset and delta cursors are bound to the scope
|
|
703
|
+
`resourceId` is optional and narrows within the organization. Keyset and delta cursors are bound to the scope. A cursor created under one scope and reused under another returns `409` before storage runs. A scoped request against an observability store or `@mastra/core` that predates tenant scope returns `501` instead of running unscoped. Stores advertise support through the `trace-query-tenant-scope` feature. Callers can't name `projectId` in predicates. An `organizationId` predicate compares recorded data and is ANDed with the scope, so it can only narrow the tenant's own traces and never widens it. Without a scope the routes behave as before, so self-hosted installations keep their own tenant model.
|
|
683
704
|
|
|
684
705
|
Cursor pagination is deterministic, but it isn't a database snapshot. Traces or replacement signals written between page requests can change later pages.
|
|
685
706
|
|
package/dist/{observability-new-endpoints-Ct0CSLE4.cjs → observability-new-endpoints-7Zd6uEZf.cjs}
RENAMED
|
@@ -5,7 +5,7 @@ const require_constants = require("./constants-4IJp_uzj.cjs");
|
|
|
5
5
|
const require_server_handlers_error = require("./server/handlers/error.cjs");
|
|
6
6
|
const require_server_handlers_observability_list_query_schemas = require("./server/handlers/observability-list-query-schemas.cjs");
|
|
7
7
|
const require_server_handlers_observability_shared = require("./server/handlers/observability-shared.cjs");
|
|
8
|
-
const require_system = require("./system-
|
|
8
|
+
const require_system = require("./system-CskEzH1o.cjs");
|
|
9
9
|
const require_server_handlers_author_enrichment = require("./server/handlers/author-enrichment.cjs");
|
|
10
10
|
const require_server_handlers_authorship = require("./server/handlers/authorship.cjs");
|
|
11
11
|
let zod_v4 = require("zod/v4");
|
|
@@ -1028,6 +1028,7 @@ const QUERY_TRACES = createNewRoute(require_server_handlers_observability_shared
|
|
|
1028
1028
|
observabilityStore = await require_server_handlers_observability_shared.getObservabilityStore(mastra);
|
|
1029
1029
|
require_server_handlers_observability_shared.assertObservabilityTraceQuerySupported(observabilityStore);
|
|
1030
1030
|
require_server_handlers_observability_shared.assertObservabilityTraceQueryRootDurationSupported(observabilityStore, plan.where);
|
|
1031
|
+
require_server_handlers_observability_shared.assertObservabilityTraceQueryContextIdsSupported(observabilityStore, plan.where);
|
|
1031
1032
|
require_server_handlers_observability_shared.assertObservabilityTraceQueryTenantScopeSupported(observabilityStore, plan.scope);
|
|
1032
1033
|
if (plan.paginationMode === "delta" && !observabilityStore.getFeatures()?.includes("delta-polling")) throw new require_http_exception.HTTPException(501, { message: "This storage provider does not support observability delta polling" });
|
|
1033
1034
|
} catch (error) {
|
|
@@ -1078,6 +1079,105 @@ if (QUERY_TRACES.openapi) {
|
|
|
1078
1079
|
content: { "application/json": { schema: traceQueryTimeoutErrorSchema } }
|
|
1079
1080
|
};
|
|
1080
1081
|
}
|
|
1082
|
+
const traceAggregateUnsupportedErrorSchema = zod_v4.z.object({
|
|
1083
|
+
code: zod_v4.z.literal("TRACE_AGGREGATE_UNSUPPORTED"),
|
|
1084
|
+
message: zod_v4.z.string()
|
|
1085
|
+
}).strict();
|
|
1086
|
+
/** Never echoes caller input: only the predicate-complexity issue keeps its own fixed message. */
|
|
1087
|
+
const traceAggregateValidationError = (error) => ({
|
|
1088
|
+
status: 422,
|
|
1089
|
+
body: {
|
|
1090
|
+
code: "TRACE_QUERY_INVALID",
|
|
1091
|
+
message: "The trace aggregate query is invalid",
|
|
1092
|
+
issues: error.issues.map((issue) => {
|
|
1093
|
+
const predicateTooComplex = issue.code === "custom" && issue.message === _mastra_core_storage.TRACE_QUERY_PREDICATE_COMPLEXITY_MESSAGE;
|
|
1094
|
+
return {
|
|
1095
|
+
code: predicateTooComplex ? "predicate_too_complex" : "invalid_request",
|
|
1096
|
+
path: issue.path.map((part) => typeof part === "symbol" ? String(part) : part),
|
|
1097
|
+
message: predicateTooComplex ? _mastra_core_storage.TRACE_QUERY_PREDICATE_COMPLEXITY_MESSAGE : "The value does not match the trace-aggregate request contract"
|
|
1098
|
+
};
|
|
1099
|
+
})
|
|
1100
|
+
}
|
|
1101
|
+
});
|
|
1102
|
+
const AGGREGATE_TRACES = createNewRoute(require_server_handlers_observability_shared.NEW_ROUTE_DEFS.AGGREGATE_TRACES, {
|
|
1103
|
+
bodySchema: _mastra_core_storage.traceAggregateRequestSchema,
|
|
1104
|
+
responseSchema: _mastra_core_storage.traceAggregateResponseSchema,
|
|
1105
|
+
onValidationError: traceAggregateValidationError,
|
|
1106
|
+
maxBodySize: 256 * 1024,
|
|
1107
|
+
preserveHttpExceptions: true,
|
|
1108
|
+
isCoreSupported: require_server_handlers_observability_shared.supportsTraceAggregateCore,
|
|
1109
|
+
onUnsupportedCore: () => throwTraceQueryError(501, {
|
|
1110
|
+
code: "TRACE_AGGREGATE_UNSUPPORTED",
|
|
1111
|
+
message: "Trace aggregation requires a newer @mastra/core. Please upgrade."
|
|
1112
|
+
}),
|
|
1113
|
+
handler: async ({ mastra, requestContext, timeRange, where, groupBy, interval, measures, having, orderBy, limit }) => {
|
|
1114
|
+
let plan;
|
|
1115
|
+
try {
|
|
1116
|
+
plan = _mastra_core_storage.planTraceAggregate({
|
|
1117
|
+
timeRange,
|
|
1118
|
+
where,
|
|
1119
|
+
groupBy,
|
|
1120
|
+
interval,
|
|
1121
|
+
measures,
|
|
1122
|
+
having,
|
|
1123
|
+
orderBy,
|
|
1124
|
+
limit
|
|
1125
|
+
}, { scope: resolveTraceQueryScope(requestContext, "TRACE_AGGREGATE_UNSUPPORTED") });
|
|
1126
|
+
} catch (error) {
|
|
1127
|
+
if (error instanceof _mastra_core_storage.TraceQueryValidationError) throwTraceQueryError(422, {
|
|
1128
|
+
code: error.code,
|
|
1129
|
+
message: error.message,
|
|
1130
|
+
issues: error.issues
|
|
1131
|
+
});
|
|
1132
|
+
throw error;
|
|
1133
|
+
}
|
|
1134
|
+
let observabilityStore;
|
|
1135
|
+
try {
|
|
1136
|
+
observabilityStore = await require_server_handlers_observability_shared.getObservabilityStore(mastra);
|
|
1137
|
+
require_server_handlers_observability_shared.assertObservabilityTraceAggregateSupported(observabilityStore);
|
|
1138
|
+
require_server_handlers_observability_shared.assertObservabilityTraceQueryRootDurationSupported(observabilityStore, plan.where);
|
|
1139
|
+
require_server_handlers_observability_shared.assertObservabilityTraceQueryContextIdsSupported(observabilityStore, plan.where);
|
|
1140
|
+
require_server_handlers_observability_shared.assertObservabilityTraceQueryTenantScopeSupported(observabilityStore, plan.scope);
|
|
1141
|
+
} catch (error) {
|
|
1142
|
+
if (error instanceof require_http_exception.HTTPException && error.status === 501) throwTraceQueryError(501, {
|
|
1143
|
+
code: "TRACE_AGGREGATE_UNSUPPORTED",
|
|
1144
|
+
message: error.message
|
|
1145
|
+
});
|
|
1146
|
+
throw error;
|
|
1147
|
+
}
|
|
1148
|
+
try {
|
|
1149
|
+
return await observabilityStore.aggregateTraces(plan);
|
|
1150
|
+
} catch (error) {
|
|
1151
|
+
if (error instanceof _mastra_core_storage.TraceQueryExecutionError) throwTraceQueryError(504, {
|
|
1152
|
+
code: error.code,
|
|
1153
|
+
message: error.message
|
|
1154
|
+
});
|
|
1155
|
+
throw error;
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
});
|
|
1159
|
+
if (AGGREGATE_TRACES.openapi) {
|
|
1160
|
+
AGGREGATE_TRACES.openapi.responses[400] = {
|
|
1161
|
+
description: "Malformed JSON",
|
|
1162
|
+
content: { "application/json": { schema: traceQueryMalformedBodyErrorSchema } }
|
|
1163
|
+
};
|
|
1164
|
+
AGGREGATE_TRACES.openapi.responses[413] = {
|
|
1165
|
+
description: "Request body exceeds 256 KiB",
|
|
1166
|
+
content: { "application/json": { schema: traceQueryBodyTooLargeErrorSchema } }
|
|
1167
|
+
};
|
|
1168
|
+
AGGREGATE_TRACES.openapi.responses[422] = {
|
|
1169
|
+
description: "Structurally or semantically invalid trace aggregate query",
|
|
1170
|
+
content: { "application/json": { schema: traceQueryValidationResponseSchema } }
|
|
1171
|
+
};
|
|
1172
|
+
AGGREGATE_TRACES.openapi.responses[501] = {
|
|
1173
|
+
description: "The configured observability store does not support trace aggregation",
|
|
1174
|
+
content: { "application/json": { schema: traceAggregateUnsupportedErrorSchema } }
|
|
1175
|
+
};
|
|
1176
|
+
AGGREGATE_TRACES.openapi.responses[504] = {
|
|
1177
|
+
description: "Trace aggregate query exceeded the configured database execution timeout",
|
|
1178
|
+
content: { "application/json": { schema: traceQueryTimeoutErrorSchema } }
|
|
1179
|
+
};
|
|
1180
|
+
}
|
|
1081
1181
|
const GET_TRACE_QUERY_FIELDS = createNewRoute(require_server_handlers_observability_shared.NEW_ROUTE_DEFS.GET_TRACE_QUERY_FIELDS, {
|
|
1082
1182
|
bodySchema: _mastra_core_storage.getTraceQueryFieldsArgsSchema,
|
|
1083
1183
|
responseSchema: _mastra_core_storage.getTraceQueryFieldsResponseSchema,
|
|
@@ -1109,7 +1209,7 @@ const GET_TRACE_QUERY_FIELDS = createNewRoute(require_server_handlers_observabil
|
|
|
1109
1209
|
try {
|
|
1110
1210
|
const observed = await observabilityStore.getTraceQueryObservedFields(plan);
|
|
1111
1211
|
return {
|
|
1112
|
-
canonicalFields: _mastra_core_storage.getTraceQueryCanonicalFieldDescriptors(predicateScope, search).filter((field) => predicateScope !== "trace" || field.path !== "durationMs" || require_server_handlers_observability_shared.supportsObservabilityTraceQueryRootDuration(observabilityStore)),
|
|
1212
|
+
canonicalFields: _mastra_core_storage.getTraceQueryCanonicalFieldDescriptors(predicateScope, search).filter((field) => predicateScope !== "trace" || field.path !== "durationMs" || require_server_handlers_observability_shared.supportsObservabilityTraceQueryRootDuration(observabilityStore)).filter((field) => !require_server_handlers_observability_shared.isTraceQueryContextIdField(field.path) || require_server_handlers_observability_shared.supportsObservabilityTraceQueryContextIds(observabilityStore)),
|
|
1113
1213
|
...observed
|
|
1114
1214
|
};
|
|
1115
1215
|
} catch (error) {
|
|
@@ -1226,7 +1326,9 @@ const QUERY_THREADS = createNewRoute(require_server_handlers_observability_share
|
|
|
1226
1326
|
observabilityStore = await require_server_handlers_observability_shared.getObservabilityStore(mastra);
|
|
1227
1327
|
require_server_handlers_observability_shared.assertObservabilityThreadQuerySupported(observabilityStore);
|
|
1228
1328
|
require_server_handlers_observability_shared.assertObservabilityTraceQueryRootDurationSupported(observabilityStore, plan.traces.where);
|
|
1329
|
+
require_server_handlers_observability_shared.assertObservabilityTraceQueryContextIdsSupported(observabilityStore, plan.traces.where);
|
|
1229
1330
|
require_server_handlers_observability_shared.assertObservabilityTraceQueryRootDurationSupported(observabilityStore, plan.where);
|
|
1331
|
+
require_server_handlers_observability_shared.assertObservabilityTraceQueryContextIdsSupported(observabilityStore, plan.where);
|
|
1230
1332
|
require_server_handlers_observability_shared.assertObservabilityTraceQueryTenantScopeSupported(observabilityStore, plan.scope);
|
|
1231
1333
|
} catch (error) {
|
|
1232
1334
|
if (error instanceof require_http_exception.HTTPException && error.status === 501) throwTraceQueryError(501, {
|
|
@@ -1686,6 +1788,12 @@ const NEW_ROUTES = {
|
|
|
1686
1788
|
GET_CAPABILITIES
|
|
1687
1789
|
};
|
|
1688
1790
|
//#endregion
|
|
1791
|
+
Object.defineProperty(exports, "AGGREGATE_TRACES", {
|
|
1792
|
+
enumerable: true,
|
|
1793
|
+
get: function() {
|
|
1794
|
+
return AGGREGATE_TRACES;
|
|
1795
|
+
}
|
|
1796
|
+
});
|
|
1689
1797
|
Object.defineProperty(exports, "CREATE_FEEDBACK", {
|
|
1690
1798
|
enumerable: true,
|
|
1691
1799
|
get: function() {
|
|
@@ -1903,4 +2011,4 @@ Object.defineProperty(exports, "UPDATE_FEEDBACK_REVIEW_STATUS", {
|
|
|
1903
2011
|
}
|
|
1904
2012
|
});
|
|
1905
2013
|
|
|
1906
|
-
//# sourceMappingURL=observability-new-endpoints-
|
|
2014
|
+
//# sourceMappingURL=observability-new-endpoints-7Zd6uEZf.cjs.map
|