Skip to content

Commit fe88fd1

Browse files
Renamed sampled_at timestamps for states to origin_time
Signed-off-by: Tiyash Basu <[email protected]>
1 parent f057650 commit fe88fd1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
- Renamed field `ElectricalComponent.category_type` to `ElectricalComponent.category_specific_info` to better reflect its purpose.
3434
- Renamed `ElectricalComponentState` to `ElectricalComponentStateSnapshot` to better reflect its purpose.
3535
- Renamed `SensorState` to `SensorStateSnapshot` to better reflect its purpose.
36+
- Renamed `sampled_at` timestamps for state snapshots to `origin_time`.
3637

3738
## Bug Fixes
3839

proto/frequenz/api/common/v1/microgrid/electrical_components/electrical_components.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ message ElectricalComponentDiagnostic {
476476
// Representation of a component state, warnings, and errors.
477477
message ElectricalComponentStateSnapshot {
478478
// The time at which the state was sampled.
479-
google.protobuf.Timestamp sampled_at = 1;
479+
google.protobuf.Timestamp origin_time = 1;
480480

481481

482482
// List of operational states currently active for the component.

proto/frequenz/api/common/v1/microgrid/sensors/sensors.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ message SensorDiagnostic {
170170
// Representation of a sensor state and errors.
171171
message SensorStateSnapshot {
172172
// The time at which the state was sampled.
173-
google.protobuf.Timestamp sampled_at = 1;
173+
google.protobuf.Timestamp origin_time = 1;
174174

175175
// List of states of the microgrid sensor.
176176
//

0 commit comments

Comments
 (0)