Skip to content

Conversation

shiroyasha
Copy link
Contributor

No description provided.

Copy link
Member

@radwo radwo left a 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
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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 }
Copy link
Member

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.

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