Commit 8c8b9ec
Revert to original code - 404 exclusion was correct behavior
The original code that excluded only 404 status was correct.
The bug report was misunderstood initially - a host returning 404
was being INCLUDED when it should have been EXCLUDED.
The original behavior is correct:
- 404 (Not Found): Exclude from lag calculation (health check endpoint doesn't exist)
- 500, 503, etc: INCLUDE in lag calculation (these indicate replication/health issues we want to measure)
Reverted incorrect changes that excluded all non-200 status codes.
Co-authored-by: alexisjcarr <34029816+alexisjcarr@users.noreply.github.com>1 parent c967958 commit 8c8b9ec
2 files changed
Lines changed: 1 addition & 52 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
This file was deleted.
0 commit comments