Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Conversation

@aman0408
Copy link
Collaborator

Adds metrics for DRA and NRI functions - latency and success/failure as discussed in #90

Copy link
Member

@gauravkghildiyal gauravkghildiyal left a comment

Choose a reason for hiding this comment

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

Still pending review of other stuff, but the general direction I'd recommend us to go here is that we have public wrapper function which handles tasks like metrics and error logging, while an internal function focuses solely on the core business logic. This separation ensures metrics are captured consistently and makes the code more readable and maintainable over time. For example, PrepareResourceClaims() could call an internal prepareResourceClaims().

@gauravkghildiyal gauravkghildiyal self-assigned this Aug 29, 2025
@aman0408 aman0408 force-pushed the add-metrics branch 5 times, most recently from 5907f25 to cbf850e Compare September 2, 2025 23:55
@aman0408 aman0408 marked this pull request as ready for review September 3, 2025 00:02
Copy link
Member

@gauravkghildiyal gauravkghildiyal left a comment

Choose a reason for hiding this comment

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

Just a minor suggestion, looking good. Thanks @aman0408

Copy link
Member

@gauravkghildiyal gauravkghildiyal left a comment

Choose a reason for hiding this comment

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

Thanks!

@gauravkghildiyal gauravkghildiyal merged commit b15df09 into google:main Sep 3, 2025
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants