Skip to content

Conversation

@manojsardana
Copy link
Contributor

Changes

Please provide a brief description of the changes here.
The change add a gRPC healthcheck implementation to cart microservice. The health check respond healthy status by default. However a feature flag is added to enable readiness failure. Once enabled, the the health check will respond with unhealthy status. This will result into pod not ready status and requests to the pod being dropped/timing out. One the feature flag is disabled, the readiness probe will succeed and pod will start accepting the request successfully.

Merge Requirements

For new features contributions, please make sure you have completed the following
essential items:

  • CHANGELOG.md updated to document new feature additions
  • [yes] Appropriate documentation updates in the docs
  • [yes] Appropriate Helm chart updates in the helm-charts

Maintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the
@open-telemetry/demo-approvers.

sardanam and others added 2 commits December 18, 2025 12:38
Adding readiness probe health check to cart service + feature flag ad…
@manojsardana manojsardana requested a review from a team as a code owner December 18, 2025 11:40
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Dec 18, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@github-actions github-actions bot added docs-update-required Requires documentation update helm-update-required Requires an update to the Helm chart when released labels Dec 18, 2025
@github-actions
Copy link

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Dec 26, 2025
@manojsardana
Copy link
Contributor Author

@open-telemetry/demo-approvers can anyone please review this ?

@manojsardana
Copy link
Contributor Author

@cedricziel @ps48 can you please review this PR and provide your feedback. This is my first contribution and looking forward to the guidance.

@github-actions github-actions bot removed the Stale label Dec 27, 2025
@github-actions
Copy link

github-actions bot commented Jan 3, 2026

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@julianocosta89
Copy link
Member

@manojsardana thanks for submitting this PR.
Before we review it, could you please sign the easyCLA? #2830 (comment)

@manojsardana
Copy link
Contributor Author

@julianocosta89 i did complete the process of signing multiple times, however its not getting reflected. here.

@sardanam
Copy link
Contributor

sardanam commented Jan 5, 2026

@julianocosta89 I am able to complete the sign now. Thanks. Looking forward to he review feedback.

Copy link
Contributor

@cedricziel cedricziel left a comment

Choose a reason for hiding this comment

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

@manojsardana generally okay - did you want implement an actual readiness probe or did you want to leave it with the skeleton? also: can you tidy up the code a little bit?

manojsardana and others added 2 commits January 5, 2026 16:49
Removed commented-out health check code in Program.cs.
@puckpuck
Copy link
Contributor

puckpuck commented Jan 7, 2026

@manojsardana thanks for all of this. Can you break out all the Health Check code to a separate file (ie: healthcheck.cs)?

@sardanam
Copy link
Contributor

sardanam commented Jan 8, 2026

@puckpuck i have update the code to move the healthcheck service under services folder now. Fixed a couple of more things which was failing in the previous build. Let me know if there any further feedback i can address. Thanks for your review and feedback.

@julianocosta89 julianocosta89 dismissed cedricziel’s stale review January 8, 2026 12:52

Changes requested were applied

@julianocosta89 julianocosta89 merged commit d03dcc3 into open-telemetry:main Jan 8, 2026
34 checks passed
kkn pushed a commit to liteverge/opentelemetry-demo that referenced this pull request Jan 11, 2026
… through feature flag to simulate pod not ready situation (open-telemetry#2830)

* Adding readiness probe health check to cart service + feature flag added to enable it in flagd

* Clean up commented health check code

Removed commented-out health check code in Program.cs.

* Update src/cart/src/Program.cs

Co-authored-by: Cedric Ziel <[email protected]>

* moving the healthcheck test to a separate file under services folder

* Fix missing newline in healthcheck.cs

Add missing newline at end of file

* Add copyright and license information to healthcheck.cs

* changelog

---------

Co-authored-by: Manojkumar Sardana <[email protected]>
Co-authored-by: Cedric Ziel <[email protected]>
Co-authored-by: Juliano Costa <[email protected]>
Co-authored-by: Juliano Costa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-update-required Requires documentation update helm-update-required Requires an update to the Helm chart when released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants