Skip to content

Conversation

@tiyash-basu-frequenz
Copy link
Contributor

These messages holds two different types of data: metric samples and state snapshots, which when combined into a single message, represent the telemetry data of a component/sensor. The name change reflects this purpose more accurately.

This message holds two different types of data: metric samples and
state snapshots, which when combined into a single message, represent
the telemetry data of a component. The name change reflects this
purpose more accurately.

Signed-off-by: Tiyash Basu <[email protected]>
This message holds two different types of data: metric samples and
state snapshots, which when combined into a single message, represent
the telemetry data of a component. The name change reflects this
purpose more accurately.

Signed-off-by: Tiyash Basu <[email protected]>
@tiyash-basu-frequenz tiyash-basu-frequenz self-assigned this May 23, 2025
Copilot AI review requested due to automatic review settings May 23, 2025 08:42
@tiyash-basu-frequenz tiyash-basu-frequenz requested a review from a team as a code owner May 23, 2025 08:42
@github-actions github-actions bot added part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files labels May 23, 2025
@tiyash-basu-frequenz tiyash-basu-frequenz linked an issue May 23, 2025 that may be closed by this pull request
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR renames telemetry-related messages for clarity, replacing the generic *Data suffix with *Telemetry.

  • Renamed SensorData to SensorTelemetry in sensor definitions.
  • Renamed ElectricalComponentData to ElectricalComponentTelemetry in component definitions.
  • Updated release notes to reflect these renamings.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
proto/frequenz/api/common/v1/microgrid/sensors/sensors.proto Updated comment and message name from SensorData to SensorTelemetry
proto/frequenz/api/common/v1/microgrid/electrical_components/electrical_components.proto Updated comment and message name from ElectricalComponentData to ElectricalComponentTelemetry
RELEASE_NOTES.md Added entries for renamed messages
Comments suppressed due to low confidence (1)

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

  • Typo: 'sensors' should be singular to match the sensor_id field. Consider changing 'microgrid sensors' to 'microgrid sensor'.
// The ID of the microgrid sensors.

@tiyash-basu-frequenz tiyash-basu-frequenz added this pull request to the merge queue May 23, 2025
Merged via the queue into frequenz-floss:v0.x.x with commit 84fd05d May 23, 2025
6 checks passed
@tiyash-basu-frequenz tiyash-basu-frequenz deleted the 268_rename_data_messages branch May 23, 2025 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename XxxData to XxxTelemetry

2 participants