Skip to content

Open-source status page, incident response and uptime monitoring

417 B
Raw Blame
// The Redis keyspace is flat and shared across apps — never key on bare
// user input, or one route can read or overwrite another's entries.
export const cacheKeys = {
  pageStatus: (slug: string) => `status:page:${slug}`,
  monitorDailyStats: (id: string | number) => `stats:monitor:${id}:daily`,
  cliInvocation: (workspaceId: number, invocation: string) =>
    `cli:invocation:${workspaceId}:${invocation}`,
};