@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
35 lines • 1.58 kB
JavaScript
// ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// ========= Copyright 2026 @ Strukto.AI All Rights Reserved. =========
import { timeoutShape } from "../../core/api/config.js";
import { z } from "../secrets.js";
export const JaegerConfig = z.object({
host: z.string().optional().meta({
description: 'Jaeger query service URL.',
default: 'http://localhost:16686',
}),
defaultTraceLimit: z.number().optional().meta({
description: "The most traces one service's `traces/` listing shows, newest first. An older trace is still readable by its id.",
default: 100,
}),
defaultFromTimestamp: z
.string()
.optional()
.describe('Lower bound of trace listings, an ISO 8601 timestamp. Unset searches from the beginning.'),
defaultToTimestamp: z
.string()
.optional()
.describe('Upper bound of trace listings, an ISO 8601 timestamp. Unset means now.'),
...timeoutShape,
});
//# sourceMappingURL=config.js.map