Skip to content

Commit bebde3d

Browse files
Dean Zhufacebook-github-bot
authored andcommitted
add sequence number differences metric for accept log processing
Summary: as title. Aside from the top level STATS_paxos_out_of_order_accept_rejected, need to introduce an extra metric to denote how far the current maxAccepted cursor is lagging behind. Will be running the bundle in test tier to see if there is any latency bump. Reviewed By: dyniusz Differential Revision: D68254504 fbshipit-source-id: 5161cbcdd04607e9cfcbc7542abbe775a715d91c
1 parent f54a32e commit bebde3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fb303/ExportType.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ struct QuantileConsts {
132132

133133
struct SlidingWindowPeriodConsts {
134134
static constexpr const std::array<size_t, 1> kOneMin{{60}};
135+
static constexpr const std::array<size_t, 1> kTenMin{{600}};
135136
static constexpr const std::array<size_t, 2> kOneMinTenMin{{60, 600}};
136137
static constexpr const std::array<size_t, 3> kOneMinTenMinHour{
137138
{60, 600, 3600}};

0 commit comments

Comments
 (0)