You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename metric variants to follow a consistent naming scheme
This commit renames the metric variants in `metrics.proto` to follow a
more consistent naming scheme. The new naming convention uses a
core-concept to modifier format, which improves clarity and consistency
across the metric definitions.
Signed-off-by: Tiyash Basu <[email protected]>
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,17 @@
54
54
55
55
- The minimum allowed version of `protobuf` and `grpcio` has been updated to 6.31.1 and 1.72.1 respectively, you might also need to bump your dependencies accordingly.
56
56
57
+
- Renamed metric variants to follow a more consistent naming scheme of core-concept to modifier:
58
+
59
+
-`metrics.MetricVariant`:
60
+
61
+
-`METRIC_AC_APPARENT_POWER*` to `METRIC_AC_POWER_APPARENT*`
62
+
-`METRIC_AC_ACTIVE_POWER*` to `METRIC_AC_POWER_ACTIVE*`
63
+
-`METRIC_AC_REACTIVE_POWER*` to `METRIC_AC_POWER_REACTIVE*`
64
+
-`METRIC_AC_APPARENT_ENERGY*` to `METRIC_AC_ENERGY_APPARENT*`
65
+
-`METRIC_AC_ACTIVE_ENERGY*` to `METRIC_AC_ENERGY_ACTIVE*`
66
+
-`METRIC_AC_REACTIVE_ENERGY*` to `METRIC_AC_ENERGY_REACTIVE*`
0 commit comments