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

Export traces less frequently #1422

Merged
merged 4 commits into from
Oct 27, 2023

Conversation

RebeccaMahany
Copy link
Contributor

The exporter already has a maximum batch size and maximum queue size configured, but we were never hitting the maximum batch size because the batch timeout is set very low by default, enforcing shipping batches every 5 seconds. This probably isn't necessary for our usecase, so I've increased the batch timeout to a minute.

directionless
directionless previously approved these changes Oct 25, 2023
Copy link
Contributor

@directionless directionless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want control server adjustability here?

Or the pattern around uptime?

James-Pickett
James-Pickett previously approved these changes Oct 25, 2023
@RebeccaMahany
Copy link
Contributor Author

Do we want control server adjustability here?

Or the pattern around uptime?

I've updated so it's a control server flag!

@RebeccaMahany RebeccaMahany force-pushed the becca/trace-batch-timeout branch from 6a4c308 to ef8e404 Compare October 25, 2023 20:12
directionless
directionless previously approved these changes Oct 27, 2023
Copy link
Contributor

@directionless directionless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you think this should be exposed as a flag, okay.

pkg/agent/flags/keys/keys.go Show resolved Hide resolved
@RebeccaMahany RebeccaMahany added this pull request to the merge queue Oct 27, 2023
Merged via the queue into kolide:main with commit a896d36 Oct 27, 2023
24 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/trace-batch-timeout branch October 27, 2023 19:06
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.

3 participants