Managing Instance Tags

Tags facilitate RabbitMQ instance identification and management.

You can add tags to a RabbitMQ instance when creating the instance or add tags on the details page of the created instance. Up to 20 tags can be added to an instance. Tags can be modified and deleted.

A tag consists of a tag key and a tag value. Table 1 lists the tag key and value requirements.

Table 1 Tag key and value requirements

Name

Rules

Tag key

  • Cannot be left blank.
  • Must be unique for the same instance.
  • Can contain a maximum of 36 characters.
  • Cannot contain the following characters: =*<>\,|/
  • Cannot start or end with a space.

Tag value

  • Can contain a maximum of 43 characters.
  • Cannot contain the following characters: =*<>\,|/
  • Cannot start or end with a space.

Procedure

  1. Log in to the management console.
  2. In the upper left corner, click and select a region.

    Select the same region as your application service.

  3. Click and choose Middleware > Distributed Message Service for RabbitMQ to open the console of DMS for RabbitMQ.
  4. Click the desired instance to view its details.
  5. Click the Tags tab.

    View the tags of the instance.

  6. Perform the following operations as required:

    • Adding a tag
      1. Click Add/Edit Tag.
      2. Enter a tag key and a tag value, and click Add.

        If you have created predefined tags, select a pair of tag key and value, and click Add.

      3. Click OK.
    • Deleting a tag
      1. In the row containing the tag to be deleted, click Delete.
      2. Click Yes.