-
Notifications
You must be signed in to change notification settings - Fork 5
Public JobLogs API v1 #25
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
base: master
Are you sure you want to change the base?
Conversation
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.
We will use this API for a job page?
// ## The PLAIN_TEXT format | ||
// | ||
// When the PLAIN_TEXT format is requested, the GetLogsResponse.content contains | ||
// the output of the job after all all the unix escape characters have been |
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.
all all
-> all
// processed PLAIN_TEXT format. | ||
// | ||
// The Log API is resticting the payload length size to 10000 log events and | ||
// the total response size 64 megabytes. The response contains infomrmation |
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.
infomrmation
-> information`
// The logs can be fetched in two formats. The raw JSON_LINES format, or the | ||
// processed PLAIN_TEXT format. | ||
// | ||
// The Log API is resticting the payload length size to 10000 log events and |
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.
this 10k events is our hard limit? This job has 17_769 events and "only" 4,2 MB.
// To fetch the full logs, you need to iterate till the end. Example for a log | ||
// that has 1040 log lines: | ||
// | ||
// GetLogs(start_from: 0) # => Response { length: 1000, end_reached: false } |
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.
1k is page size? currently we are fetching 10k events at once.
No description provided.