Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/openstatusHQ/openstatus
/ functions
Functions
4,268 in github.com/openstatusHQ/openstatus
⨍
Functions
4,268
◇
Types & classes
410
↓ 6 callers
Function
nullish
(value: T | null | undefined)
packages/services/src/external-service-incident/upsert.ts:49
↓ 6 callers
Function
okJson
(body: Record<string, string>)
packages/status-fetcher/__tests__/fetch.test.ts:19
↓ 6 callers
Function
parseActionId
(actionId: string)
apps/server/src/routes/slack/blocks.ts:54
↓ 6 callers
Function
parseMarkdownPath
( path: string[], )
apps/status-page/src/content/markdown/match-route.ts:13
↓ 6 callers
Function
readJsonRpc
( res: Response, )
apps/server/src/routes/mcp/handler.test.ts:54
↓ 6 callers
Function
readMessagePayload
()
packages/notifications/ms-teams/src/index.test.ts:116
↓ 6 callers
Function
regionFormatter
( region: string, type: "short" | "long" = "short", )
apps/web/src/lib/checker/utils.ts:33
↓ 6 callers
Function
regionsToStrings
(values: Region[])
apps/server/src/routes/rpc/handlers/monitor/converters/regions.ts:104
↓ 6 callers
Function
registerRegistryTools
( server: McpServer, ctx: ServiceContext, tools: AnyAgentTool[], )
apps/server/src/routes/mcp/tools/registry-adapter.ts:69
↓ 6 callers
Function
registerScopedTool
( server: McpServer, ctx: ServiceContext, name: string, def: ScopedToolDefinition<InputArgs, OutputArg
apps/server/src/routes/mcp/tools/register-scoped.ts:71
↓ 6 callers
Function
reportBackgroundError
(message: string)
apps/workflows/src/lib/sentry.ts:32
↓ 6 callers
Function
revokeApiKey
(args: { ctx: ServiceContext; input: RevokeApiKeyInput; })
packages/services/src/api-key/revoke.ts:22
↓ 6 callers
Function
runSentryCron
(monitorSlug: string)
apps/web/src/app/api/checker/cron/_sentry.ts:4
↓ 6 callers
Function
safeFetch
( url: string, init: RequestInit, signal: AbortSignal, )
apps/web/src/lib/mcp/health-check.ts:244
↓ 6 callers
Function
sendEmailNotifications
( subscriptions: Subscription[], pageUpdate: PageUpdate, )
packages/subscriptions/src/channels/email.ts:63
↓ 6 callers
Function
sendMessage
({ chatId, message, }: { chatId: string; message: string; })
packages/notifications/telegram/src/index.ts:71
↓ 6 callers
Method
sendStatusReportUpdate
( req: Omit<StatusReportProps, "unsubscribeUrl" | "manageUrl"> & { subscribers: Array<{ email: strin
packages/emails/src/client.tsx:163
↓ 6 callers
Function
setId
(next)
apps/web/src/app/(landing)/play/mcp-health/client.tsx:81
↓ 6 callers
Function
setupAnalytics
(props: unknown)
apps/server/src/libs/test/doubles/analytics.mock.ts:26
↓ 6 callers
Function
statusGlyph
(status: string)
apps/status-page/src/content/markdown/helpers.ts:201
↓ 6 callers
Function
statusPageIdRequiredError
()
apps/server/src/routes/rpc/handlers/status-page/errors.ts:72
↓ 6 callers
Function
stringToRegion
(value: string)
apps/server/src/routes/rpc/handlers/monitor/converters/regions.ts:83
↓ 6 callers
Function
toCheckboxTreeItems
( components: { id: number; name: string; groupId?: number | null }[], groups: { id: number; name: string
apps/dashboard/src/components/ui/checkbox-tree.tsx:19
↓ 6 callers
Function
trackCreatedIds
Collect IDs from import summary phases for cleanup tracking.
packages/api/src/router/import.test.ts:219
↓ 6 callers
Function
unique
()
packages/db/src/test/factories.ts:15
↓ 6 callers
Function
updatePageGeneral
(args: { ctx: ServiceContext; input: UpdatePageGeneralInput; })
packages/services/src/page/update.ts:23
↓ 6 callers
Function
updateStatusReport
(args: { ctx: ServiceContext; input: UpdateStatusReportInput; })
packages/services/src/status-report/update.ts:41
↓ 6 callers
Function
updateStatusReportUpdate
(args: { ctx: ServiceContext; input: UpdateStatusReportUpdateInput; })
packages/services/src/status-report/update.ts:118
↓ 6 callers
Function
useCookieState
( name: string, defaultValue?: T, config?: { expires?: number }, )
packages/ui/src/hooks/use-cookie-state.ts:5
↓ 6 callers
Function
useMcpHealthContext
()
apps/web/src/app/(landing)/play/mcp-health/client.tsx:93
↓ 6 callers
Function
usePathnamePrefix
()
apps/status-page/src/hooks/use-pathname-prefix.ts:12
↓ 6 callers
Function
validateCommonMonitorFields
(mon: { regions?: Region[] })
apps/server/src/routes/rpc/handlers/monitor/validators.ts:48
↓ 6 callers
Function
withINM
(value: string | null)
apps/status-page/src/lib/http/etag.test.ts:6
↓ 6 callers
Function
withPoweredBy
(markdown: string, whiteLabel: boolean)
apps/status-page/src/content/markdown/helpers.ts:464
↓ 6 callers
Function
withTinybirdFallback
( fetch: () => Promise<T>, timeoutMs = TINYBIRD_FALLBACK_TIMEOUT_MS, )
packages/api/src/router/statusPage.utils.ts:35
↓ 5 callers
Function
acknowledgeIncident
(args: { ctx: ServiceContext; input: AcknowledgeIncidentInput; })
packages/services/src/incident/acknowledge.ts:16
↓ 5 callers
Function
avg
(values: number[])
apps/status-page/src/content/markdown/generators.ts:50
↓ 5 callers
Function
buildGenericPayload
( pageUpdate: PageUpdate, subscription: Subscription, links: ManagementLinks, )
packages/subscriptions/src/channels/webhook.ts:266
↓ 5 callers
Function
buildHighlightRegex
(query: string)
apps/web/src/content/utils/search-match.ts:131
↓ 5 callers
Function
buildTestPayload
(flavor: WebhookFlavor)
packages/subscriptions/src/channels/webhook.ts:418
↓ 5 callers
Function
bulkUpdateMonitors
(args: { ctx: ServiceContext; input: BulkUpdateMonitorsInput; })
packages/services/src/monitor/update.ts:232
↓ 5 callers
Function
callerFor
()
packages/api/src/router/privateLocation.test.ts:21
↓ 5 callers
Function
captureThrow
* `toConnectError` always throws — capture the thrown value and * assert on it. Avoids `expect.unreachable` (typed `never`, which * trips TS's unrea
apps/server/src/routes/rpc/adapter.test.ts:61
↓ 5 callers
Function
cleanupReport
(id: number)
apps/server/src/routes/rpc/handlers/status-report/__tests__/status-report.test.ts:1657
↓ 5 callers
Function
createMaintenance
(overrides: Partial<Maintenance> = {})
packages/tracker/src/tracker.test.ts:49
↓ 5 callers
Function
createMockIncident
()
packages/notifications/pagerduty/src/index.test.ts:33
↓ 5 callers
Function
createMockMonitor
()
packages/notifications/pagerduty/src/index.test.ts:21
↓ 5 callers
Function
createMockMonitor
()
packages/notifications/email/src/index.test.ts:31
↓ 5 callers
Function
createMockMonitor
()
packages/notifications/twillio-sms/src/index.test.ts:37
↓ 5 callers
Function
createMockMonitor
()
packages/notifications/slack/src/index.test.ts:27
↓ 5 callers
Function
createMockNotification
()
packages/notifications/twillio-sms/src/index.test.ts:49
↓ 5 callers
Function
createMockNotification
()
packages/notifications/slack/src/index.test.ts:39
↓ 5 callers
Function
createMockStatusReport
( id: number, pageComponentIds: number[], status: "investigating" | "resolved" = "investigating",
packages/api/src/router/statusPage.utils.test.ts:1093
↓ 5 callers
Function
createMonitor
( workspaceId: number, overrides: Partial<MonitorInsert> = {}, db: Db = defaultDb, )
packages/db/src/test/factories.ts:35
↓ 5 callers
Function
createProtectedCookieKey
(value: string)
apps/status-page/src/lib/protected.ts:1
↓ 5 callers
Function
createStatuspageProvider
()
packages/importers/src/providers/statuspage/provider.ts:23
↓ 5 callers
Function
ctxWithScopes
( scopes: ServiceContext["actor"] extends infer A ? A extends { scopes: infer S } ? S : neve
apps/server/src/routes/mcp/tools/register-scoped.test.ts:18
↓ 5 callers
Function
expectFailure
(exit: Exit.Exit<A, FetchError>)
packages/status-fetcher/__tests__/fetch.test.ts:46
↓ 5 callers
Method
externalStatusLatest
()
packages/tinybird/src/client.ts:2319
↓ 5 callers
Function
fetchMonitorDailyStats
(args: { db: DB; tb: OSTinybird; monitorIds: number[]; workspaceId: number; })
packages/services/src/monitor/get-daily-summary.ts:16
↓ 5 callers
Function
fetchQueryOrNotFound
(queryOptions: T)
apps/dashboard/src/lib/trpc/server.tsx:102
↓ 5 callers
Function
filterTerms
(terms: string[])
apps/web/src/content/utils/search-match.ts:117
↓ 5 callers
Function
flattenComponents
( trackers: TrackerLike[] | null | undefined, )
apps/status-page/src/content/status-vocab.ts:54
↓ 5 callers
Function
formatAnnotation
(values: number[])
apps/status-page/src/components/chart/chart-area-percentiles.tsx:49
↓ 5 callers
Function
formatDate
( date: Date, options?: Intl.DateTimeFormatOptions, locale = "en-US", )
packages/ui/src/components/blocks/status.utils.ts:67
↓ 5 callers
Function
formatMilliseconds
(ms: number)
apps/dashboard/src/lib/formatter.ts:3
↓ 5 callers
Function
formatNumber
( value: number, options?: Intl.NumberFormatOptions, )
apps/status-page/src/lib/formatter.ts:36
↓ 5 callers
Function
getAuditLog
(args: { ctx: ServiceContext; input: { id: number }; })
packages/services/src/audit/get.ts:13
↓ 5 callers
Function
getColumns
( privateLocations?: PrivateLocation[], )
apps/dashboard/src/components/data-table/audit-logs/columns.tsx:15
↓ 5 callers
Function
getGroupById
* Helper to get a component group by ID with workspace scope.
apps/server/src/routes/rpc/handlers/status-page/index.ts:263
↓ 5 callers
Function
getHomePage
()
apps/web/src/content/utils/index.ts:76
↓ 5 callers
Function
getJsonLDBlogPosting
( post: MDXData, basePath: string, )
apps/web/src/lib/metadata/structured-data.ts:60
↓ 5 callers
Function
getLimits
(plan: WorkspacePlan | null)
packages/db/src/schema/plan/utils.ts:14
↓ 5 callers
Function
getMonitorById
* Helper to get a monitor by ID with workspace scope.
apps/server/src/routes/rpc/handlers/monitor/index.ts:81
↓ 5 callers
Function
getPage
(args: { ctx: ServiceContext; input: GetPageInput; })
packages/services/src/page/list.ts:86
↓ 5 callers
Function
getReportInWorkspace
(args: { tx: DB; id: number; workspaceId: number; })
packages/services/src/status-report/internal.ts:130
↓ 5 callers
Function
getResponseLog
(args: { ctx: ServiceContext; input: GetResponseLogInput; })
packages/services/src/monitor/get-response-log.ts:19
↓ 5 callers
Function
getTimingPhases
(timing: Timing)
apps/web/src/lib/checker/utils.ts:51
↓ 5 callers
Function
headers
()
apps/status-page/next.config.ts:55
↓ 5 callers
Function
insertReports
( rows: { externalServiceId: number; externalServiceComponentId?: number | null; reporterHash: s
packages/services/src/external-service-report/__tests__/record.test.ts:80
↓ 5 callers
Function
jitter
(seed: string, base: number, spread: number)
apps/dashboard/src/data/onboarding-checks.ts:52
↓ 5 callers
Function
listPages
(args: { ctx: ServiceContext; input: ListPagesInput; })
packages/services/src/page/list.ts:42
↓ 5 callers
Function
listResponseLogs
(args: { ctx: ServiceContext; input: ListResponseLogsInput; })
packages/services/src/monitor/list-response-logs.ts:35
↓ 5 callers
Function
makeInput
( monitorId: number, overrides: Partial<FreezeMonitorMonthInput> = {}, )
packages/services/src/frozen-uptime/__tests__/freeze.test.ts:53
↓ 5 callers
Function
makeServer
()
apps/server/src/routes/mcp/tools/register-scoped.test.ts:11
↓ 5 callers
Function
makeSystemCtx
( workspace: Workspace, opts: { job: string; requestId?: string }, )
packages/services/test/helpers.ts:226
↓ 5 callers
Function
mapIncidentToStatusReport
( incident: BetterstackIncident, workspaceId: number, pageId?: number, )
packages/importers/src/providers/betterstack/mapper.ts:321
↓ 5 callers
Function
mapIncidentToStatusReport
( incident: StatuspageIncident, workspaceId: number, pageId?: number, )
packages/importers/src/providers/statuspage/mapper.ts:85
↓ 5 callers
Function
mapReportToStatusReport
( report: BetterstackStatusReport, updates: BetterstackStatusUpdate[], workspaceId: number, pageId?: n
packages/importers/src/providers/betterstack/mapper.ts:220
↓ 5 callers
Function
matchesScope
(held: readonly Scope[], required: Scope)
packages/services/src/auth/matches-scope.ts:19
↓ 5 callers
Function
monitorTypeMismatchError
( monitorId: string, expectedType: string, actualType: string, )
apps/server/src/routes/rpc/handlers/monitor/errors.ts:111
↓ 5 callers
Function
originOf
(url: string)
apps/web/src/app/(landing)/play/mcp-health/utils.ts:37
↓ 5 callers
Function
randomFactor
()
apps/status-page/src/data/region-percentile.ts:13
↓ 5 callers
Function
reportsOnlyDowntimeMs
( events: Event[], window: UptimeWindow, coverage?: CoverageSegment[], )
packages/services/src/status-timeline/uptime.ts:141
↓ 5 callers
Function
requestAllPages
( path: string, itemSchema: z.ZodType<T>, perPage = 100, )
packages/importers/src/providers/instatus/client.ts:48
↓ 5 callers
Function
resolveStatusPageOrigin
(subscription: Subscription)
packages/subscriptions/src/channels/webhook.ts:33
↓ 5 callers
Function
safeData
( promise: Promise<{ data: T[] }>, label: string, )
packages/api/src/router/externalService.ts:103
↓ 5 callers
Function
seedCreateMaintenance
( id = "maint-001", overrides: Record<string, unknown> = {}, )
apps/server/src/routes/slack/interactions.test.ts:66
↓ 5 callers
Function
sendAlert
({ monitor, notification, statusCode, message, }: NotificationContext)
packages/notifications/ntfy/src/index.ts:5
↓ 5 callers
Function
sendEmail
(email: Emails)
packages/emails/src/send.ts:24
← previous
next →
401–500 of 4,268, ranked by callers