File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/frequenz/client/common/metrics Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class Metric(enum.Enum):
2323 components reset it on UTC 00:00:00.
2424
2525 - This energy metric does not specify the start time of the accumulation
26- period,and therefore can be inconsistent.
26+ period, and therefore can be inconsistent.
2727 """
2828
2929 UNSPECIFIED = metrics_pb2 .METRIC_UNSPECIFIED
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class AggregatedMetricValue:
3939
4040 This message represents derived metrics and contains fields for statistical
4141 summaries—minimum, maximum, and average values. Individual measurements are
42- are optional, accommodating scenarios where only subsets of this information
42+ optional, accommodating scenarios where only subsets of this information
4343 are available.
4444 """
4545
@@ -202,9 +202,9 @@ def as_single_value(
202202 ) -> float | None :
203203 """Return the value of this sample as a single value.
204204
205- if [`value`][frequenz.client.microgrid .metrics.MetricSample.value] is a `float`,
205+ if [`value`][frequenz.client.common .metrics.MetricSample.value] is a `float`,
206206 it is returned as is. If `value` is an
207- [`AggregatedMetricValue`][frequenz.client.microgrid .metrics.AggregatedMetricValue],
207+ [`AggregatedMetricValue`][frequenz.client.common .metrics.AggregatedMetricValue],
208208 the value is aggregated using the provided `aggregation_method`.
209209
210210 Args:
You can’t perform that action at this time.
0 commit comments