Skip to content

Commit

Permalink
Add missing tx metrics in replication
Browse files Browse the repository at this point in the history
  • Loading branch information
bonnefoa committed Apr 7, 2023
1 parent 68d1c0f commit 9eddae2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion postgres/tests/test_pg_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
check_replication_slots,
check_slru_metrics,
check_stat_replication,
check_wal_receiver_metrics,
check_tx_metrics,
check_wal_receiver_metrics,
requires_static_version,
)
from .utils import requires_over_10, requires_over_13, requires_over_14
Expand Down
2 changes: 2 additions & 0 deletions postgres/tests/test_pg_replication.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
check_db_count,
check_replication_delay,
check_slru_metrics,
check_tx_metrics,
check_wal_receiver_metrics,
)
from .utils import requires_over_10
Expand Down Expand Up @@ -59,6 +60,7 @@ def test_common_replica_metrics(aggregator, integration_check, metrics_cache_rep
check_replication_delay(aggregator, metrics_cache_replica, expected_tags=expected_tags)
check_wal_receiver_metrics(aggregator, expected_tags=expected_tags + ['status:streaming'])
check_conflict_metrics(aggregator, expected_tags=expected_tags)
check_tx_metrics(aggregator, expected_tags=expected_tags)

aggregator.assert_all_metrics_covered()

Expand Down

0 comments on commit 9eddae2

Please sign in to comment.