OCI Functions provide serverless function execution observability at function level.
Use the Oracle Cloud integration to discover and collect metrics against the OCI Functions.
Setup
To set up the Oracle Cloud integration and discover the OCI Functions service, do the following:
- Create an Oracle Cloud (OCI) integration if not available in your installed integrations.
- You can select
OCI Functionsduring integration or you can edit the existing integration and selectOCI Functions. - Scan to discover the resources at any time independent of the predefined schedule.
- Once the scan is completed, you can view the OCI Functions resource under Infrastructure > Resources > Oracle Cloud category.
- Create a template. See Create a Template for more information on how to create a template.
- Refer to Assign a Template on how to assign a template to a resource.
Supported metrics
| OpsRamp Metric | Oracle Cloud Metric | Metric Display Name | Unit | Description | Aggregation Type |
|---|---|---|---|---|---|
| oci_functions_FunctionInvocationCount | FunctionInvocationCount | Invocations | count | Total number of function invocations. | SUM |
| oci_functions_FunctionExecutionDuration | FunctionExecutionDuration | Execution Duration | ms | Total function execution duration. Expressed in milliseconds. | MEAN |
| oci_functions_FunctionResponseCount | FunctionResponseCount | Responses | count | Number of responses returned by the function. | SUM |
| oci_functions_FunctionErrorCount | FunctionResponseCount | Errors | count | Number of function responses that resulted in an error. | SUM |
| oci_functions_FunctionThrottleCount | FunctionResponseCount | Throttles | count | Number of function responses that were throttled. | SUM |
| oci_functions_FunctionDetachedDeliveries | FunctionDetachedDeliveries | Detached Invoke Deliveries | count | Total number of function detached invoke deliveries. | SUM |
| oci_functions_AllocatedTotalConcurrency | AllocatedTotalConcurrency | Allocated Total Concurrency | MB | Total concurrent memory allocated. | SUM |
| oci_functions_AllocatedProvisionedConcurrency | AllocatedProvisionedConcurrency | Allocated Provisioned Concurrency | MB | Memory consumed by provisioned concurrency slots. | SUM |