Application Dependency Management Metrics
Metrics enable you to monitor your cloud resources actively and passively.
You can monitor the performance of your resources by using metrics. This topic describes the metrics emitted by the metric namespace oci_adm
.
Application Dependency Management (ADM) metrics help you track the following:
- The number of vulnerability audits that contain a vulnerable dependency.
- The maximum CVSS v2 score of vulnerable dependencies.
- The maximum CVSS v3 score of vulnerable dependencies.
The resource monitored is Knowledge Base.
Prerequisites
To monitor resources, you must be given the required type of access in an IAM policy written by an administrator. Policies are required for using the Console, REST API, or SDK and CLI. The policy must give you access to the monitoring services and the resources being monitored. When you try to perform an action, you might get a message that you don't have permission or are unauthorized. Confirm with your administrator the type of access that you have been granted and which compartment you must work in. For more information about user authorizations for monitoring, see the Authentication and Authorization section in Overview of Monitoring.
The metrics listed on this page are automatically available for any Knowledge Bases that you create. You don't need to enable monitoring on the resource to get these metrics.
Available Metrics
The dimension included in Application Dependency Management metrics is knowledgeBaseId
: Knowledge Base identifier.
Metric | Display Name | Unit | Description | Dimensions |
---|---|---|---|---|
MaxCvssV3Score |
CVSS v3 Score | Count | The maximum CVSS v3 score of vulnerable dependencies. | knowledgeBaseId |
MaxCvssV2Score |
CVSS v2 Score | Count | The maximum CVSS v2 score of vulnerable dependencies. | knowledgeBaseId |
IsVulnerable |
Audits with vulnerable dependencies | 1 or 0
|
The number of vulnerability audits that contain a vulnerable dependency. | knowledgeBaseId |
Using the Oracle Cloud Console
Here's how you view the metric charts:
- In the Console, open the navigation menu. Under Observability & Management, go to Monitoring and click Service Metrics.
- Select the compartment that contains the ADM resource whose performance you want to monitor.
- For Metric namespace, select oci_adm.
The Service Metrics page dynamically updates the page to show charts for each metric that the selected metric namespace emits.
Using the API
To monitor the metrics, use the Monitoring API.
For information about using the API and signing requests, see REST API documentation and Security Credentials.
Here's how you view the metric charts:
- In the Console, open the navigation menu. Under Observability & Management, go to Monitoring and select Service Metrics.
- Select the compartment that contains the ADM resource whose performance you want to monitor.
- For Metric namespace, select oci_adm.
The Service Metrics page dynamically updates the page to show charts for each metric that the selected metric namespace emits.
This task can't be performed using the CLI. To monitor the metrics, use the Monitoring API.
For information about using the API and signing requests, see REST API documentation and Security Credentials.