Skip to content

Conversation

@keeganirby
Copy link
Contributor

Problem

  • LiveTail sessions can run for a long time, on LogGroups that have a high volume of LogEvents. We want to not infinitely add logs to a TextDocument, leading to memory issues within VSCode.

Solution

Users can configure a limit preference (default: 10000 , max 10000 , min: 1000).
When the number of lines in a Live Tail session (number of LogEvents) reaches the limit, the 'N' oldest logEvents will be removed, to fit in the 'N' newest events coming in from the response stream.


License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@keeganirby keeganirby requested a review from a team as a code owner October 23, 2024 01:42
@github-actions
Copy link

This pull request implements a feature or fix, so it must include a changelog entry. See CONTRIBUTING.md#changelog for instructions.

@jpinkney-aws jpinkney-aws merged commit 64ecf84 into aws:feature/cwltail Oct 24, 2024
20 of 24 checks passed
karanA-aws pushed a commit to karanA-aws/aws-toolkit-vscode that referenced this pull request Jan 17, 2025
)

## Problem
* LiveTail sessions can run for a long time, on LogGroups that have a
high volume of LogEvents. We want to not infinitely add logs to a
TextDocument, leading to memory issues within VSCode.

## Solution
Users can configure a `limit` preference (default: 10000 , max 10000 ,
min: 1000).
When the number of lines in a Live Tail session (number of LogEvents)
reaches the limit, the 'N' oldest logEvents will be removed, to fit in
the 'N' newest events coming in from the response stream.
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