topConsumersToBreakdownItems (usage/compute-usage.ts)

appwrite · apps/console/src/lib/usage/compute-usage.ts · typescript · BSD-3-Clause
analytics, tag:knn-classified

Module exposing: topConsumersToBreakdownItems, COMPUTE_EXECUTIONS_DESCRIPTION, COMPUTE_GB_HOURS_DESCRIPTION, COMPUTE_FUNCTION_EXECUTIONS_DESCRIPTION, COMPUTE_SITE_EXECUTIONS_DESCRIPTION, COMPUTE_FUNCTION_GB_HOURS_DESCRIPTION, COMPUTE_SITE_GB_HOURS_DESCRIPTION, COMPUTE_FUNCTIONS_DOCS_HREF

// Source: https://github.com/appwrite/appwrite | License: BSD-3-Clause | Copyright 2019 Appwrite (https://appwrite.io) and individual contributors
// Provided via justclaw.it.com; keep this notice with the code.
import type { UsageTopEndpoint } from '@/lib/usage/usage-events-common'
import type { UsageBreakdownItem } from '@/lib/usage/requests-breakdowns'
import { isUsageProjectResourceType } from '@/lib/usage/usage-resource-filters'

export const COMPUTE_EXECUTIONS_DESCRIPTION =
  'Function and site executions during the selected period. Each HTTP trigger, schedule run, event invocation, or site request counts as one execution.'

export const COMPUTE_GB_HOURS_DESCRIPTION =
  'Compute time during the selected period, measured in gigabyte-hours (GBH). Memory allocated to functions and site

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key