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

SALTO-5776: Reduce log chunk size #6170

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

IdoZakk
Copy link
Contributor

@IdoZakk IdoZakk commented Jul 8, 2024

Reduce log chunk size to 25K


Datadog does not index for search log messages larger than 25K. Our log chunk size was 200K, which made big parts of long messages unsearchable.


Release Notes:
Core:

  • Reduced the default log chunk size to 25K

User Notifications:
None

@IdoZakk IdoZakk requested a review from ori-moisis July 8, 2024 04:57
@IdoZakk IdoZakk changed the title SALTO-5766: Reduce log chunk size SALTO-5776: Reduce log chunk size Jul 8, 2024
@coveralls
Copy link

Coverage Status

coverage: 93.929%. remained the same
when pulling f888d72 on IdoZakk:5776ReduceLogChunckSize
into eb8d43d on salto-io:main.

@@ -44,7 +44,7 @@ export const DEFAULT_CONFIG: Readonly<Config> = Object.freeze({
namespaceFilter: '*',
colorize: null,
globalTags: {},
maxJsonLogChunkSize: 200 * 1024, // 200K
maxJsonLogChunkSize: 25 * 1024, // 25K, DataDog recommended limit
Copy link
Contributor

Choose a reason for hiding this comment

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

can we remove the reference to DataDog from the OSS please?

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