fix(test): attempt at fixing metrics profile e2e test flake#3336
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughPrometheus test queries now return explicit errors instead of empty maps, and the e2e metric checks were updated to use ChangesPrometheus Query Error Handling
Estimated code review effort: 2 (Simple) | ~10 minutes Related PRs: None identified. Suggested labels: test, refactor Suggested reviewers: None identified. Poem A query once failed and stayed unseen, 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Tools execution failed with the following error: Failed to run tools: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error) Comment |
PR Summary by QodoFix metrics profile e2e flake by using stable metric and surfacing Prometheus errors
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
9 rules 1.
|
c19ef11 to
758eb98
Compare
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Clee2691, jcantrill The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
/lgtm |
|
@Clee2691: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
bd1f2f4
into
openshift:master
Description
This PR attempts to fix the metrics profile e2e flake. It replaces
vector_started_totalwithvector_uptime_secondsbecause the former metric expires.This also updates the
QueryPrometheusfunction to surface errors instead of silently swallowing them.No associated JIRA
/cc @vparfonov
/assign @jcantrill
Summary by CodeRabbit