-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Ability to get real retry state of buffered output #1387
Ability to get real retry state of buffered output #1387
Conversation
@@ -35,6 +35,7 @@ class MonitorAgentInput < Input | |||
config_param :tag, :string, default: nil | |||
config_param :emit_interval, :time, default: 60 | |||
config_param :include_config, :bool, default: true | |||
config_param :include_retry, :bool, default: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be not necessary
@@ -302,7 +302,8 @@ def get(uri, header = {}) | |||
"plugin_category" => "output", | |||
"plugin_id" => "null", | |||
"retry_count" => 0, | |||
"type" => "null" | |||
"type" => "null", | |||
"retry" => {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add test cases for failed flush
Feature looks good. |
Okay, I'll add it. |
Added with_retry /api/plugins.json tests
Test case has been added. |
Good. Thank you! |
…red-output Ability to get real retry state of buffered output
Related to #1379
Will have JSON like this: