Skip to content

Commit aeca5de

Browse files
Remove APPARENT_ from current metric names (#208)
Current metrics have been renamed: - `METRIC_AC_APPARENT_CURRENT` -> `METRIC_AC_CURRENT` - `METRIC_AC_APPARENT_CURRENT_PHASE_[1|2|3]` -> `METRIC_AC_CURRENT_PHASE_[1|2|3]` Closes #178
2 parents 387edab + cb73d7d commit aeca5de

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

RELEASE_NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
- The variants in the enum `Metric` have been renumberd due to the addition of
2323
line-to-line voltages.
2424

25+
- Current metrics have been renamed:
26+
`METRIC_AC_APPARENT_CURRENT` -> `METRIC_AC_CURRENT`
27+
`METRIC_AC_APPARENT_CURRENT_PHASE_[1|2|3]` -> `METRIC_AC_CURRENT_PHASE_[1|2|3]`
28+
2529
## New Features
2630

2731
- Added a `Frequenz.api.common.v1.types.Decimal` type, compatible with

proto/frequenz/api/common/v1/metrics/metric_sample.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ enum Metric {
8181
METRIC_AC_VOLTAGE_PHASE_1_PHASE_2 = 15;
8282
METRIC_AC_VOLTAGE_PHASE_2_PHASE_3 = 16;
8383
METRIC_AC_VOLTAGE_PHASE_3_PHASE_1 = 17;
84-
METRIC_AC_APPARENT_CURRENT = 18;
85-
METRIC_AC_APPARENT_CURRENT_PHASE_1 = 19;
86-
METRIC_AC_APPARENT_CURRENT_PHASE_2 = 20;
87-
METRIC_AC_APPARENT_CURRENT_PHASE_3 = 21;
84+
METRIC_AC_CURRENT = 18;
85+
METRIC_AC_CURRENT_PHASE_1 = 19;
86+
METRIC_AC_CURRENT_PHASE_2 = 20;
87+
METRIC_AC_CURRENT_PHASE_3 = 21;
8888

8989
// AC power metrics
9090
METRIC_AC_APPARENT_POWER = 22;

0 commit comments

Comments
 (0)