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

TELEGRAF-1: Telegraf blocked when using more than one pipe #8

Merged
merged 3 commits into from
Nov 15, 2023

Conversation

chayan-04
Copy link

When tailers are loaded, function is blocked and waiting unless a byte is recieved on pipe. Added this part into thread so that, it does not block main thread.

When tailers are loaded, function is blocked and waiting
unless a byte is recieved on pipe. Added this part into
thread so that, it does not block main thread.
@chayan-04 chayan-04 requested a review from dshnayder November 14, 2023 23:21
plugins/inputs/tail/tail.go Outdated Show resolved Hide resolved
Added the thread per file as per review comment
Removing extra logs addded for debuging
@chayan-04 chayan-04 merged commit 97f97bd into extr-1.21 Nov 15, 2023
1 check passed
@chayan-04 chayan-04 deleted the telegraf_dev branch November 15, 2023 18:49
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.

2 participants