Help Docs

OCI Functions monitoring

Oracle Cloud Infrastructure (OCI) Functions is a serverless platform that lets you run code without managing infrastructure. You organize your code into applications, which serve as containers for your function configurations, networking, and logging resources. You can create functions that contain the actual code logic within the application using OCI Functions.

Overview

Monitoring OCI Functions with Site24x7 ensures your serverless workloads stay reliable, cost-effective, and aligned with business goals. Without active monitoring, errors in function logic, inefficient executions, or misconfigured applications may go unnoticed until they affect customers.

Site24x7 provides real-time visibility into both the application and function layers, enabling quick detection of failures, performance bottlenecks, and scaling issues. This proactive approach helps you minimize downtime, optimize usage costs, and deliver consistent service quality. This integration provides the following two monitors:

  • OCI Application: Tracks the overall health and configuration of OCI Functions applications. It collects metadata such as the application’s compartment, networking details, and associated functions.
  • OCI Functions: Focuses on individual functions running within an application. Site24x7 captures key metrics such as Function Invocation , Function Responses , and Function Error Responses . This helps you isolate issues, measure function efficiency, and optimize execution costs.

Use cases

  • An e-commerce site uses OCI Functions to generate invoices, send email confirmations, and update order statuses. By monitoring both the application and functions in Site24x7, the operations team ensures these workflows run reliably, leading to seamless order processing and improved customer trust.
  • A logistics company deploys multiple functions inside an application to manage inventory updates, shipment tracking, and notifications. If the application’s configuration or VCN setup has issues, all functions inside may fail. With Site24x7's integrated OCI Application monitor, the team quickly identifies that the root problem lies at the application level, saving hours of manual troubleshooting.
  • A payments team deploys functions to process online transactions. If a sudden code error causes failures in the payment function, Site24x7’s integrated OCI Functions monitor immediately captures the spike in error count and sends alerts. The team can roll back or patch the function quickly, reducing downtime and minimizing impact on customers.

Benefits of Site24x7's OCI Functions integration

Integrate your OCI Functions with Site24x7 and leverage the following benefits:

  • Error detection: Get alerts on failures or anomalies in execution trends.
  • Cost optimization: Identify inefficient functions that consume excessive time or resources.
  • Dependency visibility: Understand how application-level issues may impact multiple functions.
  • Proactive monitoring: Catch problems early with automated thresholds and alerting.

Setup and configuration

  • Site24x7 uses cross-tenancy access to monitor your resources using Site24x7's tenancy user. Log in to your Site24x7 account, and create a specific policy to allow Site24x7 to view your resources without affecting your security.
  • On the Integrate OCI Monitor page, select OCI Functions from the Services to be discovered list.

Policies and permissions

Ensure that the associated OCI policy has the following statement:

  • "read functions-family"

Polling frequency

Site24x7 queries OCI service-level APIs according to the set polling frequency (from once a minute to once a day) to collect metrics from the OCI Functions monitors.

Supported metrics

OCI Application

The supported metrics for OCI Application monitor are given below.

Metric name Description Statistics Unit
Total Invocations Count Total number of function invocations across all functions within the application. Provides application-level view of overall usage patterns. Sum Count
Sync Invocations Count Number of synchronous function invocations where the caller waits for the response. Sum Count
Detached Invocations Count Number of asynchronous function invocations that execute independently without requiring immediate response to the caller. Sum Count
Total Responses Count Total number of responses generated by all functions within the application, including successful, error, and throttled responses. Sum Count
Error Responses Count Number of function responses that resulted in errors across the entire application. Essential for application health monitoring. Sum Count
Success Responses Count Number of successful function responses across all functions in the application. Key indicator of application reliability. Sum Count
Throttled Responses Count Number of responses that were throttled due to exceeding concurrency limits or rate limits at the application level. Sum Count
Average Execution Duration Average execution time across all functions within the application. Provides application-level performance overview. Average Milliseconds
Total Provisioned Concurrency Total allocated provisioned concurrency across all functions in the application. Average Megabytes
Allocated Total Concurrency Total allocated concurrency in the application. Average Megabytes
Error Rate Calculated percentage of error responses versus total responses at the application level. Critical reliability indicator for the entire application. Values above 1-2% typically require investigation. Average Percentage
Success Rate Percentage of successful responses versus total responses at the application level. Key performance indicator showing overall application health. Average Percentage
Throttle Rate Percentage of throttled responses versus total responses at the application level. Key performance indicator showing overall application health. Average Percentage

OCI Functions

The supported metrics for OCI Functions monitor are given below.

Metric name Description Statistics Unit
Function Invocations Total number of invocations for the specific function, combining both sync and detached invocations. Sum Count
Function Sync Invocations Number of synchronous invocations for the specific function where caller waits for response. Sum Count
Function Detached Invocations Number of asynchronous invocations for the specific function that execute independently. Sum Count
Function Responses Total number of responses generated by the specific function, including all response types. Sum Count
Function Error Responses Number of error responses from the specific function. Sum Count
Function Success Responses Number of successful responses from the specific function. Key indicator of function health. Sum Count
Function Throttled Responses Number of throttled responses from the specific function due to concurrency or rate limits. Sum Count
Function Average Duration Average execution time for the specific function. Essential for performance monitoring and optimization. Average Milliseconds
Function Max Duration Maximum execution time recorded for the specific function. Important for identifying performance spikes and outliers. Maximum Milliseconds
Function Error Rate Calculated percentage of error responses versus total responses for the specific function. Key reliability indicator. Average Percentage
Function Success Rate Percentage of successful responses versus total responses for the specific function. Primary health indicator. Average Percentage
Allocated Provisioned Concurrency Amount of provisioned concurrency currently allocated to the specific function. Important for performance and cost monitoring. Average Megabytes

Threshold configuration

To configure thresholds for the OCI Functions monitors:

  1. Log in to your Site24x7 account and navigate to Admin > Configuration Profiles > Threshold and Availability.
  2. Click Add Threshold Profile.
  3. Select the applicable monitor from the Monitor Type drop-down menu and provide an appropriate name in the Display Name field. The available options are OCI Applications and OCI Functions.
  4. The supported metrics are displayed in the Threshold Configuration section. You can set threshold values for all the metrics mentioned above.
  5. Click Save.

Licensing

  • Each OCI Application monitor utilizes one basic monitor license.
  • Each OCI Functions monitor utilizes one basic monitor license.

Viewing OCI Functions data

To monitor your OCI Functions environment, log in to your Site24x7 account and navigate to Cloud > OCI > OCI Applications.

To view the OCI Functions monitor data, go to OCI Applications > Functions tab and click the OCI Functions monitor hyperlink.

Monitor data

OCI Application

The monitor data for the OCI Application monitor is given below.

Summary

The Summary tab offers a comprehensive overview of the events timeline and metrics, presenting insightful charts that shed light on the performance of the OCI Application monitor.

Functions

The Functions tab displays the Functions Availability details and the list of OCI Functions monitors associated with the OCI Application monitor. Click the desired monitor name hyperlink to view the OCI Functions monitor data.

Configuration

The Configuration tab summarizes essential details of the OCI Application monitor, including its Application Name, Region, Lifecycle State, and other configuration details. This tab also includes the Application Log Details section where details are available only if the underlying function was invoked within the last 24 hours. If no function executions occurred in that period, the log details will not be displayed.

Zia Forecast

The Zia Forecast tab displays the forecast chart with future points of a performance metric (measurement of resource usage) based on historical time series data. Thirty days of historical data are used to predict what your metric usage will be in the next seven days.

Outages

The Outages tab provides details on an outage's Start Time, End Time, Duration, and Comments (if any).

Inventory

Obtain details like Region, Monitor Licensing Category, and much more from the Inventory tab. The Threshold and Availability Profile and the Notification Profile can be set according to the user and viewed in this tab.

Log Report

The Log Report tab offers a consolidated report of the OCI Application monitor's log status, which can be downloaded as a CSV file.

Alert Logs

The Alert Logs tab displays a chronological list of all triggered alerts related to the Application monitor. This tab helps you trace alert history and severity to assess issues and validate threshold settings.

OCI Functions

The monitor data for the OCI Functions monitor is given below.

Summary

The Summary tab offers a comprehensive overview of the events timeline and metrics, presenting insightful charts that shed light on the performance of the OCI Functions monitor.

Recent Logs

The Recent Logs tab provides a live view of the latest invocation logs for your monitored function. It helps you verify function execution, debug errors, and analyze performance trends in near real time.

Note

Only logs from the last 24 hours are displayed. Logs older than 24 hours are not available in this view. These logs are fetched through API calls and displayed on demand. However, Site24x7 does not store them in the database. If you wish to view older logs, you can view them in your OCI console.

Configuration

The Configuration tab summarizes essential details of the OCI Functions monitor, including its Application OCID, Region, and other configuration details.

Zia Forecast

The Zia Forecast tab displays the forecast chart with future points of a performance metric (measurement of resource usage) based on historical time series data. Thirty days of historical data is used to predict what your metric usage will be in the next seven days.

Outages

The Outages tab provides details on an outage's Start Time, End Time, Duration, and Comments (if any).

Inventory

Obtain details like Region, Monitor Licensing Category, and much more from the Inventory tab. The Threshold and Availability Profile and the Notification Profile can be set according to the user and viewed in this tab.

Log Report

The Log Report tab offers a consolidated report of the OCI Functions monitor's log status, which can be downloaded as a CSV file.

Alert Logs

The Alert Logs tab displays a chronological list of all triggered alerts related to the OCI Functions monitor. This tab helps you trace alert history and severity to assess issues and validate threshold settings.

Related articles

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.


We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.


Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!