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

Improve http output handling #966

Merged

Commits on Aug 21, 2024

  1. Improve http output handling

    * Add MaxConcurrentRequests configuration per output in order to limit
      the number of requests/connections.
    * Refactor HTTP auth headers handling, eliminate mutex on that code
      path.
    * Extract common configuration for http, refactor NewClient to avoid
      adding one more parameter.
    * Refactor default configuration definition in order to avoid typos with
      repetitive Output name prefix and avoid repetitive use of defaults
    
    Signed-off-by: Aleksandr Maus <aleksandr.maus@elastic.co>
    aleksmaus committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    0f9a5ea View commit details
    Browse the repository at this point in the history
  2. Make golangci-lint happy

    Signed-off-by: Aleksandr Maus <aleksandr.maus@elastic.co>
    aleksmaus committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    5b93b0a View commit details
    Browse the repository at this point in the history
  3. go mod tidy

    Signed-off-by: Aleksandr Maus <aleksandr.maus@elastic.co>
    aleksmaus committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    eb6787f View commit details
    Browse the repository at this point in the history