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

timer: Add immediate option to timer_execute #1504

Open
repeatedly opened this issue Mar 15, 2017 · 1 comment
Open

timer: Add immediate option to timer_execute #1504

repeatedly opened this issue Mar 15, 2017 · 1 comment
Assignees
Labels
enhancement Feature request or improve operations v1

Comments

@repeatedly
Copy link
Member

Enhancement request for input plugins.
By default, PluginHelper::Timer#timer_execute launches timer immediately.
This is no problem on almost cases but some plugins, e.g. in_tail, takes long time in start by executing code.
To avoid this problem, delaying timer execution mitigates this situation.

See also: #1502

@repeatedly repeatedly self-assigned this Mar 15, 2017
@repeatedly repeatedly added enhancement Feature request or improve operations v0.14 labels Mar 15, 2017
@ganmacs ganmacs added v1 and removed v0.14 labels Dec 23, 2019
@fujimotos fujimotos moved this to 2022Q1 in Fluentd Kanban Jan 7, 2022
@fujimotos fujimotos assigned ashie and unassigned repeatedly Jan 7, 2022
@fujimotos
Copy link
Member

fujimotos commented Jan 7, 2022

FWIW, I also want to use this option in Windows exporter.

  • We use timer_execute to periodically collect system metrics (default interval is 60s).
  • I feel the current user experience is sub-optimal, because our user needs
    to wait 1 minute to confirm that the plugin is actually working.

I was considering to migrate to manual timer implementation because of this issue,
but it is preferable if timer_execute supports immediate option.

@fujimotos fujimotos moved this from v1.14.5 to In-Progress in Fluentd Kanban Jan 21, 2022
@ashie ashie removed the status in Fluentd Kanban May 31, 2022
@ashie ashie removed this from Fluentd Kanban Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request or improve operations v1
Projects
None yet
Development

No branches or pull requests

4 participants