Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

515 B
Raw Blame
/** helpers.ts contains small monitor-feature utilities that are intentionally
 * not re-exported from the package barrel. */

/**
 * SECOND is one second in milliseconds.
 */
const SECOND = 1000n;

/**
 * MINUTE is one minute in milliseconds.
 */
export const MINUTE = 60n * SECOND;

/**
 * HOUR is one hour in milliseconds.
 */
export const HOUR = 60n * MINUTE;

/**
 * DAY is one day in milliseconds.
 */
export const DAY = 24n * HOUR;

/**
 * WEEK is one week in milliseconds.
 */
export const WEEK = 7n * DAY;