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

Log: disable the Sample function #415

Merged
merged 1 commit into from
May 24, 2023
Merged

Log: disable the Sample function #415

merged 1 commit into from
May 24, 2023

Conversation

uablrek
Copy link
Contributor

@uablrek uablrek commented May 10, 2023

Description

The "Sample" function in the zap logger is enabled by default. We are not using it, and it consumes a lot of memory, >50% 20-30% of heap mem in TAPA for instance.

Issue link

Checklist

  • Purpose
    • Bug fix
    • New functionality
    • Documentation
    • Refactoring
    • CI
  • Test
    • Unit test
    • E2E Test
    • Tested manually
  • Introduce a breaking change
    • Yes (description required)
    • No

@LionelJouin LionelJouin added kind/bug Something isn't working size/S labels May 10, 2023
@uablrek uablrek merged commit 5357d6a into master May 24, 2023
@uablrek uablrek deleted the disable-log-sample branch May 24, 2023 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working size/S
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants