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

Log pattern tool improvement #474

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

songkant-aws
Copy link
Contributor

@songkant-aws songkant-aws commented Jan 2, 2025

Description

Improve log pattern tool with cutting edge log pattern parser by introducing Brain algorithm mentioned in this RFC: opensearch-project/OpenSearch#16627

Related Issues

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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 Jan 17, 2025

Codecov Report

Attention: Patch coverage is 87.23404% with 30 lines in your changes missing coverage. Please review.

Project coverage is 82.11%. Comparing base (2b76e3c) to head (64837d7).
Report is 38 commits behind head on main.

Files with missing lines Patch % Lines
...ava/org/opensearch/agent/tools/LogPatternTool.java 81.08% 13 Missing and 8 partials ⚠️
...g/opensearch/agent/tools/utils/BrainLogParser.java 92.62% 5 Missing and 4 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #474      +/-   ##
============================================
+ Coverage     81.78%   82.11%   +0.32%     
- Complexity      193      333     +140     
============================================
  Files            11       16       +5     
  Lines           961     1571     +610     
  Branches        137      221      +84     
============================================
+ Hits            786     1290     +504     
- Misses          121      194      +73     
- Partials         54       87      +33     

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

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.

6 participants