Skip to content

Commit c5c3d14

Browse files
committed
improve calculations
1 parent 985a11a commit c5c3d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mcp-common/src/types/workers-logs-schemas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ export const zQueryRunRequest = z.object({
332332
needle: zSearchNeedle.optional(),
333333
}),
334334
timeframe: zTimeframe,
335-
granularity: z.number().optional(),
335+
granularity: z.number().optional().describe("This is only used when the view is calculations - by leaving it empty workers observability will detect the correct granularity"),
336336
limit: z
337337
.number()
338338
.max(100)

0 commit comments

Comments
 (0)