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

feat: (outputs.elasticsearch) Add healthcheck timeout #10853

Merged
merged 4 commits into from
Mar 30, 2022

Conversation

aratik711
Copy link
Contributor

Required for all PRs:

resolves #10852

The changes are listed below:

  • Added healthcheck timeout for ES client: SetHealthcheckTimeout, setting the default healthcheck timeout to 1s

@aratik711 aratik711 changed the title feat[elastic output]: add healthcheck timeout for ES feat: [elastic output] add healthcheck timeout for ES Mar 19, 2022
@sspaink sspaink changed the title feat: [elastic output] add healthcheck timeout for ES feat(outputs.elasticsearch): Add healthcheck timeout Mar 21, 2022
plugins/outputs/elasticsearch/README.md Outdated Show resolved Hide resolved
plugins/outputs/elasticsearch/elasticsearch.go Outdated Show resolved Hide resolved
@aratik711 aratik711 changed the title feat(outputs.elasticsearch): Add healthcheck timeout feat: (outputs.elasticsearch) Add healthcheck timeout Mar 22, 2022
@aratik711
Copy link
Contributor Author

@MyaLongmire done, Please review

Copy link
Contributor

@MyaLongmire MyaLongmire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm :) Thanks for adding this!

@Hipska Hipska added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin area/elasticsearch ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins labels Mar 23, 2022
Copy link
Contributor

@reimda reimda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the sample config comment it looks good to me. Thanks!

plugins/outputs/elasticsearch/elasticsearch.go Outdated Show resolved Hide resolved
@telegraf-tiger
Copy link
Contributor

@aratik711
Copy link
Contributor Author

@reimda updated, please check

@reimda
Copy link
Contributor

reimda commented Mar 30, 2022

Thanks, Arati!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/elasticsearch feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/output 1. Request for new output plugins 2. Issues/PRs that are related to out plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Elasticsearch Output plugin add timeout for healthcheck
4 participants