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

add readiness checks #652

Merged
merged 52 commits into from
Sep 19, 2024
Merged

add readiness checks #652

merged 52 commits into from
Sep 19, 2024

Conversation

ekneg54
Copy link
Collaborator

@ekneg54 ekneg54 commented Aug 21, 2024

todo

  • provide healthcheck http endpoint
  • document healthchecks
  • update chart templates to use healthchecks by default
  • update chart version
  • update changelog
  • add tests for charts
  • add tests for endpoint
  • add tests for component health checks
  • fix restart of prometheus endpoint if pipeline restarts

healthcheck cases:

  • logprep is not healthy if output or input can't be reached
  • logprep is not healthy if error occurs during get_next or store
  • logprep is healthy after it was unhealthy if no error occurs during get_next or store
  • logprep is not healthy if http_input can't serve requests (queue full)

mechanic is implemented for at minimum

  • http_input
  • confluentkafka_input
  • confluentkafka_output
  • opensearch_output

@ekneg54 ekneg54 added the enhancement New feature or request label Aug 21, 2024
@ekneg54 ekneg54 self-assigned this Aug 21, 2024
@ekneg54 ekneg54 force-pushed the dev-add-readiness-check-probe branch from c6a37d9 to 1f390a8 Compare August 29, 2024 16:31
@ekneg54 ekneg54 force-pushed the dev-add-readiness-check-probe branch 4 times, most recently from 8d3a83f to 412d93d Compare September 13, 2024 14:48
@ekneg54 ekneg54 marked this pull request as ready for review September 13, 2024 17:59
@ekneg54 ekneg54 requested a review from djkhl September 13, 2024 18:07
@ekneg54 ekneg54 force-pushed the dev-add-readiness-check-probe branch from 6fc4a6a to db128f5 Compare September 16, 2024 09:36
logprep/connector/http/input.py Outdated Show resolved Hide resolved
logprep/connector/opensearch/output.py Show resolved Hide resolved
doc/source/index.rst Outdated Show resolved Hide resolved
doc/source/index.rst Outdated Show resolved Hide resolved
doc/source/user_manual/execution.rst Outdated Show resolved Hide resolved
Copy link
Collaborator

@djkhl djkhl left a comment

Choose a reason for hiding this comment

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

thank you for adding this feature! :)

@ekneg54
Copy link
Collaborator Author

ekneg54 commented Sep 19, 2024

tests are failing, but this seems to be a runner issue. merged anyway

@ekneg54 ekneg54 merged commit 34809cf into main Sep 19, 2024
9 of 13 checks passed
@ekneg54 ekneg54 deleted the dev-add-readiness-check-probe branch September 19, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants