Skip to content

Conversation

@tiyash-basu-frequenz
Copy link
Contributor

This change renames the metric_sample.proto file to metrics.proto to better reflect its content. The file contains multiple metric-related messages, including SimpleMetricValue and MetricSample, which are used to represent metric values and samples, respectively. The new name metrics.proto is more descriptive and aligns with the purpose of the file.

Copilot AI review requested due to automatic review settings May 19, 2025 12:43
@tiyash-basu-frequenz tiyash-basu-frequenz requested a review from a team as a code owner May 19, 2025 12:43
@github-actions github-actions bot added part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files labels May 19, 2025
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 the proto file from metric_sample.proto to metrics.proto to better reflect the file content and improve clarity across related imports.

  • Update import paths in sensors.proto and electrical_components.proto
  • Introduce a minor typo in a comment within metrics.proto
  • Update RELEASE_NOTES.md to document the file rename

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
proto/frequenz/api/common/v1/microgrid/sensors/sensors.proto Updated import path to reflect the new proto filename
proto/frequenz/api/common/v1/microgrid/electrical_components/electrical_components.proto Updated import path to use new metrics.proto
proto/frequenz/api/common/v1/metrics/metrics.proto Typo in a comment line ("c//") that should be corrected
RELEASE_NOTES.md Documented the file rename change
Comments suppressed due to low confidence (1)

proto/frequenz/api/common/v1/metrics/metrics.proto:25

  • There appears to be an unintended character 'c' preceding the comment marker. Remove the 'c' so that the comment starts with '//' to improve clarity.
c// The message allows for the reporting of statistical summaries — minimum,

@tiyash-basu-frequenz tiyash-basu-frequenz marked this pull request as draft May 19, 2025 12:55
This change renames the `metric_sample.proto` file to `metrics.proto` to
better reflect its content. The file contains multiple metric-related
messages, including `SimpleMetricValue` and `MetricSample`, which are
used to represent metric values and samples, respectively. The new name
`metrics.proto` is more descriptive and aligns with the purpose of the
file.

Signed-off-by: Tiyash Basu <[email protected]>

# Conflicts:
#	RELEASE_NOTES.md
@github-actions github-actions bot added the part:tests Affects the unit, integration and performance (benchmarks) tests label May 19, 2025
Copy link
Contributor

@thomas-nicolai-frequenz thomas-nicolai-frequenz left a comment

Choose a reason for hiding this comment

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

LGTM!

@tiyash-basu-frequenz tiyash-basu-frequenz marked this pull request as ready for review May 20, 2025 06:21
@tiyash-basu-frequenz tiyash-basu-frequenz added this pull request to the merge queue May 20, 2025
Merged via the queue into frequenz-floss:v0.x.x with commit a4669a5 May 20, 2025
6 checks passed
@tiyash-basu-frequenz tiyash-basu-frequenz deleted the metric_file_rename branch May 20, 2025 06:23
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 part:tests Affects the unit, integration and performance (benchmarks) tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants