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

Metrics (buffer_queue_length and buffer_total_queued_size) not available with detached processes #45

Closed
comtef opened this issue Dec 2, 2015 · 3 comments
Labels

Comments

@comtef
Copy link

comtef commented Dec 2, 2015

Fluentd metrics are useful to check for contention in output plugins buffers.
buffer_queue_length and buffer_total_queued_size can be checked against maximum values to ensure that no buffer chunk is about to be dropped.

When using detach_process, the metrics are no more available. Is it possible to agregate metrics for all detached processes?

Detaching processes may be the only way to ensure high throughput because increasing only the number of threads is not enough : 1 process with 50 threads is slower than 5 processes with 10 threads each.

@wryun
Copy link

wryun commented Dec 13, 2015

Depending on your use case, you could try https://github.com/atlassian/fluent-plugin-kinesis-aggregation . You would still have to have a single process, but you may find you get more throughput, particularly if you've been having issues with retries. If you do, I'd be interested in any feedback.

@riywo
Copy link
Contributor

riywo commented Mar 15, 2016

This is caused by fluentd itself. I've opend an issue on fluentd GitHub.

So far, it is hard to be fixed by this plugin...

@riywo
Copy link
Contributor

riywo commented Feb 2, 2017

Since fluentd has stopped to support detach_multi_process, I'd like to close this issue. They introduced new worker system and 2.0.0 of this plugin will support it.

@riywo riywo closed this as completed Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants