Class TimeseriesDataPointQueryResult


  • public class TimeseriesDataPointQueryResult
    extends Object
    List of datapoints, as well as attributes describing the unit of the returned data points, the result resolution of the metric and the selected type of aggregation.
    • Constructor Detail

      • TimeseriesDataPointQueryResult

        public TimeseriesDataPointQueryResult()
    • Method Detail

      • getDataPoints

        public Map<String,​Map<Long,​Double>> getDataPoints()
        Metric data points A JSON object that maps the ID of the entity that delivered the data points and an array, which consists of arrays of the data point float values. May contain more that one entity ID per record (for example, a host and its network interface). In such cases, entity IDs are separated by commas. A datapoint contains a value and a timestamp, at which the value was recorded. There are three versions of data points: Numeric datapoint: contains a numeric value Enum datapoint: contains an enum value (currently only for availability timeseries) Prediction datapoint: Similar to the numeric datapoint, but it contains a confidence interval, within which the future values are expected to be
        Returns:
        dataPoints
      • getUnit

        public UnitEnum getUnit()
        Unit of data points.
        Returns:
        unit
      • setUnit

        public void setUnit​(UnitEnum unit)
      • getAggregationType

        public AggregationTypeEnum getAggregationType()
        The type of data points aggregation.
        Returns:
        aggregationType
      • getResolutionInMillisUTC

        public Long getResolutionInMillisUTC()
        Resolution of data points.
        Returns:
        resolutionInMillisUTC
      • setResolutionInMillisUTC

        public void setResolutionInMillisUTC​(Long resolutionInMillisUTC)
      • getEntities

        public Map<String,​String> getEntities()
        Entities where the data points originate. A JSON object that maps the entity ID in Dynatrace and the actual name of the entity.
        Returns:
        entities
      • setEntities

        public void setEntities​(Map<String,​String> entities)
      • getTimeseriesId

        public String getTimeseriesId()
        The ID of the metric.
        Returns:
        timeseriesId
      • setTimeseriesId

        public void setTimeseriesId​(String timeseriesId)