Skip to content

Fix 'data_column_sidecar_computation' metric align with PeerDAS metrics specs #14574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

KatyaRyazantseva
Copy link

What type of PR is this?

Feature

What does this PR do? Why is it needed?
This PR adjusts PeerDAS metric beacon_data_column_sidecar_computation_seconds align with the PeerDAS metrics specs:

  • rename the metric
  • change milliseconds to seconds

Which issues(s) does this PR fix?

Fixes (partially) #14129

Other notes for review

Acknowledgements

  • I have read CONTRIBUTING.md.
  • I have made an appropriate entry to CHANGELOG.md.
  • I have added a description to this PR with sufficient context for reviewers to understand this PR.

@KatyaRyazantseva KatyaRyazantseva requested a review from a team as a code owner October 23, 2024 18:31
@KatyaRyazantseva KatyaRyazantseva requested review from prestonvanloon, terencechain and rkapka and removed request for a team October 23, 2024 18:31
@CLAassistant
Copy link

CLAassistant commented Oct 23, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@nisdas nisdas left a comment

Choose a reason for hiding this comment

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

I disagree with changing the unit to seconds. Most metrics recorded are going to be simply 0,1 or 2 which isn't useful at all. Milliseconds is a much more useful unit of time to gauge (1400ms vs 1s) as you have much greater granularity

@nalepae
Copy link
Contributor

nalepae commented Nov 1, 2024

@KatyaRyazantseva sorry for the inconvenience, would it be possible to reset your PR on top of the current peerDAS branch?

(I rebased the peerDAS branch on top on develop after you created your PR, so that's why there is plenty of commits.)

@nalepae
Copy link
Contributor

nalepae commented Nov 1, 2024

I disagree with changing the unit to seconds. Most metrics recorded are going to be simply 0,1 or 2 which isn't useful at all. Milliseconds is a much more useful unit of time to gauge (1400ms vs 1s) as you have much greater granularity

The metric is a float, not an int right?

If so; instead of 1400ms, we should have 1.4s, not 1s.

@nisdas
Copy link
Contributor

nisdas commented Nov 2, 2024

The metric is a float, not an int right?

If so; instead of 1400ms, we should have 1.4s, not 1s.

Metric is a float but the time is not, It is a discrete quantity, so if you ask it for seconds you will only get 1 instead of 1.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants