ApiTimeSeriesResponse Data Model

The time series response for a time series query.

Properties
name data type description
timeSeries array of ApiTimeSeries The time series data for this single query response.
warnings array of string The warnings for this single query response.
timeSeriesQuery string The query for this single query response.

Example

{
  "timeSeries" : [ {
    "metadata" : {
      "metricName" : "...",
      "entityName" : "...",
      "startTime" : "...",
      "endTime" : "...",
      "attributes" : {
        "property1" : "...",
        "property2" : "..."
      },
      "unitNumerators" : [ "...", "..." ],
      "unitDenominators" : [ "...", "..." ],
      "expression" : "...",
      "alias" : "...",
      "metricCollectionFrequencyMs" : 12345,
      "rollupUsed" : "..."
    },
    "data" : [ {
      "timestamp" : "...",
      "value" : 12345.0,
      "type" : "...",
      "aggregateStatistics" : { }
    }, {
      "timestamp" : "...",
      "value" : 12345.0,
      "type" : "...",
      "aggregateStatistics" : { }
    } ]
  }, {
    "metadata" : {
      "metricName" : "...",
      "entityName" : "...",
      "startTime" : "...",
      "endTime" : "...",
      "attributes" : {
        "property1" : "...",
        "property2" : "..."
      },
      "unitNumerators" : [ "...", "..." ],
      "unitDenominators" : [ "...", "..." ],
      "expression" : "...",
      "alias" : "...",
      "metricCollectionFrequencyMs" : 12345,
      "rollupUsed" : "..."
    },
    "data" : [ {
      "timestamp" : "...",
      "value" : 12345.0,
      "type" : "...",
      "aggregateStatistics" : { }
    }, {
      "timestamp" : "...",
      "value" : 12345.0,
      "type" : "...",
      "aggregateStatistics" : { }
    } ]
  } ],
  "warnings" : [ "...", "..." ],
  "timeSeriesQuery" : "..."
}