ApiTimeSeries Data Model

A time series represents a stream of data points. Each data point contains a time and a value. Time series are returned by executing a tsquery.

Properties
name data type description
metadata ApiTimeSeriesMetadata Metadata for the metric.
data array of ApiTimeSeriesData List of metric data points.

Example

{
  "metadata" : {
    "metricName" : "...",
    "entityName" : "...",
    "startTime" : "...",
    "endTime" : "...",
    "attributes" : {
      "property1" : "...",
      "property2" : "..."
    },
    "unitNumerators" : [ "...", "..." ],
    "unitDenominators" : [ "...", "..." ],
    "expression" : "...",
    "alias" : "...",
    "metricCollectionFrequencyMs" : 12345,
    "rollupUsed" : "..."
  },
  "data" : [ {
    "timestamp" : "...",
    "value" : 12345.0,
    "type" : "...",
    "aggregateStatistics" : {
      "sampleTime" : "...",
      "sampleValue" : 12345.0,
      "count" : 12345,
      "min" : 12345.0,
      "minTime" : "...",
      "max" : 12345.0,
      "maxTime" : "...",
      "mean" : 12345.0,
      "stdDev" : 12345.0,
      "crossEntityMetadata" : { }
    }
  }, {
    "timestamp" : "...",
    "value" : 12345.0,
    "type" : "...",
    "aggregateStatistics" : {
      "sampleTime" : "...",
      "sampleValue" : 12345.0,
      "count" : 12345,
      "min" : 12345.0,
      "minTime" : "...",
      "max" : 12345.0,
      "maxTime" : "...",
      "mean" : 12345.0,
      "stdDev" : 12345.0,
      "crossEntityMetadata" : { }
    }
  } ]
}