-
Notifications
You must be signed in to change notification settings - Fork 83
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
Increase the monitor throughput: increase the default fetch size, make it configurable. #171
Increase the monitor throughput: increase the default fetch size, make it configurable. #171
Conversation
…e it configurable.
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪 |
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.
The location of the configuration options needs to be adjusted.
internal/pkg/config/config.go
Outdated
@@ -27,13 +27,17 @@ type Config struct { | |||
Inputs []Input `config:"inputs"` | |||
Logging Logging `config:"logging"` | |||
HTTP HTTP `config:"http"` | |||
Cache Cache `config:"cache"` |
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.
The cache
was moved under the input level of the configuration, where it must be for Elastic Agent to be able to adjust these values.
internal/pkg/config/config.go
Outdated
@@ -27,13 +27,17 @@ type Config struct { | |||
Inputs []Input `config:"inputs"` | |||
Logging Logging `config:"logging"` | |||
HTTP HTTP `config:"http"` | |||
Cache Cache `config:"cache"` | |||
Monitor Monitor `config:"monitor"` |
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.
This also needs to be added under the input and not at this top-level.
Updated, moved the monitor config into input config. |
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.
Thanks for the fixes.
…e it configurable. (elastic#171) * Increase the monitor throughput: increase the default fetch size, make it configurable. * Address the code review feedback (cherry picked from commit e475479)
…e it configurable. (elastic#171) * Increase the monitor throughput: increase the default fetch size, make it configurable. * Address the code review feedback (cherry picked from commit e475479)
…e it configurable. (#171) (#189) * Increase the monitor throughput: increase the default fetch size, make it configurable. * Address the code review feedback (cherry picked from commit e475479) Co-authored-by: Aleksandr Maus <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
What does this PR do?
Increases the monitor throughput:
Why is it important?
Tuning of the throughput.
Checklist