MCPcopy Create free account

hub / github.com/openstatusHQ/openstatus / functions

Functions4,268 in github.com/openstatusHQ/openstatus

↓ 16 callersFunctiontrackMiddleware
(event: EventProps, eventProps?: string[])
apps/server/src/libs/middlewares/track.ts:13
↓ 15 callersFunctionaddLimitWarnings
( summary: ImportSummary, config: { limits: Limits; workspaceId: number; pageId?: number;
packages/services/src/import/limits.ts:22
↓ 15 callersFunctionbuildConfirmationBlocks
(args: { actionId: string; tool: AnyAgentTool; input: unknown; })
apps/server/src/routes/slack/blocks.ts:94
↓ 15 callersFunctionclearAuditLog
( workspaceId: number, opts: { db?: DB } = {}, )
packages/services/test/helpers.ts:91
↓ 15 callersFunctioncomputeETag
(body: string)
apps/status-page/src/lib/http/etag.ts:4
↓ 15 callersMethodfetch
(entry: StatusPageEntry)
packages/status-fetcher/src/types.ts:145
↓ 15 callersFunctionmakePipes
( overrides: Partial<UptimeFreezePipes> = {}, )
packages/services/src/frozen-uptime/__tests__/run.test.ts:27
↓ 15 callersFunctionparseBearerChallenge
( header: string | null, )
apps/web/src/lib/mcp/health-check.ts:402
↓ 15 callersFunctionrender
({ data, baseUrl, }: { data: OverviewPage; baseUrl: string; })
apps/status-page/src/app/(status-page)/[domain]/[locale]/(public)/llms.txt/route.ts:22
↓ 15 callersFunctionsendWebhookNotifications
( subscriptions: Subscription[], pageUpdate: PageUpdate, )
packages/subscriptions/src/channels/webhook.ts:361
↓ 14 callersFunctioncallTool
Invoke a tool's registered handler with input args. Returns the CallToolResult.
apps/server/src/routes/mcp/tools/tools.test.ts:128
↓ 14 callersFunctionformatDateTime
(date: Date, locale?: string)
apps/status-page/src/lib/formatter.ts:63
↓ 14 callersFunctionfutureRange
(startIn = 60 * 60 * 1000)
packages/services/src/maintenance/__tests__/maintenance.test.ts:131
↓ 14 callersFunctiongetActions
( props: Partial<Record<MonitorAction["id"], () => Promise<void> | void>>, )
apps/dashboard/src/data/monitors.client.ts:64
↓ 14 callersFunctiongetGuides
()
apps/web/src/content/utils/index.ts:30
↓ 14 callersFunctiongetToolsPage
(slug: string)
apps/web/src/content/utils/index.ts:93
↓ 14 callersFunctiongetUptimeHistory
(args: { ctx: ServiceContext; input: GetUptimeHistoryInput; pipes?: UptimeFreezePipes; now?: Date; s
packages/services/src/frozen-uptime/get-history.ts:142
↓ 14 callersFunctionscoreDoc
( entry: Scorable, phrase: string, usePhrase: boolean, matchers: Matcher[], )
apps/web/src/content/utils/search-match.ts:152
↓ 14 callersFunctionshouldUpdateLastUsed
( lastUsedAt: Date | null, debounceMinutes = 5, )
packages/db/src/utils/api-key.ts:57
↓ 14 callersFunctiontransformHeaders
(headers: { key: string; value: string }[])
packages/utils/src/index.ts:17
↓ 14 callersFunctionupsertExternalComponentsForService
(args: { ctx?: { db?: DB }; externalServiceId: number; components: UpsertExternalComponentInput[]; now
packages/services/src/external-service-component/upsert.ts:75
↓ 13 callersFunctioncreateNotification
(args: { ctx: ServiceContext; input: CreateNotificationInput; })
packages/services/src/notification/create.ts:20
↓ 13 callersFunctiondurationDowntimeMs
( events: Event[], window: UptimeWindow, coverage?: CoverageSegment[], )
packages/services/src/status-timeline/uptime.ts:126
↓ 13 callersFunctionenv
(key, fallback string)
apps/checker/cmd/server/main.go:274
↓ 13 callersFunctionformatDuration
( durationMs: number, options?: { maxUnits?: number; }, )
packages/notifications/base/src/utils/duration.ts:15
↓ 13 callersMethodfromZod
(e: ZodError<T>, raw: unknown)
packages/error/src/schema-error.ts:23
↓ 13 callersFunctiongetComparePages
()
apps/web/src/content/utils/index.ts:69
↓ 13 callersFunctionisRetryableDbError
(err: unknown)
packages/services/src/retry.ts:26
↓ 13 callersFunctionmakeMatcher
(term: string)
apps/web/src/content/utils/search-match.ts:56
↓ 13 callersFunctionmakeSummary
(overrides?: Partial<ImportSummary>)
packages/services/src/import/__tests__/unit.test.ts:12
↓ 13 callersFunctionmatchMarkdownRoute
(rest: string[])
apps/status-page/src/content/markdown/match-route.ts:33
↓ 13 callersFunctionmatchers
(...terms: string[])
apps/web/src/content/utils/search-match.test.ts:83
↓ 13 callersFunctionsignAndPost
( app: ReturnType<typeof createTestApp>, payload: Record<string, unknown>, )
apps/server/src/routes/slack/interactions.test.ts:94
↓ 13 callersFunctionstatusPageNotFoundError
(pageId: string)
apps/server/src/routes/rpc/handlers/status-page/errors.ts:60
↓ 13 callersFunctionverifyApiKeyHash
( token: string, storedHash: string, )
packages/db/src/utils/api-key.ts:38
↓ 13 callersFunctionwithBusyRetry
( fn: () => Promise<T>, isRetryable: (err: unknown) => boolean = isRetryableDbError, )
packages/services/src/retry.ts:69
↓ 12 callersMethodSendEvent
(ctx context.Context, event any, dataSourceName string)
apps/private-location/internal/tinybird/client.go:30
↓ 12 callersFunctionclampPeriodicity
(requested: string, allowed: string[])
packages/services/src/import/utils.ts:27
↓ 12 callersFunctioncreateError
* Creates a ConnectError with structured metadata. * * This provides machine-parseable error information via metadata headers * while maintaining h
apps/server/src/routes/rpc/handlers/monitor/errors.ts:31
↓ 12 callersFunctiongetUseCasePages
()
apps/web/src/content/utils/index.ts:37
↓ 12 callersFunctioninsertComponent
( tx: Tx, args: { pageId: number; monitorId?: number; createdAt?: Date; name?: string; }
packages/services/src/frozen-uptime/__tests__/get-history.test.ts:129
↓ 12 callersFunctioninsertIncident
( tx: DrizzleTx, opts: { workspaceId: number; monitorId: number; acknowledgedAt?: Date; re
packages/services/src/incident/__tests__/incident.test.ts:60
↓ 12 callersFunctioninsertPage
( tx: Tx, overrides: Partial<typeof page.$inferInsert> = {}, )
packages/services/src/frozen-uptime/__tests__/get-history.test.ts:94
↓ 12 callersFunctioninstallMockFetch
(impl: FetchImpl)
packages/status-fetcher/__tests__/fetch.test.ts:13
↓ 12 callersFunctioninstallSlackAgent
(args: { ctx: ServiceContext; input: InstallSlackAgentInput; })
packages/services/src/integration/install-slack-agent.ts:23
↓ 12 callersFunctioninvalidNotificationDataError
(details: string)
apps/server/src/routes/rpc/handlers/notification/errors.ts:134
↓ 12 callersFunctionisSlackToolDraft
(value: unknown)
apps/server/src/routes/slack/registry-runner.ts:28
↓ 12 callersFunctioniv
(from: number, to: number, weight = 1)
packages/services/src/status-timeline/__tests__/downtime.test.ts:8
↓ 12 callersFunctionmakeLimits
(overrides?: Partial<Limits>)
packages/services/src/import/__tests__/unit.test.ts:24
↓ 12 callersFunctionmakePaginated
(data: unknown[])
packages/importers/src/providers/betterstack/provider.test.ts:21
↓ 12 callersFunctionmakePipes
(rows: ComputeCountRow[])
packages/services/src/frozen-uptime/__tests__/get-history.test.ts:80
↓ 12 callersFunctionmapFrequency
(seconds: number)
packages/importers/src/providers/betterstack/mapper.ts:57
↓ 12 callersFunctionmockResponseWith
(monitors: MonitorFixture[])
packages/status-fetcher/__tests__/fetchers/uptimerobot.test.ts:42
↓ 12 callersFunctionokPipe
(rows: ComputeCountRow[] = [])
packages/services/src/frozen-uptime/__tests__/run.test.ts:18
↓ 12 callersFunctionresolveCustomDomainRewrite
({ page, host, urlHost, pathname, search, isSelfHosted, requestUrl, }: Input)
apps/status-page/src/lib/proxy/resolve-custom-domain-rewrite.ts:26
↓ 12 callersFunctionresolveEmailDomainAction
({ route, page, pathname, authEmail, redirectParam, origin, }: Input)
apps/status-page/src/lib/proxy/resolve-email-domain-action.ts:22
↓ 12 callersFunctionsanitizeSvg
(svgContent: string)
packages/api/src/router/blob.ts:13
↓ 12 callersFunctionscorable
(parts: { title?: string; headings?: string; description?: string; content?: string; })
apps/web/src/content/utils/search-match.test.ts:69
↓ 12 callersFunctionseedService
(opts: { slug: string; aliases?: string[]; })
packages/services/src/external-service-incident/__tests__/external-service-incident.test.ts:38
↓ 12 callersFunctionstatusLabel
(status: string)
apps/status-page/src/content/markdown/helpers.ts:27
↓ 12 callersFunctiontryGetActorUserId
(actor: Actor)
packages/services/src/context.ts:86
↓ 12 callersFunctionurlHostnameEndsWith
(url: string, domain: string)
packages/status-fetcher/src/utils.ts:8
↓ 11 callersMethodString
()
apps/private-location/internal/models/assertions.go:17
↓ 11 callersFunctionbuildExternalPath
( route: Pick<ResolvedRoute, "type" | "prefix">, suffix: string, )
apps/status-page/src/lib/proxy/build-external-path.ts:10
↓ 11 callersFunctionclearAuditLogFor
(args: { entityType: string; entityIds: ReadonlyArray<string | number>; db?: DB; })
packages/services/test/helpers.ts:112
↓ 11 callersFunctioncreateBetterstackProvider
()
packages/importers/src/providers/betterstack/provider.ts:23
↓ 11 callersFunctioncreateReport
(id: number, daysAgo: number, durationHours = 2)
packages/api/src/router/statusPage.utils.test.ts:77
↓ 11 callersFunctionemitLoose
* Test-only escape hatch around `emitAudit`'s compile-time snapshot * contract (`.create` requires `after`, `.delete` requires `before`, * `.update`
packages/services/src/audit/__tests__/audit.test.ts:34
↓ 11 callersFunctionescapeLinkLabel
(value: string)
apps/status-page/src/content/markdown/helpers.ts:118
↓ 11 callersFunctionevaluateMarkdownGate
(input: { accessType: Page["accessType"]; passwordAuthorized: boolean; authEmail: string | null | undefi
apps/status-page/src/lib/proxy/evaluate-markdown-gate.ts:17
↓ 11 callersFunctiongetCustomerPages
()
apps/web/src/content/utils/index.ts:122
↓ 11 callersFunctiongetJsonLDItemList
( items: MDXData[] | ItemListEntry[], prefix?: string, )
apps/web/src/lib/metadata/structured-data.ts:247
↓ 11 callersFunctiongetToolingPages
()
apps/web/src/content/utils/index.ts:100
↓ 11 callersFunctionisIpAllowed
(ip: string, allowedRanges: string[])
apps/status-page/src/lib/proxy/is-ip-allowed.ts:7
↓ 11 callersFunctionmakeCtx
(actor: Actor)
packages/services/src/auth/__tests__/require-scope.test.ts:14
↓ 11 callersFunctionmapReportAggregateState
( state: string | null, )
packages/importers/src/providers/betterstack/mapper.ts:213
↓ 11 callersFunctionresolveLocaleAction
({ route, page, requestUrl, }: Input)
apps/status-page/src/lib/proxy/resolve-locale-action.ts:15
↓ 11 callersFunctionrunUptimeFreeze
(args: { pipes: UptimeFreezePipes; now?: Date; db?: DB; monitorIds?: number[]; // scope a run (tests,
packages/services/src/frozen-uptime/run.ts:124
↓ 11 callersFunctionsyncMonitorTags
(args: { ctx: ServiceContext; input: SyncMonitorTagsInput; })
packages/services/src/monitor-tag/sync.ts:24
↓ 11 callersFunctiontriggerNotifications
({ monitorId, statusCode, message, notifType, cronTimestamp, incidentId, regions, latency, }:
apps/workflows/src/checker/alerting.ts:17
↓ 10 callersFunctionGetEvent
GetEvent retrieves the event holder from context
apps/private-location/internal/server/routes.go:124
↓ 10 callersMethodIngestDNS
(context.Context, *connect.Request[IngestDNSRequest])
apps/private-location/proto/private_location/v1/private_location.connect.go:55
↓ 10 callersMethodIngestHTTP
(context.Context, *connect.Request[IngestHTTPRequest])
apps/private-location/proto/private_location/v1/private_location.connect.go:54
↓ 10 callersFunctioncleanup
()
packages/api/src/router/import.test.ts:99
↓ 10 callersFunctioncreateError
* Creates a ConnectError with structured metadata.
apps/server/src/routes/rpc/handlers/notification/errors.ts:26
↓ 10 callersFunctioncreateIncident
(overrides: Partial<Incident> = {})
packages/tracker/src/tracker.test.ts:27
↓ 10 callersFunctioncreateLegacyEvent
(id: number, from: Date, to: Date | null)
packages/api/src/router/statusPage.utils.test.ts:1335
↓ 10 callersFunctionformatDate
( date: Date, options?: Intl.DateTimeFormatOptions & { locale?: string }, )
apps/status-page/src/lib/formatter.ts:48
↓ 10 callersFunctionformatDateTime
(date: Date, locale = "en-US")
packages/ui/src/components/blocks/status.utils.ts:105
↓ 10 callersFunctionformatResponseBody
(raw: string | undefined)
apps/web/src/app/(landing)/play/mcp-health/utils.ts:63
↓ 10 callersFunctiongetCurrentImpactsForReport
( tx: DB, statusReportId: number, )
packages/services/src/status-report/internal.ts:267
↓ 10 callersFunctiongetExternalServiceBySlug
(args: { ctx?: GlobalReadContext; slug: string; })
packages/services/src/external-service/list.ts:68
↓ 10 callersFunctiongetIncidentDuration
(incident: Incident)
packages/notifications/base/src/utils/incident.ts:27
↓ 10 callersFunctiongetJsonLDHowTo
(post: MDXData)
apps/web/src/lib/metadata/structured-data.ts:314
↓ 10 callersFunctiongetMDXDataFromDir
(dir: string, prefix = "")
apps/web/src/content/utils/read.ts:31
↓ 10 callersFunctiongetRegionInfo
(region: string, opts?: { location?: string })
packages/regions/index.ts:479
↓ 10 callersFunctionhashApiKey
(token: string)
packages/db/src/utils/api-key.ts:27
↓ 10 callersFunctioninsertTestMonitor
( tx: Tx, overrides: Partial<typeof monitor.$inferInsert> = {}, )
packages/services/src/frozen-uptime/__tests__/run.test.ts:40
↓ 10 callersFunctionisoOrNull
( date: Date | string | number | null | undefined, )
apps/status-page/src/content/status-vocab.ts:84
↓ 10 callersFunctionmergedDowntimeMs
(intervals: WeightedInterval[])
packages/services/src/status-timeline/downtime.ts:6
← previousnext →101–200 of 4,268, ranked by callers