Repository navigation
fix flaky test TestApprovedMetrics - #22390
Conversation
commit attempts a fix on TestApprovedMetrics by filtering out server aggregates to focus on agent metrics. fixes: elastic#21608
🤖 GitHub commentsJust comment with:
|
|
This pull request does not have a backport label. Could you fix it @aelnahas? 🙏
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the change to exclude server-aggregated metrics from the agent-metric approval comparison.
No open issues 🎉
What changed in this PR
This PR addresses the TestApprovedMetrics flakiness reported in #21608 by excluding server-aggregated metrics from the agent-metric approval comparison.
Changes:
- Replaces the transaction-only exclusion with a filter excluding documents that contain
metricset.interval. - Updates the comment to describe the broader exclusion of server aggregates.
| File | Description |
|---|---|
systemtest/metrics_test.go |
Broadens the approval-test filter to exclude server-aggregated metrics. |
Review effort: Balanced
carsonip
left a comment
There was a problem hiding this comment.
there seems to be an extra
`
in metricsets.ndjson. Do you mind overloading your PR to fix that as well?
💚 Build Succeeded
History
|
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
|
@Mergifyio backport 9.6 9.5 9.4 8.19 |
✅ Backports have been createdDetails
|
Motivation/summary
commit attempts a fix on TestApprovedMetrics by filtering out server aggregates to focus on agent metrics.
Checklist
For functional changes, consider:
How to test these changes
Related issues
fixes: #21608