AWS amazon-mq: Add federation metrics and CloudWatch alarm guidance
Summary
Documented two new CloudWatch metrics, FederationCount and FederationLinksCount, and added a recommendation to create a CloudWatch alarm when FederationLinksCount drops to 0 or below baseline to detect loss of federation links.
Security assessment
The change adds monitoring/observability metrics and alarm guidance for federation links. It is security-adjacent (detection/visibility) but addresses availability monitoring rather than a specific vulnerability, so it is not tied to a concrete security issue.
Evidence
+The `FederationCount` and `FederationLinksCount` metrics are emitted only for brokers that use the RabbitMQ federation plugin. We recommend that you create a CloudWatch alarm on `FederationLinksCount` dropping to `0`, or below your expected baseline, to detect a loss of federation links.
Diff
diff --git a/amazon-mq/latest/developer-guide/rabbitmq-logging-monitoring.md b/amazon-mq/latest/developer-guide/rabbitmq-logging-monitoring.md index a945dc6..5e74722 100644 --- a//amazon-mq/latest/developer-guide/rabbitmq-logging-monitoring.md +++ b//amazon-mq/latest/developer-guide/rabbitmq-logging-monitoring.md @@ -20,0 +21,4 @@ The management plugin is [not recommended for production or long-term monitoring +###### Note + +The `FederationCount` and `FederationLinksCount` metrics are emitted only for brokers that use the RabbitMQ federation plugin. We recommend that you create a CloudWatch alarm on `FederationLinksCount` dropping to `0`, or below your expected baseline, to detect a loss of federation links. + @@ -24,0 +29,2 @@ Metric | Unit | Description +`FederationCount` | Count | The total number of federation upstreams configured on the broker across all virtual hosts. +`FederationLinksCount` | Count | The total number of running federation links on the broker across all virtual hosts. A federation link is the connection that transfers messages for each combination of a federated exchange or queue and an upstream. As a result, this value can be greater than `FederationCount`.