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

output: Add fast shutdown, max session duration. Rename metric labels. #15

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

jiping-s
Copy link
Collaborator

@jiping-s jiping-s commented Sep 16, 2021

Metrics:

  • configurable metric labels are renamed from "label"

Common output: (affecting Fluentd output mainly)

  • Allow session opening to be interrupted without waiting for timeout
  • Allow session to be interrupted while sending log batches without waiting for timeout
  • Add configurable max duration for sessions to help load balancing. When a session is closed due to max duration, it waits for ACK gracefully and there would be no delay before next session.

The changes made output even more complicated and this will be addressed in #17

Co-authored-by: Federico Leva federico.leva@relexsolutions.com
Co-authored-by: Johannes Staffans johannes.staffans@relexsolutions.com
Co-authored-by: Pedro Trigueros pedro.trigueros@relexsolutions.com

@jiping-s jiping-s changed the title WIP: output: #3 fast shutdown and limit session duration WIP: output: fast shutdown and limit session duration Sep 16, 2021
@jiping-s jiping-s linked an issue Sep 16, 2021 that may be closed by this pull request
@jiping-s jiping-s force-pushed the workshop3 branch 2 times, most recently from 013f8b4 to 37915c5 Compare September 29, 2021 14:21
@jiping-s jiping-s changed the title WIP: output: fast shutdown and limit session duration output: Add fast shutdown, max session duration. Rename metric labels. Sep 29, 2021
output/baseoutput/clientsession.go Outdated Show resolved Hide resolved
Co-authored-by: Federico Leva <federico.leva@relexsolutions.com>
Co-authored-by: Johannes Staffans <johannes.staffans@relexsolutions.com>
Co-authored-by: Pedro Trigueros <pedro.trigueros@relexsolutions.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants