Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data MetricDatum = MetricDatum' {
- dimensions :: Maybe [Dimension]
- statisticValues :: Maybe StatisticSet
- unit :: Maybe Unit
- value :: Maybe Double
- metricName :: Text
- timestamp :: POSIX
- newMetricDatum :: Text -> UTCTime -> MetricDatum
- metricDatum_dimensions :: Lens' MetricDatum (Maybe [Dimension])
- metricDatum_statisticValues :: Lens' MetricDatum (Maybe StatisticSet)
- metricDatum_unit :: Lens' MetricDatum (Maybe Unit)
- metricDatum_value :: Lens' MetricDatum (Maybe Double)
- metricDatum_metricName :: Lens' MetricDatum Text
- metricDatum_timestamp :: Lens' MetricDatum UTCTime
Documentation
data MetricDatum Source #
Internal only. Collects Apache Airflow metrics. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.
See: newMetricDatum
smart constructor.
MetricDatum' | |
|
Instances
Create a value of MetricDatum
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dimensions:MetricDatum'
, metricDatum_dimensions
- Internal only. The dimensions associated with the metric.
$sel:statisticValues:MetricDatum'
, metricDatum_statisticValues
- Internal only. The statistical values for the metric.
$sel:unit:MetricDatum'
, metricDatum_unit
- Internal only. The unit used to store the metric.
MetricDatum
, metricDatum_value
- Internal only. The value for the metric.
$sel:metricName:MetricDatum'
, metricDatum_metricName
- Internal only. The name of the metric.
$sel:timestamp:MetricDatum'
, metricDatum_timestamp
- Internal only. The time the metric data was received.
metricDatum_dimensions :: Lens' MetricDatum (Maybe [Dimension]) Source #
Internal only. The dimensions associated with the metric.
metricDatum_statisticValues :: Lens' MetricDatum (Maybe StatisticSet) Source #
Internal only. The statistical values for the metric.
metricDatum_unit :: Lens' MetricDatum (Maybe Unit) Source #
Internal only. The unit used to store the metric.
metricDatum_value :: Lens' MetricDatum (Maybe Double) Source #
Internal only. The value for the metric.
metricDatum_metricName :: Lens' MetricDatum Text Source #
Internal only. The name of the metric.
metricDatum_timestamp :: Lens' MetricDatum UTCTime Source #
Internal only. The time the metric data was received.