MetricsKeyResultEntry

MetricsKeyResultEntry
MetricsKeyResultEntry

Metrics result for a key

JSON Example
{
    "key": "string",
    "unit": "string",
    "description": "string",
    "results": [
        {
            "object_id": "string",
            "node_id": "string",
            "node_path": "string",
            "node_name": "string",
            "last_known_value": "string",
            "last_known_status": {
                "time": 0,
                "value": "string"
            },
            "data": [
                {
                    "time": 0,
                    "value": "string"
                }
            ]
        }
    ]
}
string
key
Optional

Metric key

unit
Optional

Metrics unit enum

Possible values are : METRIC_COUNT, BITS_PER_SECOND, PERCENT, MILLISECONDS, SECONDS, PER_SECOND, BYTES, KILO_BYTES, KILO_BYTES_PER_SECOND, BYTES_PER_SECOND, KILO_BITS_PER_SECOND, GIGA_BYTES, MEGA_BYTES, NORMALIZED, STRING, SEC, MIN, DAYS, KB, MB, GB, MBPS, GHZ, RATIO, MICROSECONDS, HEALTH, HOURS, PACKETS_PER_SECOND, PACKETS, NANOSECONDS,
string
description
Optional

Description about the metric key

results
Optional

Data per object and node, if data is reported and aggregated per node per object. If a particular metric keys data is not aggregated and reported per node and per object then the node and object info will be empty and only data points will be returned