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
Documentation
data MetricDatum Source #
A metric.
See: newMetricDatum
smart constructor.
Instances
newMetricDatum :: MetricDatum Source #
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:timestamp:MetricDatum'
, metricDatum_timestamp
- The time the metric value was reported.
$sel:value:MetricDatum'
, metricDatum_value
- The value reported for the metric.
metricDatum_timestamp :: Lens' MetricDatum (Maybe UTCTime) Source #
The time the metric value was reported.
metricDatum_value :: Lens' MetricDatum (Maybe MetricValue) Source #
The value reported for the metric.