-
Notifications
You must be signed in to change notification settings - Fork 443
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
Support JSON format logs in file-metrics-collector
#1765
Support JSON format logs in file-metrics-collector
#1765
Conversation
0dfb912
to
543d245
Compare
543d245
to
2e6eff1
Compare
/retest |
fcb2f0a
to
c5bd812
Compare
/retest |
file-metrics-collector
file-metrics-collector
c5bd812
to
1fb26bb
Compare
This PR is ready for review, please take a look. |
I addressed your suggestion. @gaocegege |
I'll re-run |
4eb6d6c
to
87d2a39
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late reply.
The PR LGTM!
Thanks for your contribution! 🎉 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tenzen-y Thanks a lot for implementing this feature!
I left some comments.
Also, please create PR to update Katib Website documentation about the new API and the new Metrics Collector functionality.
As we discussed on our meeting today, we will deliver this feature in the Katib 0.14 release, since it requires some additional testing and discussion.
/hold
pkg/metricscollector/v1beta1/file-metricscollector/testdata/JSON/good.json
Outdated
Show resolved
Hide resolved
@@ -46,6 +46,8 @@ const ( | |||
// Score=1.23E10 | |||
DefaultFilter = `([\w|-]+)\s*=\s*([+-]?\d*(\.\d+)?([Ee][+-]?\d+)?)` | |||
|
|||
TimeStampJsonKey = "timestamp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should document this somewhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean we need to add documentation other than the website documentation? @andreyvelich
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant just point about it in the website documentation.
pkg/metricscollector/v1beta1/file-metricscollector/file-metricscollector.go
Show resolved
Hide resolved
Katib CI is broken due to #1842 |
LGTM. Can you rebase the PR and we can then merge |
Sure. |
Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
e5f2ae4
to
cb456dd
Compare
@johnugeorge |
Thanks @tenzen-y for your patience. Sorry for the delay /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johnugeorge, tenzen-y The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/unhold |
What this PR does / why we need it:
Support JSON format logs in
file-metrics-collector
.Also modified the script for E2E so that the test does not fail even if the Trial status becomes
EarlyStopped
.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #1744
Checklist: