MetricSeriesData Class
- java.
lang. Object - com.
azure. ai. metricsadvisor. models. MetricSeriesData
- com.
public final class MetricSeriesData
The MetricSeriesData model.
Constructor Summary
Constructor | Description |
---|---|
MetricSeriesData() |
Creates a new instance of Metric |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getMetricId()
Get the metric unique id. |
List<Double> |
getMetricValues()
Get the values of the data related to this time series. |
Dimension |
getSeriesKey()
Get the dimension name and value pair. |
List<Offset |
getTimestamps()
Get the timestamps of the data related to this time series. |
Methods inherited from java.lang.Object
Constructor Details
MetricSeriesData
public MetricSeriesData()
Creates a new instance of MetricSeriesData.
Method Details
getMetricId
public String getMetricId()
Get the metric unique id.
Returns:
getMetricValues
public List
Get the values of the data related to this time series.
Returns:
getSeriesKey
public DimensionKey getSeriesKey()
Get the dimension name and value pair.
A DimensionKey can hold such a combination, for example, [ product_category=men-shoes, city=redmond ] identifies one specific time-series.
Returns:
getTimestamps
public List
Get the timestamps of the data related to this time series.
Returns:
Applies to
Azure SDK for Java