MCPcopy Create free account

hub / github.com/VrianCao/Uptimer / functions

Functions1,365 in github.com/VrianCao/Uptimer

↓ 2 callersFunctiontoPublicAnalyticsOverviewEntryMap
( snapshot: PublicAnalyticsOverviewSnapshot, )
apps/worker/src/public/analytics-overview.ts:401
↓ 2 callersFunctiontoPublicHeartbeatStatus
( value: string | null | undefined, )
apps/worker/src/public/status-refresh.ts:203
↓ 2 callersFunctiontoRuntimeCurrentStatusCode
(update: MonitorRuntimeUpdate)
apps/worker/src/public/monitor-runtime.ts:595
↓ 2 callersFunctiontoSelectedMonitorIdSet
(monitorIds?: Iterable<number>)
apps/worker/src/snapshots/public-monitor-fragments.ts:40
↓ 2 callersFunctiontoggleEnabledEvent
(ev: NotificationEventType)
apps/web/src/components/NotificationChannelForm.tsx:330
↓ 2 callersFunctionvalidateAssertionPair
( input: AssertionValidationInput, )
apps/worker/src/monitor/http-assertions.ts:43
↓ 2 callersFunctionverifyAdminToken
(token: string)
apps/web/src/api/client.ts:377
↓ 2 callersFunctionwantsCompactInternalFormat
(request: Request)
apps/worker/src/index.ts:58
↓ 2 callersFunctionwithSyntheticKey
(row: unknown, key: unknown)
apps/worker/test/helpers/fake-d1.ts:167
↓ 2 callersFunctionwriteCachedNormalizedSnapshotRowGlobal
( cache: Map<SnapshotKey, RawNormalizedSnapshotRow>, candidate: SnapshotCandidate, rawBodyJson: string,
apps/worker/src/snapshots/public-homepage-read.ts:467
↓ 2 callersFunctionwriteCachedRuntimeEntryByJsonText
( jsonText: string, entry: PublicMonitorRuntimeEntry | null, )
apps/worker/src/public/monitor-runtime.ts:444
↓ 2 callersFunctionwriteCachedRuntimeSnapshotGlobal
( generatedAt: number, updatedAt: number, rawBodyJson: string, snapshot: PublicMonitorRuntimeSnapshot,
apps/worker/src/public/monitor-runtime.ts:724
↓ 2 callersFunctionwriteCachedSnapshotGlobal
( generatedAt: number, updatedAt: number, rawBodyJson: string, snapshot: PublicAnalyticsOverviewSnapsh
apps/worker/src/public/analytics-overview.ts:217
↓ 2 callersFunctionwriteHomepageArtifactSnapshot
( db: D1Database, now: number, payload: PublicHomepageResponse, trace?: Trace, lease?: HomepageRefre
apps/worker/src/snapshots/public-homepage.ts:1156
↓ 2 callersFunctionwriteHomepageGuardCacheState
(opts: { db: D1Database; now: number; versions: HomepageGuardVersions; validUntil: number; state: Ca
apps/worker/src/public/homepage-guard-state.ts:313
↓ 1 callersFunctionaddIncidentUpdate
( id: number, input: CreateIncidentUpdateInput, )
apps/web/src/api/client.ts:588
↓ 1 callersFunctionaggregateHeartbeats
(heartbeats: Heartbeat[], slots: number)
apps/web/src/components/HeartbeatBar.tsx:182
↓ 1 callersFunctionallowedMethodsForApiPath
(pathname: string)
apps/worker/src/fetch-handler.ts:143
↓ 1 callersFunctionallowedMethodsForApiPath
(pathname: string)
apps/worker/src/hono-app.ts:23
↓ 1 callersFunctionanalyticsOverviewSnapshotSupportsMonitors
( snapshot: PublicAnalyticsOverviewSnapshot, monitors: ReadonlyArray<{ id: number; created_at: number }>,
apps/worker/src/public/analytics-overview.ts:417
↓ 1 callersFunctionappendServerTimingHeader
(res: Response, value: string)
apps/worker/src/observability/trace.ts:160
↓ 1 callersFunctionappendVaryHeader
(res: Response, value: string)
apps/worker/src/hono-app.ts:27
↓ 1 callersFunctionappendVaryHeader
(res: Response, value: string)
apps/worker/src/routes/public-hot.ts:12
↓ 1 callersFunctionapplyPrivateNoStore
(res: Response)
apps/worker/src/routes/public-ui-analytics.ts:54
↓ 1 callersFunctionapplyPrivateNoStore
(res: Response)
apps/worker/src/routes/public-ui.ts:52
↓ 1 callersFunctionassemblePublicSnapshotBodyJsonFromRawMonitorFragments
( envelope: T, bodyJsonByMonitorId: ReadonlyMap<number, string>, )
apps/worker/src/snapshots/public-monitor-fragments.ts:564
↓ 1 callersFunctionassembleShardedPublicSnapshotViaService
( env: Env, kind: ShardedPublicSnapshotKind, mode: ShardedPublicSnapshotAssemblyMode, )
apps/worker/src/scheduler/scheduled.ts:434
↓ 1 callersFunctionassertNonNegativeInteger
(value: number, label: string)
apps/worker/src/snapshots/public-fragments.ts:63
↓ 1 callersFunctionassertPositiveInteger
(value: number, label: string)
apps/worker/src/snapshots/public-fragments.ts:69
↓ 1 callersFunctionassignMonitorsToGroup
( input: AssignMonitorsToGroupInput, )
apps/web/src/api/client.ts:456
↓ 1 callersFunctionattemptHttpCheck
( config: HttpCheckConfig, assertions: PreparedHttpResponseAssertion[], )
apps/worker/src/monitor/http.ts:126
↓ 1 callersFunctionattemptTcpCheck
(config: TcpCheckConfig)
apps/worker/src/monitor/tcp.ts:22
↓ 1 callersFunctionbenchmarkScenario
(scenario: Scenario)
apps/worker/test/scheduled.bench.ts:297
↓ 1 callersFunctionbindStatusSnapshotAfterHomepageUpsert
(opts: { db: D1Database; now: number; bodyJson: string; generatedAt: number; homepageSnapshotKey: st
apps/worker/src/snapshots/public-status.ts:270
↓ 1 callersFunctionbindStatusSnapshotUpsert
( db: D1Database, now: number, bodyJson: string, generatedAt: number, )
apps/worker/src/snapshots/public-status.ts:249
↓ 1 callersFunctionbodyJsonBytes
(bodyJson: string, enabled: boolean)
apps/worker/src/internal/sharded-public-snapshot-core.ts:115
↓ 1 callersFunctionbuildApiMethodNotAllowedResponse
(request, canonicalPathname)
apps/web/public/_worker.js:355
↓ 1 callersFunctionbuildApiPreflightResponse
(request, canonicalPathname)
apps/web/public/_worker.js:351
↓ 1 callersFunctionbuildApiProxyRequest
(request, upstreamUrl)
apps/web/public/_worker.js:252
↓ 1 callersFunctionbuildApiProxyUrl
(url, env, apiOriginOverride, apiPathname)
apps/web/public/_worker.js:164
↓ 1 callersFunctionbuildBatchExecutionLockName
(checkedAt: number, ids: readonly number[])
apps/worker/src/scheduler/scheduled.ts:1102
↓ 1 callersFunctionbuildCacheKey
( url: string, origin: string | undefined, normalizeCacheKeyUrl?: (url: URL) => void, )
apps/worker/src/middleware/cache-public.ts:29
↓ 1 callersFunctionbuildCompactLatencyResponseJson
(opts: { db: D1Database; monitor: { id: number; name: string }; range: z.infer<typeof latencyRangeSchema
apps/worker/src/routes/public-ui.ts:826
↓ 1 callersFunctionbuildContextIntervals
( dayStartAt: number, nowSec: number, maintenanceWindows: MaintenanceWindow[], incidents: Incident[],
apps/web/src/components/DayDowntimeModal.tsx:127
↓ 1 callersFunctionbuildGroupReorderUpdate
( groups: MonitorGroupReorderEntry[], updatedAt: number, )
apps/worker/src/routes/admin.ts:212
↓ 1 callersFunctionbuildHeartbeatStripSvg
( strip: PublicHomepageResponse['monitors'][number]['heartbeat_strip'], )
apps/worker/src/snapshots/public-homepage.ts:223
↓ 1 callersFunctionbuildHomepageMonitorRowsFromBaseSnapshot
( baseSnapshot: PublicHomepageResponse, runtimeSnapshot: PublicMonitorRuntimeSnapshot, )
apps/worker/src/public/homepage.ts:672
↓ 1 callersFunctionbuildInternalRefreshResponse
(ok: boolean, refreshed: boolean)
apps/worker/src/index.ts:154
↓ 1 callersFunctionbuildLatencyResponseJson
(opts: { db: D1Database; monitor: { id: number; name: string }; range: z.infer<typeof latencyRangeSchema
apps/worker/src/routes/public.ts:531
↓ 1 callersFunctionbuildLatencyScale
(heartbeats: DisplayHeartbeat[])
apps/web/src/components/HeartbeatBar.tsx:84
↓ 1 callersFunctionbuildLatencySeries
(options: LatencySeriesOptions)
apps/worker/test/helpers/data-builders.ts:31
↓ 1 callersFunctionbuildMinimalIndexHtml
(title = 'Uptimer')
apps/web/public/_worker.js:788
↓ 1 callersFunctionbuildMonitorExecutionLockName
(checkedAt: number, id: number)
apps/worker/src/scheduler/scheduled.ts:1106
↓ 1 callersFunctionbuildNumberedPlaceholders
(count: number, start = 1)
apps/worker/src/internal/homepage-refresh-core.ts:119
↓ 1 callersFunctionbuildOutageStatements
( completed: CompletedDueMonitor, templates: PersistStatementTemplates, )
apps/worker/src/scheduler/scheduled.ts:1443
↓ 1 callersFunctionbuildPublicAnalyticsOverviewSnapshot
(opts: { db: D1Database; fullDayEndAt: number; now: number; })
apps/worker/src/public/analytics-overview.ts:307
↓ 1 callersFunctionbuildPublicMonitorCards
( db: D1Database, now: number, opts: { includeHiddenMonitors?: boolean } = {}, )
apps/worker/src/public/data.ts:986
↓ 1 callersFunctionbuildRowArrayMap
( rows: T[], key: keyof T, )
apps/worker/src/routes/public-ui.ts:417
↓ 1 callersFunctionbuildScenarioRows
(scenario: Scenario, now: number)
apps/worker/test/homepage-snapshot.bench.ts:91
↓ 1 callersFunctionbuildSeedWrites
(opts: { kind: ShardedPublicSnapshotKind; part: ShardedPublicSnapshotSeedPart; payload: PublicHomepageRe
apps/worker/src/internal/sharded-public-snapshot-core.ts:523
↓ 1 callersFunctionbuildSvgDataUri
( slots: DisplaySlot[], ratingLevel: UptimeRatingLevel, compact: boolean, )
apps/web/src/components/UptimeBar30d.tsx:117
↓ 1 callersFunctionbuildSvgDataUri
(slots: DisplaySlot[], compact: boolean, scale: LatencyScale | null)
apps/web/src/components/HeartbeatBar.tsx:153
↓ 1 callersFunctionbuildUnknownIntervals
( rangeStart: number, rangeEnd: number, intervalSec: number, checks: Array<{ checked_at: number; statu
apps/worker/src/routes/public.ts:238
↓ 1 callersFunctionbuildUptimeStripSvg
( strip: PublicHomepageResponse['monitors'][number]['uptime_day_strip'], )
apps/worker/src/snapshots/public-homepage.ts:197
↓ 1 callersFunctionbuildWebhookTemplatePayload
(args: { channel: WebhookChannel & { config: CustomWebhookChannelConfig }; eventType: string; eventKey:
apps/worker/src/notify/webhook.ts:156
↓ 1 callersFunctioncanAssembleShardedSnapshots
(env: Env)
apps/worker/src/internal/sharded-public-snapshot-continuation.ts:101
↓ 1 callersFunctioncanForwardSensitiveHeaders
(upstreamUrl, requestUrl, trustedSensitiveOriginUrl = null)
apps/web/public/_worker.js:181
↓ 1 callersFunctioncanRefreshRuntimeFragments
(env: Env)
apps/worker/src/internal/sharded-public-snapshot-continuation.ts:89
↓ 1 callersFunctioncanSeedShardedFragments
(env: Env)
apps/worker/src/internal/sharded-public-snapshot-continuation.ts:93
↓ 1 callersFunctioncanTrustBaseSnapshotMonitorMetadata
(opts: { baseSnapshot: PublicHomepageResponse | null | undefined; runtimeSnapshot: PublicMonitorRuntimeSna
apps/worker/src/public/homepage.ts:622
↓ 1 callersFunctioncanonicalizeApiPathname
(pathname)
apps/web/public/_worker.js:59
↓ 1 callersFunctionchunkDueMonitorRows
(rows: DueMonitorRow[], size: number)
apps/worker/src/scheduler/scheduled.ts:1778
↓ 1 callersFunctionchunkMonitorRows
(rows: readonly MonitorRow[], size: number)
apps/worker/src/scheduler/daily-rollup.ts:45
↓ 1 callersFunctionclampOutageIntervals
( rows: Array<{ started_at: number; ended_at: number | null }>, start: number, end: number, )
apps/worker/src/routes/admin-analytics.ts:115
↓ 1 callersFunctioncloneRuntimeEntry
(entry: PublicMonitorRuntimeEntry)
apps/worker/src/public/monitor-runtime.ts:1256
↓ 1 callersFunctioncompareMonitors
( a: AdminMonitor, b: AdminMonitor, mode: MonitorSortMode, direction: MonitorSortDirection, ungroupe
apps/web/src/pages/AdminDashboard.tsx:245
↓ 1 callersFunctioncompileAssertionMatcher
( value: string, mode: HttpResponseMatchMode, )
apps/worker/src/monitor/http-assertions.ts:95
↓ 1 callersFunctioncomputeDayDowntimeIntervals
( dayStartAt: number, outages: Array<{ started_at: number; ended_at: number | null }>, nowSec: number =
apps/web/src/components/UptimeBar30d.tsx:323
↓ 1 callersFunctioncomputeIntervalTotalSeconds
(intervals: DowntimeInterval[])
apps/web/src/components/UptimeBar30d.tsx:341
↓ 1 callersFunctioncomputePartialDayRow
( db: D1Database, monitor: { id: number; interval_sec: number }, start: number, end: number, )
apps/worker/src/routes/admin-analytics.ts:238
↓ 1 callersFunctioncomputePartialUptimeTotals
( db: D1Database, monitorId: number, intervalSec: number, createdAt: number, lastCheckedAt: number |
apps/worker/src/routes/public-ui.ts:793
↓ 1 callersFunctioncomputePartialUptimeTotalsLegacy
( db: D1Database, monitorId: number, intervalSec: number, createdAt: number, lastCheckedAt: number |
apps/worker/src/routes/public-ui.ts:704
↓ 1 callersFunctioncomputePartialUptimeTotalsSql
( db: D1Database, monitorId: number, intervalSec: number, createdAt: number, lastCheckedAt: number |
apps/worker/src/routes/public-ui.ts:501
↓ 1 callersFunctioncomputePatchedHomepageUptimeDayContribution
(opts: { dayStartAt: number; rangeStart: number; rangeEnd: number; downtimeSec: number; unknownSec:
apps/worker/src/public/homepage.ts:1643
↓ 1 callersFunctioncomputePublicHomepageArtifactPayload
( db: D1Database, now: number, )
apps/worker/src/public/homepage.ts:2631
↓ 1 callersFunctioncomputeStateLastError
( nextStatus: MonitorStatus, outcome: CheckOutcome, prevLastError: string | null, )
apps/worker/src/scheduler/scheduled.ts:1317
↓ 1 callersFunctioncomputeTodayPartialUptimeBatchLegacy
( db: D1Database, monitors: Array<{ id: number; interval_sec: number; created_at: number;
apps/worker/src/public/data.ts:811
↓ 1 callersFunctioncomputeTodayPartialUptimeBatchSql
( db: D1Database, monitors: Array<{ id: number; interval_sec: number; created_at: number;
apps/worker/src/public/data.ts:528
↓ 1 callersFunctioncomputeUptimeWindowTotalsFromRollups
(opts: { db: D1Database; monitor: { id: number; interval_sec: number; created_at: number;
apps/worker/src/routes/public.ts:652
↓ 1 callersFunctioncontextTagClasses
(kind: ContextInterval['kind'])
apps/web/src/components/DayDowntimeModal.tsx:163
↓ 1 callersFunctioncorsPreflight
(origin: string | null, allowedMethods = CORS_ALLOW_METHODS)
apps/worker/src/fetch-handler.ts:115
↓ 1 callersFunctioncreateEmptyMonitorBatchStats
()
apps/worker/src/scheduler/scheduled.ts:664
↓ 1 callersFunctioncreateEnvForScenario
(scenario: Scenario)
apps/worker/test/scheduled.bench.ts:78
↓ 1 callersFunctioncreateOutputPath
(label)
apps/worker/scripts/bench-scheduler.mjs:61
↓ 1 callersFunctioncreateRuntimeEntryForUpdate
( update: MonitorRuntimeUpdate, dayStart: number, )
apps/worker/src/public/monitor-runtime.ts:1263
↓ 1 callersFunctioncreateTrace
(c: { env: Env; req: { header(name: string): string | undefined }; })
apps/worker/src/routes/public-ui-analytics.ts:64
↓ 1 callersFunctioncsvEscape
(value: string)
apps/worker/src/routes/admin-exports.ts:26
↓ 1 callersFunctiondecodeApiPathname
(pathname: string)
apps/worker/src/fetch-handler.ts:17
↓ 1 callersFunctiondecodeApiPathname
(pathname)
apps/web/public/_worker.js:41
↓ 1 callersFunctiondecodeCompactLatencyResponse
(raw: CompactLatencyResponse)
apps/web/src/api/client.ts:83
← previousnext →701–800 of 1,365, ranked by callers