Skip to content
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

Refactor metrics query to use any index and move it under utils #509

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

gaiksaya
Copy link
Member

@gaiksaya gaiksaya commented Sep 26, 2024

Description

Refactor metrics query to use any index and move it under utils. It can be then used generically to query any indices from metrics cluster. Also modified tests that were using personal fork to use opensearch-project repo URL as an example.

Issues Resolved

part of opensearch-project/opensearch-build#5038

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.

Copy link

codecov bot commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.46%. Comparing base (5e17480) to head (d69e883).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #509      +/-   ##
============================================
+ Coverage     84.32%   84.46%   +0.14%     
  Complexity       80       80              
============================================
  Files           108      108              
  Lines           523      528       +5     
  Branches         61       61              
============================================
+ Hits            441      446       +5     
  Misses           26       26              
  Partials         56       56              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
@gaiksaya gaiksaya merged commit 8a67658 into opensearch-project:main Oct 2, 2024
8 of 9 checks passed
@gaiksaya gaiksaya deleted the refactor branch October 2, 2024 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants