Class TimeseriesDataPointQueryResult
- java.lang.Object
-
- de.tsystems.mms.apm.performancesignature.dynatracesaas.rest.model.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TimeseriesDataPointQueryResult.Container
-
Constructor Summary
Constructors Constructor Description TimeseriesDataPointQueryResult()
-
Method Summary
-
-
-
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
-
unit
public TimeseriesDataPointQueryResult unit(UnitEnum unit)
-
getUnit
public UnitEnum getUnit()
Unit of data points.- Returns:
- unit
-
setUnit
public void setUnit(UnitEnum unit)
-
aggregationType
public TimeseriesDataPointQueryResult aggregationType(AggregationTypeEnum aggregationType)
-
getAggregationType
public AggregationTypeEnum getAggregationType()
The type of data points aggregation.- Returns:
- aggregationType
-
setAggregationType
public void setAggregationType(AggregationTypeEnum aggregationType)
-
resolutionInMillisUTC
public TimeseriesDataPointQueryResult resolutionInMillisUTC(Long resolutionInMillisUTC)
-
getResolutionInMillisUTC
public Long getResolutionInMillisUTC()
Resolution of data points.- Returns:
- resolutionInMillisUTC
-
setResolutionInMillisUTC
public void setResolutionInMillisUTC(Long resolutionInMillisUTC)
-
entities
public TimeseriesDataPointQueryResult entities(Map<String,String> entities)
-
putEntitiesItem
public TimeseriesDataPointQueryResult putEntitiesItem(String key, String entitiesItem)
-
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
-
timeseriesId
public TimeseriesDataPointQueryResult timeseriesId(String timeseriesId)
-
getTimeseriesId
public String getTimeseriesId()
The ID of the metric.- Returns:
- timeseriesId
-
setTimeseriesId
public void setTimeseriesId(String timeseriesId)
-
-