Skip to content

feat(translator): HealthCheck Event Logs#8753

Open
guydc wants to merge 7 commits intoenvoyproxy:mainfrom
guydc:feat-hc-logs
Open

feat(translator): HealthCheck Event Logs#8753
guydc wants to merge 7 commits intoenvoyproxy:mainfrom
guydc:feat-hc-logs

Conversation

@guydc
Copy link
Copy Markdown
Contributor

@guydc guydc commented Apr 15, 2026

What this PR does / why we need it:
Adds support for enabling active healtcheck logs via EnvoyProxy Telemetry.

Release Notes: Yes

Signed-off-by: Guy Daich <guy.daich@sap.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 15, 2026

Deploy Preview for cerulean-figolla-1f9435 canceled.

Name Link
🔨 Latest commit f5e101f
🔍 Latest deploy log https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/69e7fbd1f7b278000874abb1

@guydc
Copy link
Copy Markdown
Contributor Author

guydc commented Apr 15, 2026

@codex

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 43aae07eb4

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread test/e2e/tests/backend_health_check.go
guydc added 3 commits April 17, 2026 17:56
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.64%. Comparing base (56cc3f7) to head (f5e101f).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8753      +/-   ##
==========================================
- Coverage   74.43%   73.64%   -0.80%     
==========================================
  Files         245      245              
  Lines       38973    48858    +9885     
==========================================
+ Hits        29010    35980    +6970     
- Misses       7960    10872    +2912     
- Partials     2003     2006       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

guydc added 2 commits April 20, 2026 09:27
Signed-off-by: Guy Daich <guy.daich@sap.com>
@guydc guydc marked this pull request as ready for review April 20, 2026 20:14
@guydc guydc requested a review from a team as a code owner April 20, 2026 20:14
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0277eb3961

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread test/e2e/tests/backend_health_check.go Outdated
Comment on lines +296 to +298
count, err := QueryLogCountFromLoki(t, suite.Client, lokiLabels, "health_checker_type")
require.NoError(t, err, "loki query failed")
require.Equal(t, 0, count, "expected no HC events before HC-enabled route is active")
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Isolate baseline before requiring zero Loki health-check logs

QueryLogCountFromLoki searches the last 10 minutes across all Envoy containers matching job/namespace/container, so this strict count == 0 assertion can fail whenever earlier tests or retries already emitted health_checker_type logs in the same namespace. In shared or retried CI runs, that makes this test flaky even if the "no HC route" behavior is correct; capture a pre-test baseline (or narrow labels to this gateway pod) and assert no increase instead.

Useful? React with 👍 / 👎.

Signed-off-by: Guy Daich <guy.daich@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant