Skip to content

caeops > metrics

add-to-group

Description


This command helps you add Metrics Service to a group. Run caeops metrics add-to-group --help for more help.

Synopsis


  add-to-group
--name [value]
--group-name [value]

Options


--name (string)

Name of Metrics Service

--group-name (string)

Name of group in which you want to add the Metrics Service

Examples


To add Metrics Service to a group.

The following metrics add-to-group example adds labels to a Metrics Service.

caeops metrics add-to-group --name=name --group-name=example

Output


Metrics Service Details -> (Structure)

  • serviceName -> (string)
    Name of the Metrics Service
  • serviceRegion -> (string)
    Region of Metrics Service
  • serviceEndpoint -> (string)
    Endpoint of the Prometheus Instance
  • serviceType -> (string)
    Type of the resource, metrics-service for Metrics Service
  • groupName -> (string)
    Name of the service group to which the Metrics Service is added
  • labels -> Structure

    • key -> (string) Name of the label

    • value -> (string) Value of the label

  • createdAt -> (long)
    Creation timestamp

  • updatedAt -> (long)
    Last modified timestamp
Back to top