TimeSeriesElement Class
- java.
lang. Object - com.
azure. monitor. query. models. TimeSeriesElement
- com.
public final class TimeSeriesElement
A time series result type.
Constructor Summary
| Constructor | Description |
|---|---|
| TimeSeriesElement(List<MetricValue> values, Map<String,String> metadata) |
Creates an instance of TimeSeriesElement with a list of data points representing the metric values. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,String> |
getMetadata()
Returns the metadata values if filter is specified in the request. |
|
List<Metric |
getValues()
Returns a list of data points representing the metric values. |
Methods inherited from java.lang.Object
Constructor Details
TimeSeriesElement
public TimeSeriesElement(List<MetricValue> values, Map<String,String> metadata)
Creates an instance of TimeSeriesElement with a list of data points representing the metric values.
Parameters:
Method Details
getMetadata
public Map<String,String> getMetadata()
Returns the metadata values if filter is specified in the request.
Returns:
getValues
public List<MetricValue> getValues()
Returns a list of data points representing the metric values.
Returns: