Functions
A Functions service (often called serverless functions or Function-as-a-Service, FaaS) provides a managed runtime to run small pieces of code ("functions") on demand without provisioning or managing servers. You deploy code and define triggers/events, and the platform automatically handles scaling, availability, and underlying infrastructure operations. This subject area enables tracking functions, applications, and their details.
Business Questions
The subject area can answer the following business questions:
- How has the number of functions changed over time (daily, weekly, monthly)?
- How has the amount of memory changed over time (daily, weekly, monthly)?
- How many active functions exist today?
- How much memory is currently being used?
Logical Model
The Functions subject area is based on a relationship-driven logical model.
This diagram shows how the Functions fact table is related to its dimension tables:

Metric Details
The fact folders in this subject area include the following metrics:
| Metric | Definition |
|---|---|
| Detached Mode Timeout In Seconds | Provides the timeout for detached function invocation in seconds |
| Functions Function Count | COUNT(ocira_fact_key) from the fact view's ocira_fact_key (maps to ocira$fact_key) |
| Memory In Mbs | Provides the maximum usable memory for the function in MB |
| Timeout In Seconds | Provides the timeout for function execution in seconds |