You can monitor the health, capacity, and performance of your messages by using (Monitoring service) A measurement related to health, capacity, or performance of a given resource. Example: CpuUtilization, The trigger rule and query to evaluate and related configuration, such as notification details to use when the trigger is breached. Alarms passively monitor your cloud resources using metrics in Monitoring., and notifications.
This topic describes the metrics emitted by the metric namespace
oci_notification (the Notifications service).
Resources: Not applicable. Measures data for messages, which are not resources.
Overview of the Notifications Service Metrics
The Notifications service metrics help you measure the number and size of messages that are in initial requests, are delivered, and are not delivered.
- IAM policies: To monitor resources, you must be given the required type of access in a An IAM document that specifies who has what type of access to your resources. It is used in different ways: to mean an individual statement written in the policy language; to mean a collection of statements in a single, named "policy" document (which has an Oracle Cloud ID (OCID) assigned to it); and to mean the overall body of policies your organization uses to control access to resources. written by an administrator, whether you're using the Console or the REST API with an SDK, CLI, or other tool. The policy must give you access to the monitoring services as well as the resources being monitored. If you try to perform an action and get a message that you don’t have permission or are unauthorized, confirm with your administrator the type of access you've been granted and which A collection of related resources that can be accessed only by certain groups that have been given permission by an administrator in your organization. you should work in. For more information on user authorizations for monitoring, see the Authentication and Authorization section for the related service: Monitoring or Notifications.
The metrics listed in the following table are automatically available for messages you publish to topics. You do not need to enable monitoring on any resources to get these metrics.
Each metric includes a subset of the following (Monitoring service) A qualifier provided in a metric definition. Example: Resource identifier (resourceId), provided in the definitions of oci_computeagent metrics.:
- The One or more isolated, fault-tolerant Oracle data centers that host cloud resources such as instances, volumes, and subnets. A region contains one or more availability domains. in which the associated (Notifications service) A communication channel for sending messages to the subscriptions in the topic. resides.
- The subscription protocol of the endpoint used for the delivery attempt.
- The A collection of availability domains located in a single geographic location. in which the associated (Notifications service) A communication channel for sending messages to the subscriptions in the topic. resides.
- The An Oracle-assigned unique ID called an Oracle Cloud Identifier (OCID). This ID is included as part of the resource's information in both the Console and API. of the resource to which the metric applies.
- The friendly name of the associated (Notifications service) A communication channel for sending messages to the subscriptions in the topic..
|Metric||Metric Display Name||Unit||Description||Dimensions|
Published Messages Size (Bytes)
Size of messages in request.
||Published Messages Count||count||Count of messages in request.|
||Delivered Messages Size (Bytes)||bytes||Size of messages successfully delivered to endpoints.||
||Failed Messages Sizes (Bytes)||bytes||Size of messages that did not get delivered to endpoints.|
||Delivered Messages Count||count||Count of messages successfully delivered to endpoints.|
||Failed Messages Count||count||Count of messages that did not get delivered to endpoints.|
Using the Console
- Open the navigation menu. Under Solutions and Platform, go to Application Integration and click Notifications.
- Choose the Compartment that contains the topic you want to view, and then click the topic's name.
In the Resources menu, click Metrics (if necessary).
The Metrics page displays a default set of charts for the current topic.
- Open the navigation menu. Under Solutions and Platform, go to Monitoring and click Service Metrics.
For Metric Namespace, select oci_notification.
The Service Metrics page displays a default set of charts for the selected metric namespace. For more information about the emitted metrics, see the foregoing table. You can also use the Monitoring service to create custom queries.
Using the API
Use the following APIs for monitoring: