MCPcopy Create free account

hub / github.com/VrianCao/Uptimer / functions

Functions1,365 in github.com/VrianCao/Uptimer

↓ 2 callersFunctionprocessSegment
(segStart: number, segEnd: number)
apps/worker/src/routes/public.ts:260
↓ 2 callersFunctionprocessSegment
(segStart: number, segEnd: number)
apps/worker/src/analytics/uptime.ts:122
↓ 2 callersFunctionpublishRawHomepageArtifactSnapshot
(opts: { env: Env; generatedAt: number; bodyJson: string; now: number; })
apps/worker/src/internal/sharded-public-snapshot-core.ts:302
↓ 2 callersFunctionqueueContinuation
( env: Env, ctx: ExecutionContext, nextStep: ShardedPublicSnapshotContinuationStep | null, )
apps/worker/src/internal/sharded-public-snapshot-continuation.ts:248
↓ 2 callersFunctionqueueContinuations
( env: Env, ctx: ExecutionContext, nextSteps: readonly ShardedPublicSnapshotContinuationStep[], )
apps/worker/src/internal/sharded-public-snapshot-continuation.ts:256
↓ 2 callersFunctionqueueIdleWork
()
apps/worker/src/scheduler/scheduled.ts:1883
↓ 2 callersFunctionqueueShardedPublicSnapshotWork
()
apps/worker/src/scheduler/scheduled.ts:1797
↓ 2 callersFunctionrangeToSeconds
( range: z.infer<typeof uptimeRangeSchema> | z.infer<typeof latencyRangeSchema>, )
apps/worker/src/routes/public.ts:304
↓ 2 callersFunctionrawPublicSnapshotUpsertStatement
( db: D1Database, key: PublicSnapshotPublishKey, generatedAt: number, bodyJson: string, updatedAt: n
apps/worker/src/internal/sharded-public-snapshot-core.ts:218
↓ 2 callersFunctionreadBoundedMonitorLimit
(env: Env, requested?: number)
apps/worker/src/internal/sharded-public-snapshot-continuation.ts:70
↓ 2 callersFunctionreadCachedNormalizedSnapshotRowByVersion
( cacheByDb: WeakMap<D1Database, Map<SnapshotKey, NormalizedSnapshotRow>>, db: D1Database, candidate: Sn
apps/worker/src/snapshots/public-homepage-read.ts:378
↓ 2 callersFunctionreadCachedNormalizedSnapshotRowGlobalByVersion
( cache: ReadonlyMap<SnapshotKey, RawNormalizedSnapshotRow>, candidate: SnapshotCandidate, )
apps/worker/src/snapshots/public-homepage-read.ts:453
↓ 2 callersFunctionreadCachedRuntimeTotalsSnapshot
( db: D1Database, generatedAt: number, updatedAt: number, rawBodyJson: string, )
apps/worker/src/public/monitor-runtime.ts:673
↓ 2 callersFunctionreadCachedRuntimeTotalsSnapshotGlobal
( generatedAt: number, updatedAt: number, rawBodyJson: string, )
apps/worker/src/public/monitor-runtime.ts:739
↓ 2 callersFunctionreadHomepageArtifactJsonViaCandidates
( db: D1Database, now: number, maxAgeSeconds: number, )
apps/worker/src/snapshots/public-homepage-read.ts:845
↓ 2 callersFunctionreadHomepageArtifactSnapshotGeneratedAt
( db: D1Database, )
apps/worker/src/snapshots/public-homepage.ts:977
↓ 2 callersFunctionreadHomepageArtifactSnapshotRow
(db: D1Database)
apps/worker/src/snapshots/public-homepage.ts:692
↓ 2 callersFunctionreadHomepageSnapshotArtifact
( db: D1Database, now: number, )
apps/worker/src/snapshots/public-homepage.ts:884
↓ 2 callersFunctionreadHomepageSnapshotBodyJsonFromFragments
( db: D1Database, )
apps/worker/src/snapshots/public-monitor-fragments.ts:620
↓ 2 callersFunctionreadHomepageSnapshotFragments
(db: D1Database)
apps/worker/src/snapshots/public-monitor-fragments.ts:642
↓ 2 callersFunctionreadMonitorRuntimeUpdateFragmentsPage
( db: D1Database, opts: MonitorRuntimeUpdateFragmentReadOptions & { offset: number; limit: number }, )
apps/worker/src/snapshots/public-monitor-fragments.ts:678
↓ 2 callersFunctionreadRawPublicSnapshotGeneratedAt
( env: Env, key: PublicSnapshotPublishKey, )
apps/worker/src/internal/sharded-public-snapshot-core.ts:260
↓ 2 callersFunctionreadRefreshSnapshotRows
( db: D1Database, )
apps/worker/src/snapshots/public-homepage-read.ts:529
↓ 2 callersFunctionreadRuntimeFragmentTimeWindow
(opts: { env: Env; now: number })
apps/worker/src/internal/runtime-fragments-refresh-core.ts:84
↓ 2 callersFunctionreadRuntimeUpdateCurrentStatus
( update: MonitorRuntimeUpdate, )
apps/worker/src/internal/homepage-refresh-core.ts:87
↓ 2 callersFunctionreadSnapshotBodyJsonFromFragments
( db: D1Database, envelopeSnapshotKey: string, monitorSnapshotKey: string, parseEnvelope: ( rows:
apps/worker/src/snapshots/public-monitor-fragments.ts:585
↓ 2 callersFunctionreadSnapshotEntryMap
( snapshot: PublicMonitorRuntimeSnapshot, )
apps/worker/src/public/monitor-runtime.ts:787
↓ 2 callersFunctionreadSnapshotMonitorIds
( snapshot: PublicMonitorRuntimeSnapshot, )
apps/worker/src/public/monitor-runtime.ts:771
↓ 2 callersFunctionreadSnapshotRow
( db: D1Database, key: string, )
apps/worker/src/snapshots/public-homepage.ts:668
↓ 2 callersFunctionreadStaleHomepageSnapshotArtifact
( db: D1Database, now: number, )
apps/worker/src/snapshots/public-homepage.ts:921
↓ 2 callersFunctionreadStaleStatusSnapshot
( db: D1Database, now: number, maxStaleSeconds: number, )
apps/worker/src/routes/public.ts:92
↓ 2 callersFunctionreadStatusSnapshotBodyJsonFromFragments
( db: D1Database, )
apps/worker/src/snapshots/public-monitor-fragments.ts:631
↓ 2 callersFunctionreadStatusSnapshotFragments
(db: D1Database)
apps/worker/src/snapshots/public-monitor-fragments.ts:656
↓ 2 callersFunctionreadStatusSnapshotJson
( db: D1Database, now: number, )
apps/worker/src/snapshots/public-status.ts:184
↓ 2 callersFunctionreadStoredHomepageSnapshotRender
(value: unknown)
apps/worker/src/snapshots/public-homepage.ts:629
↓ 2 callersFunctionreadStoredMonitorRuntimeSnapshot
( db: D1Database, )
apps/worker/src/public/monitor-runtime.ts:835
↓ 2 callersFunctionrefreshMonitorRuntimeSnapshotFromUpdateFragments
(opts: { env: Env; now: number; trace?: Trace | null; })
apps/worker/src/internal/runtime-fragments-refresh-core.ts:103
↓ 2 callersFunctionrefreshMonitorRuntimeSnapshotFromUpdates
(opts: { env: Env; now: number; updates: readonly MonitorRuntimeUpdate[]; trace?: Trace | null; })
apps/worker/src/internal/runtime-fragments-refresh-core.ts:58
↓ 2 callersFunctionrefreshPublicAnalyticsOverviewSnapshotIfNeeded
(opts: { db: D1Database; now: number; fullDayEndAt?: number; force?: boolean; })
apps/worker/src/public/analytics-overview.ts:358
↓ 2 callersFunctionrefreshPublicHomepageArtifactSnapshotIfNeeded
(opts: { db: D1Database; now: number; compute: () => Promise<unknown>; trace?: Trace; })
apps/worker/src/snapshots/public-homepage.ts:1346
↓ 2 callersFunctionrefreshPublicStatusSnapshot
(opts: { db: D1Database; now: number; compute: () => Promise<unknown>; })
apps/worker/src/snapshots/refresh.ts:6
↓ 2 callersFunctionrefreshRuntimeFragmentsViaService
(env: Env)
apps/worker/src/scheduler/scheduled.ts:312
↓ 2 callersFunctionregisterPublicUiAnalyticsRoutes
(app: Hono<{ Bindings: Env }>)
apps/worker/src/routes/public-ui-analytics.ts:322
↓ 2 callersFunctionreleaseRefreshLease
( db: D1Database, trace: Trace | undefined, spanName: string, lease: ReturnType<typeof startRenewableL
apps/worker/src/snapshots/public-homepage.ts:1033
↓ 2 callersFunctionrenderHomepageMonitorPreloadCard
( monitor: PublicHomepageResponse['monitors'][number], formatTimestamp: (tsSec: number) => string, )
apps/worker/src/snapshots/public-homepage.ts:295
↓ 2 callersFunctionrenderIncidentCard
( incident: PublicHomepageResponse['active_incidents'][number], formatTimestamp: (tsSec: number) => string
apps/worker/src/snapshots/public-homepage.ts:251
↓ 2 callersFunctionrequestAdmin
( app: ReturnType<typeof createAdminApp>, env: Env, path: string, init: { method?: string; bod
apps/worker/test/admin-notification-telegram.test.ts:85
↓ 2 callersFunctionrequestHomepage
( handlers: FakeD1QueryHandler[], waitUntil = vi.fn(), )
apps/worker/test/public-homepage-downgrade-guard.test.ts:79
↓ 2 callersFunctionresolveApiOriginUrl
(env)
apps/web/public/_worker.js:127
↓ 2 callersFunctionresolvePathValue
(vars: Record<string, unknown>, path: string)
apps/worker/src/notify/template.ts:56
↓ 2 callersFunctionreuseHistoricalRollupsFromBase
(opts: { monitor: HomepageMonitorCard; baseMonitor: HomepageMonitorCard; monitorCreatedAt: number; ran
apps/worker/src/public/homepage.ts:535
↓ 2 callersFunctionreuseHistoricalStatusUptimeDays
( baseMonitor: StatusMonitor, rangeStart: number, todayStartAt: number, )
apps/worker/src/public/status-refresh.ts:285
↓ 2 callersFunctionrewriteAdminRequest
(req: Request)
apps/worker/src/hono-app.ts:51
↓ 2 callersFunctionrewritePublicRequest
(req: Request)
apps/worker/src/routes/public-hot.ts:61
↓ 2 callersFunctionrun
(command, args, options = {})
apps/worker/scripts/bench-scheduler.mjs:28
↓ 2 callersFunctionrunInternalHomepageRefreshCore
({ env, now, scheduledRefreshRequest, runtimeUpdates, trace, preferCachedBaseSnapshot = false, s
apps/worker/src/internal/homepage-refresh-core.ts:279
↓ 2 callersFunctionrunOne
(scenario: Scenario)
apps/worker/test/scheduled.bench.ts:232
↓ 2 callersFunctionrunOne
(scenario: Scenario)
apps/worker/test/homepage-snapshot.bench.ts:206
↓ 2 callersFunctionrunOneArtifactCompute
(scenario: Scenario)
apps/worker/test/homepage-snapshot.bench.ts:222
↓ 2 callersFunctionrunOneRootMiss
(scenario: RootMissScenario)
apps/worker/test/homepage-snapshot.bench.ts:327
↓ 2 callersFunctionrunOneRouteRead
(scenario: RouteReadScenario)
apps/worker/test/homepage-snapshot.bench.ts:410
↓ 2 callersFunctionruntimeHeartbeatsToGapSec
(checkedAt: Array<number | null | undefined>)
apps/worker/src/public/monitor-runtime.ts:307
↓ 2 callersFunctionsafeJsonForInlineScript
(value)
apps/web/public/_worker.js:544
↓ 2 callersFunctionsafeJsonParse
(text: string)
apps/worker/src/snapshots/public-status.ts:119
↓ 2 callersFunctionsafeJsonStringify
(value: unknown)
apps/web/src/components/NotificationChannelForm.tsx:41
↓ 2 callersFunctionsafeToSnapshotPayload
(data: unknown)
apps/worker/src/routes/public.ts:56
↓ 2 callersFunctionsampleRender
(now = 190)
apps/worker/test/public-homepage-downgrade-guard.test.ts:68
↓ 2 callersFunctionsanitizeScheduledRuntimeUpdatesForFastPath
(opts: { db: D1Database; now: number; updates: MonitorRuntimeUpdate[]; trace?: Trace | null; runtime
apps/worker/src/internal/homepage-refresh-core.ts:165
↓ 2 callersFunctionseedShardedPublicSnapshotFragments
( opts: ShardedPublicSnapshotSeedOptions, )
apps/worker/src/internal/sharded-public-snapshot-core.ts:553
↓ 2 callersFunctionseedShardedPublicSnapshotKindViaService
( env: Env, kind: ShardedPublicSnapshotKind, monitorLimit: number, )
apps/worker/src/scheduler/scheduled.ts:472
↓ 2 callersFunctionseedShardedPublicSnapshotPartViaService
( env: Env, kind: ShardedPublicSnapshotKind, part: ShardedPublicSnapshotSeedPart, monitorOffset: numbe
apps/worker/src/scheduler/scheduled.ts:391
↓ 2 callersFunctionshouldLogDiagnostics
(env: Env)
apps/worker/src/internal/sharded-public-snapshot-continuation.ts:117
↓ 2 callersFunctionshouldPublishShardedSnapshots
(env: Env)
apps/worker/src/internal/sharded-public-snapshot-continuation.ts:109
↓ 2 callersFunctionshouldSendEvent
(config: WebhookChannelConfig, eventType: string)
apps/worker/src/notify/webhook.ts:72
↓ 2 callersFunctionshouldSkipRuntimeUpdateFragmentByTime
( row: PublicSnapshotFragmentRow, opts: MonitorRuntimeUpdateFragmentReadOptions, )
apps/worker/src/snapshots/public-monitor-fragments.ts:257
↓ 2 callersFunctionshouldSkipScheduledHomepageRefreshForShardedSnapshots
(env: Env)
apps/worker/src/scheduler/scheduled.ts:213
↓ 2 callersFunctionshouldTraceScheduledRefresh
(env: Env)
apps/worker/src/scheduler/scheduled.ts:149
↓ 2 callersFunctionshouldUseScheduledShardedContinuation
(env: Env)
apps/worker/src/scheduler/scheduled.ts:222
↓ 2 callersFunctionshouldWriteHomepageArtifactFragments
(env: Env)
apps/worker/src/internal/sharded-public-snapshot-core.ts:132
↓ 2 callersFunctionshouldWriteMonitorFragment
( selectedMonitorIds: ReadonlySet<number> | null, monitorId: number, )
apps/worker/src/snapshots/public-monitor-fragments.ts:66
↓ 2 callersFunctionshowTooltip
(day: UptimeDayPreview, index: number, element: HTMLElement)
apps/web/src/components/UptimeBar30d.tsx:238
↓ 2 callersFunctionstartShardedPublicSnapshotContinuationViaService
( env: Env, opts: { refreshRuntimeFragments: boolean }, )
apps/worker/src/scheduler/scheduled.ts:533
↓ 2 callersFunctionstatusMonitor
(id: number)
apps/worker/test/internal-monitor-fragments-refresh.test.ts:7
↓ 2 callersFunctionstatusPageScopedItemVisibilityPredicate
( includeHiddenMonitors: boolean, itemAlias: string, linkTable: string, linkItemColumn: string, )
apps/worker/src/public/visibility.ts:28
↓ 2 callersFunctionstatusPriority
(status: CheckStatus)
apps/web/src/components/HeartbeatBar.tsx:70
↓ 2 callersFunctionsumIntervals
(intervals: Interval[])
apps/worker/src/routes/public.ts:193
↓ 2 callersFunctionsummarize
(scenario: Scenario, samples: Sample[])
apps/worker/test/homepage-snapshot.bench.ts:244
↓ 2 callersFunctiontimeInternalCheckBatchDiagnosticSync
( enabled: boolean, timings: InternalCheckBatchDiagnosticTimings, label: string, fn: () => T, )
apps/worker/src/index.ts:89
↓ 2 callersFunctiontoBase64
(bytes: Uint8Array)
apps/worker/src/notify/telegram-token.ts:4
↓ 2 callersFunctiontoCandidate
(key: SnapshotKey)
apps/worker/src/snapshots/public-homepage-read.ts:1008
↓ 2 callersFunctiontoCheckStatus
(value: string | null)
apps/worker/src/public/data.ts:255
↓ 2 callersFunctiontoCheckStatus
(value: string | null)
apps/worker/src/scheduler/daily-rollup.ts:29
↓ 2 callersFunctiontoDatetimeLocal
(unixSeconds: number)
apps/web/src/components/MaintenanceWindowForm.tsx:15
↓ 2 callersFunctiontoErrorInfo
(err: unknown)
apps/worker/src/internal/sharded-public-snapshot-core.ts:102
↓ 2 callersFunctiontoErrorMessage
(err: unknown)
apps/worker/src/monitor/tcp.ts:17
↓ 2 callersFunctiontoHttpMethod
(value: string)
apps/web/src/components/MonitorForm.tsx:59
↓ 2 callersFunctiontoIncidentStatus
( value: string | null, )
apps/worker/src/routes/admin.ts:1165
↓ 2 callersFunctiontoIncidentStatus
( value: string | null, )
apps/worker/src/routes/public.ts:349
↓ 2 callersFunctiontoIncidentStatus
( value: string | null, )
apps/worker/src/routes/public-ui.ts:132
↓ 2 callersFunctiontoNumber
(value: unknown)
apps/worker/src/scheduler/scheduled.ts:656
← previousnext →601–700 of 1,365, ranked by callers