Get metric groups for the target

get

http://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/targets/{targetId}/metricGroups

List all the metrics groups of the specified target, ordered by metric group name. When include=metrics is specified, it includes details of the metrics in the group.

Request

Path Parameters
Query Parameters
  • Maximum Length: 32
    Optional parameter. When include=metrics is specified, it includes details of the metrics in the group.
    • Allowed Values: [ "metrics" ]
    Example:
    metrics

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : MetricGroupCollection
Type: object
List of metric groups ordered by name.
Show Source
Nested Schema : items
Type: array
List of metric groups ordered by name.
Show Source
Nested Schema : MetricGroup
Type: object
Metric group metadata
Show Source
Nested Schema : keys
Type: array
(Optional) List of keys for this metric group, if present. Included if query parameter include=metrics is specified.
Show Source
Example:
[
    {
        "name":"mountPoint",
        "displayName":"Mount Point"
    }
]
Nested Schema : metrics
Type: array
(Optional) List of metrics present in this metric group. Included if query parameter include=metrics is specified.
Show Source
Example:
[
    {
        "id":"6E65075DA52ACA744B4B8C3FCB018289",
        "name":"pctAvailable",
        "displayName":"Filesystem Space Available (%)",
        "dataType":"NUMBER",
        "categoryName":"Utilization",
        "unitDisplayName":"%"
    },
    {
        "id":"162045AD9191652427CAC47D8BA40671",
        "name":"size",
        "displayName":"Filesystem Size (MB)",
        "dataType":"NUMBER",
        "unitDisplayName":"MB"
    },
    {
        "id":"E8838C71E687BF0A9E02FFACC0C9AC80",
        "name":"available",
        "displayName":"Filesystem Space Available (MB)",
        "dataType":"NUMBER",
        "categoryName":"Utilization",
        "unitDisplayName":"MB"
    },
    {
        "id":"C80F6EAA9145C76D30DE8705346D5AAA",
        "name":"fileSystem",
        "displayName":"Filesystem",
        "dataType":"STRING"
    }
]
Nested Schema : MetricKey
Type: object
Metric key metadata
Show Source
Nested Schema : Metric
Type: object
Metric metadata
Show Source
Examples

400 Response

Bad Request. The payload is null or missing some parameters
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

401 Response

Unauthorized. The user does not have permissions to perform the requested operation
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

404 Response

Not Found. The requested REST API URL is not found.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

500 Response

Internal Server Error. Exception in execution of REST API.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

503 Response

Service Unavailable. The server is unable to process the request.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source
Back to Top