test: capture transaction retry counters in backlog samples

This commit is contained in:
2026-09-20 22:18:55 +08:00
parent 351a7757ec
commit 6cf43bafd1
2 changed files with 3 additions and 1 deletions

View File

@@ -139,6 +139,8 @@ row = {
"db_connections_idle": values.get("orbit_db_connections_idle", 0),
"db_wait_count_total": values.get("orbit_db_wait_count_total", 0),
"db_wait_duration_seconds_total": values.get("orbit_db_wait_duration_seconds_total", 0),
"transaction_retries_total": values.get("orbit_db_transaction_retries_total", 0),
"transaction_retry_exhausted_total": values.get("orbit_db_transaction_retry_exhausted_total", 0),
"waiting_tasks": values.get('orbit_pulse_tasks_state{state="WAITING"}', 0),
"running_tasks": values.get('orbit_pulse_tasks_state{state="RUNNING"}', 0),
"business_snapshot_duration_count": values.get("orbit_business_snapshot_duration_seconds_count", 0),