mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-27 14:06:45 +00:00
fix(consumption_metrics): exp backoff retry (#5317)
Split off from #5297. Depends on #5315. Cc: #5175 for retry
This commit is contained in:
@@ -32,7 +32,9 @@ def test_threshold_based_eviction(
|
||||
synthetic_size_calculation_interval="2s"
|
||||
metric_collection_endpoint="http://{host}:{port}/nonexistent"
|
||||
"""
|
||||
metrics_refused_log_line = ".*metrics endpoint refused the sent metrics.*/nonexistent.*"
|
||||
metrics_refused_log_line = (
|
||||
".*metrics_collection:.* upload consumption_metrics (still failed|failed, will retry).*"
|
||||
)
|
||||
env = neon_env_builder.init_start()
|
||||
env.pageserver.allowed_errors.append(metrics_refused_log_line)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user