Metrics/CloudWatch v3

Add CloudWatch v3 metrics integration

Changed on

Add a CloudWatch v3 metrics integration (Prometheus-based).

Available on all LavinMQ clusters and RabbitMQ clusters running version 3.10.0 or later.

See the CloudWatch metrics setup guide for setup details and supported metrics.

post/integrations/metrics/cloudwatch_v3

Request

  • Base URL
    https://api.cloudamqp.com/api
  • URL
    https://api.cloudamqp.com/api/integrations/metrics/cloudwatch_v3
  • Auth
    HTTP basic

Request body application/x-www-form-urlencoded

regionstring required

AWS region

iam_rolestring required

AWS IAM role ARN with PutMetricData permission. Must match arn:aws:iam::<account_id>:role/<role_name>.

The role's trust policy must allow the CloudAMQP AWS principal arn:aws:iam::714915985929:user/cloudamqp-metrics-publisher to assume it.

iam_external_idstring

(Optional) External identifier for IAM role (e.g., cloudamqp-abc123)

tagsstring

(Optional) Enter tags like env=prod,region=europe

metrics_filterstring[]

(Optional) Metrics to include in the integration export. When omitted, the default metric set is used.

Example request

{
  "region": "us-west-1"
}

Response

Integration created successfully

idinteger

Created integration ID

Example response

{
  "id": 10
}

Changes

    • breaking

      the request property became required

    • breaking

      removed the success response with the status

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the success response with the status