vania-janet/multiturn-rag-retrieval-data huggingface dataset:
Release notes for IBM Cloud® Messages for RabbitMQ 

Use these release notes to learn about the latest updates to IBM Cloud® Messages for RabbitMQ that are grouped by date or build number.



 23 May 2023 

Setting up disk alerts for disk utilization tutorial
: In this tutorial, you use the IBM Cloud API and the [IBM Cloud CLI](https://cloud.ibm.com/docs/cli?topic=cli-getting-started) to set up an alert that emails you whenever the disk utilization of your database exceeds 90%. This specific example creates an alert on a Databases for Elasticsearch deployment, but it is applicable to all the databases in the IBM Cloud Databases catalog. For more information, see [Setting up disk alerts for disk utilization](https://cloud.ibm.com/docs/messages-for-rabbitmq?topic=messages-for-rabbitmq-disk-util-alert-tutorial).





 09 March 2023 

RabbitMQ Version 3.11 Release
: IBM Cloud® Messages for RabbitMQ version 3.11 is now available. With this release, messages that are delivered by a quorum queue and negatively acknowledged with a requeue are added to the back of the queue until the queue has redelivery limit set. With a redelivery limit, requeueing uses the original position of the message, if possible. With this update, if you get stuck or requeue deliveries at a high rate, you do not indefinitely grow the quorum queue Raft log, potentially driving the node out of disk space. If the original behavior is important to keep, ensure your applications' quorum queues have a redelivery limit set. This is a potentially breaking change. For more information, see [Upgrading to a new Major Version](https://cloud.ibm.com/docs/messages-for-rabbitmq?topic=messages-for-rabbitmq-upgrading).

Unmirrored Classic Queues Handling Change
: With the release of version 3.11, unmirrored classic queue handling is changed. If a node was to be shut down during maintenance, an unmirrored classic queue was automatically moved to another node.
: Is the [service key](https://cloud.ibm.com/docs/activity-tracker?topic=activity-tracker-service_keys) for your IBM Cloud Activity Tracker instance.

MAX_LINES
: Is the number of lines required in order to trigger the alert.

MAX_Z_SCORE
: Is the number of standard deviations above the 30 day average lines in order to trigger the alert.

ENABLED
: Specify if the index rate configuration is enabled (true) or disabled (false).

CHANNELS
: Can be email or pagerduty. If email then specify a comma-separated list of email addresses. For example, {"email":["emailaddress@company.com"]}. If pagerduty specify the PagerDuty key.

THRESHOLD_ALERT
: Is tetermines if you want alerts to be triggered if both the max lines and standard deviation have been triggered, or if one of the thresholds has been reached. Valid values are separate and both.

FREQUENCY
: Determines if recipients are notified once per hour, or once per day, (starting when the threshold is passed the first time) until the index rate drops below the thresholds. When the index rate drops below the thresholds, alerting stops. Valid values are hourly and daily





 Getting the index rate alert configuration 

You can retrieve your index rate alert configuration by running the following:

curl -X GET https://<ENDPOINT>/v1/config/index-rate -H 'content-type: application/json' -H 'servicekey: <SERVICE_KEY>'

Where:

ENDPOINT
: Is the [endpoint]/docs/activity-tracker?topic=activity-tracker-endpoints) for your IBM Cloud Activity Tracker instance.

SERVICE_KEY
: Is the [service key](https://cloud.ibm.com/docs/activity-tracker?topic=activity-tracker-service_keys) for your IBM Cloud Activity Tracker instance.

Output similar to the following is returned:
[Available](https://cloud.ibm.com/docs-content/v1/content/icons/checkmark-icon.svg) 
 General: Administrator View ![Available](https://cloud.ibm.com/docs-content/v1/content/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/icons/checkmark-icon.svg) 
 General: Send Notification ![Available](https://cloud.ibm.com/docs-content/v1/content/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/icons/checkmark-icon.svg) 
 General: View Error Details ![Available](https://cloud.ibm.com/docs-content/v1/content/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/icons/checkmark-icon.svg) ![Available](https://cloud.ibm.com/docs-content/v1/content/icons/checkmark-icon.svg) !
For example, you can set 12h to show events for the last 12 hours, 15m to show events for the last 15 minutes, or 10d to show events for the last 10 days.

--from <TIMESTAMP>
: The UNIX timestamp in seconds for the beginning of the events.

--to <TIMESTAMP>
: The UNIX timestamp in seconds for the end of the events.

--limit <LIMIT>
: Maximum number of events to print in the period of time specified in the request. By default, the parameter is set to a 100 events. The maximum number of events hat you can set is 10000.

--output <TYPE>
: A comma-separated list of output preferences enclosed in double-quotes ("). If only a single preference is specified, the double-quotes can be omitted. Supported options are WIDE and JSON.

If JSON is specified, output will be returned in JSON format. If JSON is not specified, output will be returned in a tabular format.

WIDE returns additional details in the output.

--team <TEAM_NAME>
: The name of the IBM Cloud Monitoring team to be used for authorization. If no team is specified, the default team will be used.

--help | -h
: List options available for the command.





 Examples 

The following are examples using the ibmcloud monitoring event list command.

List events for the IBM Cloud Monitoring abc instance.

ibmcloud monitoring event list --name "IBM Cloud Monitoring abc"

List events for the IBM Cloud Monitoring abc instance in the us-south region.

ibmcloud monitoring event list --name "IBM Cloud Monitoring abc" --region us-south

List events for the IBM Cloud Monitoring abc instance in the us-south region for the last hour.

ibmcloud monitoring event list --name "IBM Cloud Monitoring abc" --region us-south --duration 1H







 ibmcloud monitoring settings notification list 

Use this command to list notification channels.

ibmcloud monitoring settings notification list --name NAME [--region REGION] [--output FORMAT]



 Command options
Ideally this should be zero. It indicates clients that are not configured correctly. Clients must use the SNI extension for TLS to connect to the service. If this value is nonzero, ensure that all clients are at correct level and configured correctly for [SNI](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-kafka_using).





 Number of offline partitions 

The number of partitions offline in an Event Streams instance.



Table 15. Number of offline partitions metric metadata

 Metadata Description 

 Metric Name ibm_eventstreams_kafka_offline_partitions 
 Metric Type gauge 
 Value Type none 
 Segment By Service instance 



Ideally this value should be zero. A nonzero value might indicate to a temporary issue with the cluster. It might also indicate to a Kafka partition leader election difficulty.





 Number of partitions 

The number of leader partitions in an Event Streams instance.



Table 16. Number of partitions metric metadata

 Metadata Description 

 Metric Name ibm_eventstreams_instance_partitions 
 Metric Type gauge 
 Value Type none 
 Segment By Service instance, Service instance name 



This is for information to help you monitor trends in your usage. Refer to [Event Streams](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-plan_choose) to determine what the recommended limits are for your plan and cluster.





 Number of topics 

The number of topics in an Event Streams instance.



Table 17. Number of topics metric metadata

 Metadata Description 

 Metric Name ibm_eventstreams_instance_topics 
 Metric Type gauge 
 Value Type none 
 Segment By Service instance, Service instance name 







 Number of under in-sync replica partitions 

The number of partitions with fewer than two in-sync replicas.



Table 18. Number of under in-sync replica partitions metric metadata

 Metadata Description 

 Metric Name ibm_eventstreams_kafka_under_minisr_partitions 
 Metric Type gauge 
 Value Type none 
 Segment By Service instance 



Ideally this value should be zero.
Segment By Service instance, Service instance name 







 Number of under in-sync replica partitions 

The number of partitions with fewer than two in-sync replicas.



Table 18. Number of under in-sync replica partitions metric metadata

 Metadata Description 

 Metric Name ibm_eventstreams_kafka_under_minisr_partitions 
 Metric Type gauge 
 Value Type none 
 Segment By Service instance 



Ideally this value should be zero. A nonzero value might highlight a temporary issue with the cluster.





 Produce message conversion time 

Indicates that the accumulated time spent performing message conversion from clients that are producing by using older protocol versions.



Table 19. Produce message conversion time metric metadata

 Metadata Description 

 Metric Name ibm_eventstreams_instance_produce_conversions_time_quantile 
 Metric Type gauge 
 Value Type second 
 Segment By Service instance, Quantile, Service instance name 



Ideally zero. A consistent growth in this indicates that some clients are down-level and should be upgraded. Ensure that all clients are at the latest levels.





 Rebalancing consumer groups 

The number of rebalancing consumer groups in an Event Streams instance.



Table 20. Rebalancing consumer groups metric metadata

 Metadata Description 

 Metric Name ibm_eventstreams_instance_rebalancing_consumergroups 
 Metric Type gauge 
 Value Type none 
 Segment By Service instance, Service instance name 



While it is expected that this figure is occasionally >0 (as broker restarts happen frequently,) sustained high levels suggest that consumers might be restarting frequently and leaving or rejoining the consumer groups. Check you client logs.





 Reserved disk space percentage 

The percentage of reserved disk space that is required for all allocated partitions if fully used.



Table 21. Reserved disk space percentage metric metadata

 Metadata Description 

 Metric Name ibm_eventstreams_instance_reserved_disk_space_percent 
 Metric Type gauge 
 Value Type percent 
 Segment By Service instance, Service instance name 



Shows the percentage of disk space that would be used if your topics were filled to the extent of their configured retention size.





 Schema greatest version percentage
[Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) 
 [Instance bytes out per second](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_instance_bytes_out_per_second) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) 
 [Missing SNI connections](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_kafka_missing_sni_host_total) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg)
[Missing SNI connections](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_kafka_missing_sni_host_total) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) 
 [Number of offline partitions](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_kafka_offline_partitions) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) 
 [Number of partitions](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_instance_partitions) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg)
[Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) 
 [Topic bytes out per second](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_instance_topic_bytes_out_per_second) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) 
 [IAM ID bytes in per second](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_iam_id_bytes_in_per_second) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg)
Segment By Service instance, ibm_functions_namespace, ibm_functions_package, ibm_functions_action 







 ibm_functions_status_error_developer 

The number of unsuccessful activations that are caused by the developer.



Table 8: Developer errors metric metadata

 Metadata Description 

 Metric Name ibm_functions_status_error_developer 
 Metric Type counter 
 Value Type none 
 Segment By Service instance, ibm_functions_namespace, ibm_functions_package, ibm_functions_action 







 ibm_functions_status_error_internal 

The number of unsuccessful activations that are caused by Cloud Functions internal errors.



Table 9: Internal errors metric metadata

 Metadata Description 

 Metric Name ibm_functions_status_error_internal 
 Metric Type counter 
 Value Type none 
 Segment By Service instance, ibm_functions_namespace, ibm_functions_package, ibm_functions_action 







 ibm_functions_status_success 

The number of successful activations of action code.



Table 10: Successful activations metric metadata

 Metadata Description 

 Metric Name ibm_functions_status_success 
 Metric Type counter 
 Value Type none 
 Segment By Service instance, ibm_functions_namespace, ibm_functions_package, ibm_functions_action 







 ibm_functions_timed_rate_limit 

The sum of activations that were throttled due to exceeding the per-minute limit.



Table 11: Activations exceeded time limit metric metadata

 Metadata Description 

 Metric Name ibm_functions_timed_rate_limit 
 Metric Type counter 
 Value Type none 
 Segment By Service instance, ibm_functions_namespace, ibm_functions_package, ibm_functions_action 







 ibm_functions_wait_time 

The average time that is spent in a queue, waiting for an activation to be scheduled in milliseconds.



Table 12: Average wait time metric metadata

 Metadata Description 

 Metric Name ibm_functions_wait_time 
 Metric Type gauge 
 Value Type second 
 Segment By Service instance, ibm_functions_namespace, ibm_functions_package, ibm_functions_action 









 Attributes for segmentation 



 Global attributes 

The following attributes are available for segmenting all the metrics previously listed.



Table 13: Global attributes

 Attribute Attribute name Attribute description
[Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) 
 [Inactive consumer groups](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_instance_inactive_consumergroups) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) 
 [Instance bytes in per second](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_instance_bytes_in_per_second) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg)
[Number of under in-sync replica partitions](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_kafka_under_minisr_partitions) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) 
 [Produce message conversion time](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_instance_produce_conversions_time_quantile) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) 
 [Rebalancing consumer groups](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_instance_rebalancing_consumergroups) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) 
 [Reserved disk space percentage](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_instance_reserved_disk_space_percent) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg)
The percentage of reserved disk space that is required for all allocated partitions if fully used.



Table 21. Reserved disk space percentage metric metadata

 Metadata Description 

 Metric Name ibm_eventstreams_instance_reserved_disk_space_percent 
 Metric Type gauge 
 Value Type percent 
 Segment By Service instance, Service instance name 



Shows the percentage of disk space that would be used if your topics were filled to the extent of their configured retention size.





 Schema greatest version percentage 

The percentage of schema version capacity used for the schema with the greatest number of versions in the registry.



Table 22. Schema greatest version percentage metric metadata

 Metadata Description 

 Metric Name ibm_eventstreams_instance_schema_registry_schema_versions_greatest_percentage 
 Metric Type gauge 
 Value Type percent 
 Segment By Service instance, Service instance name 







 Schema used percentage 

The percentage of schema capacity used in the schema registry.



Table 23. Schema used percentage metric metadata

 Metadata Description 

 Metric Name ibm_eventstreams_instance_schema_registry_schemas_used_percentage 
 Metric Type gauge 
 Value Type percent 
 Segment By Service instance, Service instance name 







 Stable consumer groups 

The number of stable consumer groups in an Event Streams instance.



Table 24. Stable consumer groups metric metadata

 Metadata Description 

 Metric Name ibm_eventstreams_instance_stable_consumergroups 
 Metric Type gauge 
 Value Type none 
 Segment By Service instance, Service instance name 



Use along with rebalancing consumer groups. If this is consistently zero and rebalancing high, then it indicates a cluster problem. If this is nonzero and rebalancing high, it indicates a consumer group issue.





 Topic bytes in per second 

The number of bytes produced per second to a topic.



Table 25. Topic bytes in per second metric metadata

 Metadata Description 

 Metric Name ibm_eventstreams_instance_topic_bytes_in_per_second 
 Metric Type gauge 
 Value Type byte 
 Segment By Service instance, IBM Event Streams Kafka topic, Service instance name
Amount of virtual memory used by the mongod process. Generally, virtual memory should be slightly larger than mapped memory. If virtual memory is many gigabytes larger, it indicates that excessive memory is being used by other aspects than the memory mapping of files and is sub-optimal. The most common case of usage of a high amount of memory for non-mapped is excessive connections to the database. Each connection has a thread stack and the memory for those stacks can add up considerably.



Table 19: Process virtual memory in bytes metric metadata

 Metadata Description 

 Metric Name ibm_databases_for_mongodb_process_virtual_memory_bytes 
 Metric Type gauge 
 Value Type byte 
 Segment By Service instance 







 Replica set member state 

An integer between 0 and 10 that represents the replica state of the current member.



Table 20: Replica set member state metric metadata

 Metadata Description 

 Metric Name ibm_databases_for_mongodb_status 
 Metric Type gauge 
 Value Type count 
 Segment By Service instance 







 Replication lag 

The replication lag in seconds



Table 21: Replication lag metric metadata

 Metadata Description 

 Metric Name ibm_databases_for_mongodb_replica_lag 
 Metric Type gauge 
 Value Type second 
 Segment By Service instance 







 Total disk space for an instance 

Represents the total amount of disk available to your deployment



Table 22. Total disk space for an instance metric metadata

 Metadata Description 

 Metric Name ibm_databases_for_mongodb_disk_total_bytes 
 Metric Type gauge 
 Value Type byte 
 Segment By Service instance 







 Used CPU for an instance 

How much CPU is used as a percentage of total CPU available. Only for deployments that have dedicated CPU.



Table 23. Used CPU for an instance metric metadata

 Metadata Description 

 Metric Name ibm_databases_for_mongodb_cpu_used_percent 
 Metric Type gauge 
 Value Type percent 
 Segment By Service instance 







 Used disk space for an instance 

How much disk your deployment is using.



Table 24. Used disk space for an instance metric metadata

 Metadata Description 

 Metric Name ibm_databases_for_mongodb_disk_used_bytes 
 Metric Type gauge
In the ping statistics output, note the average (avg) round-trip distance in milliseconds (ms) between the host and the IBM Cloud region, and compare whether the connection meets the latency requirement of less than or equal to 200 milliseconds (<= 200ms).

Example of a connection that meets the latency requirements

--- 169.63.123.154 ping statistics ---
25 packets transmitted, 25 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 48.131/77.716/181.397/27.893 ms

Example of a connection that does not meet the latency requirements

--- 158.175.120.210 ping statistics ---
9 packets transmitted, 9 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 138.453/217.370/419.901/108.211 ms