-
Notifications
You must be signed in to change notification settings - Fork 57
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
Fix ShardEvents and ShardBulkDocs null metrics #283
Fix ShardEvents and ShardBulkDocs null metrics #283
Conversation
Signed-off-by: Filip Drobnjakovic <[email protected]>
@Tjofil is there a test to verify this? Or did you repro in the original docker image and verified it as fixed in the patched docker image? |
Hey @kkhatua |
Thank you @Tjofil for the quick fix. Let us add a unit test for Next, we can further beef up our unit test as part of Issue #284 |
Signed-off-by: Filip Drobnjakovic <[email protected]>
Signed-off-by: Filip Drobnjakovic <[email protected]>
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #283 +/- ##
============================================
+ Coverage 71.93% 71.97% +0.04%
- Complexity 2998 3003 +5
============================================
Files 380 380
Lines 18984 18984
Branches 1463 1463
============================================
+ Hits 13656 13664 +8
+ Misses 4725 4720 -5
+ Partials 603 600 -3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
src/test/java/org/opensearch/performanceanalyzer/reader/ReaderMetricsProcessorTests.java
Show resolved
Hide resolved
src/test/java/org/opensearch/performanceanalyzer/reader/ReaderMetricsProcessorTests.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Filip Drobnjakovic <[email protected]>
Signed-off-by: Filip Drobnjakovic <[email protected]>
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.x 1.x
# Navigate to the new working tree
cd .worktrees/backport-1.x
# Create a new branch
git switch --create backport/backport-283-to-1.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 8f5d1f1cb2525cd165a1f4d4beccb834b9ad6469
# Push it to GitHub
git push --set-upstream origin backport/backport-283-to-1.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.x Then, create a pull request where the |
* Fix ShardEvents and ShardBulkDocs null metrics --------- Signed-off-by: Filip Drobnjakovic <[email protected]> (cherry picked from commit 8f5d1f1)
* Fix ShardEvents and ShardBulkDocs null metrics --------- Signed-off-by: Filip Drobnjakovic <[email protected]> (cherry picked from commit 8f5d1f1) Co-authored-by: Filip Drobnjaković <[email protected]>
Hey @Tjofil and @khushbr, |
Signed-off-by: Filip Drobnjakovic [email protected]
Is your feature request related to a problem? Please provide an existing Issue # , or describe.
Issue #251
Describe the solution you are proposing
Did a revert to a previous known functioning point. Both ShardEvents and ShardBulkDocs should now display correct, non-null values.
Currently tested only by hand comparing responses of the patched and non-patched docker OS cluster.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.