mirror of
https://github.com/block/buzz.git
synced 2026-10-27 20:41:57 +00:00
test(relay): initialize scraper errors from each observation
Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Brad Seiler <seiler@squareup.com>
(cherry picked from commit d43b957a5b)
Signed-off-by: Brad Seiler <seiler@squareup.com>
This commit is contained in:
@@ -177,7 +177,7 @@ fn wait_for_scraped_metric(process: &mut RelayProcess, port: u16, needle: &str)
|
||||
fn wait_for_scraped_metrics(process: &mut RelayProcess, port: u16, needles: &[&str]) -> String {
|
||||
let requested = needles.join(", ");
|
||||
let mut last_scrape = String::new();
|
||||
let mut last_error = None;
|
||||
let mut last_error: Option<String>;
|
||||
let deadline = Instant::now() + METRICS_SCRAPE_DEADLINE;
|
||||
loop {
|
||||
assert!(
|
||||
|
||||
Reference in New Issue
Block a user