-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Add per-plugin execution time to debug output #479
Comments
It would help if you could be more specific. Try to narrow down which plugin is taking too long, and also specify how long you would expect it to take. |
@sparrc out of curiosity, is there a way to get per-plugin execution times? |
@zstyblik there isn't, you would need to run the plugins one-by-one |
@sparrc I see :\ Thanks. |
Maybe it's good for debug if add some info like |
changing this case to just be for adding per-plugin execution time to the debug output |
Changing the internal behavior around running plugins. Each plugin will now have it's own goroutine with it's own ticker. This means that a hung plugin will not block any other plugins. When a plugin is hung, we will log an error message every interval, letting users know which plugin is hung. Currently the input interface does not have any methods for killing a running Gather call, so there is nothing we can do but log an "ERROR" and move on. This will give some visibility into the plugin that is acting up. closes #1230 fixes #479
Changing the internal behavior around running plugins. Each plugin will now have it's own goroutine with it's own ticker. This means that a hung plugin will not block any other plugins. When a plugin is hung, we will log an error message every interval, letting users know which plugin is hung. Currently the input interface does not have any methods for killing a running Gather call, so there is nothing we can do but log an "ERROR" and move on. This will give some visibility into the plugin that is acting up. closes #1230 fixes #479
Changing the internal behavior around running plugins. Each plugin will now have it's own goroutine with it's own ticker. This means that a hung plugin will not block any other plugins. When a plugin is hung, we will log an error message every interval, letting users know which plugin is hung. Currently the input interface does not have any methods for killing a running Gather call, so there is nothing we can do but log an "ERROR" and move on. This will give some visibility into the plugin that is acting up. closes #1230 fixes #479
It also would be useful to have a per-plugin exec time sent to outputs even when debug mode is off to build graphs and monitor it. Maybe also a per-command time in exec plugin. |
agreed, see #1348 |
here is my config
The text was updated successfully, but these errors were encountered: