MetricSeriesData Class

  • java.lang.Object
    • com.azure.ai.metricsadvisor.models.MetricSeriesData

public final class MetricSeriesData

The MetricSeriesData model.

Constructor Summary

Constructor Description
MetricSeriesData()

Creates a new instance of MetricSeriesData.

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.

DimensionKey getSeriesKey()

Get the dimension name and value pair.

List<OffsetDateTime> 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:

the metricId value.

getMetricValues

public List getMetricValues()

Get the values of the data related to this time series.

Returns:

the metricValues value.

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:

the seriesKey value.

getTimestamps

public List getTimestamps()

Get the timestamps of the data related to this time series.

Returns:

the timestamps value.

Applies to