From ca2d5a9ba2007e0490cef0743306a7ba5ac1fdaa Mon Sep 17 00:00:00 2001 From: Mpdreamz Date: Sun, 12 Aug 2018 16:44:09 +0200 Subject: [PATCH] Fix #3328 Add periodic flush count to FlushStats --- src/Nest/CommonOptions/Stats/FlushStats.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Nest/CommonOptions/Stats/FlushStats.cs b/src/Nest/CommonOptions/Stats/FlushStats.cs index 51bb633cb8c..f2527ff5d15 100644 --- a/src/Nest/CommonOptions/Stats/FlushStats.cs +++ b/src/Nest/CommonOptions/Stats/FlushStats.cs @@ -9,8 +9,21 @@ public class FlushStats [JsonProperty("total")] public long Total { get; set; } + /// + /// The number of flushes that were periodically triggered when translog exceeded the flush threshold. + /// + [JsonProperty("periodic")] + public long Periodic { get; set; } + + /// + /// The total time merges have been executed. + /// [JsonProperty("total_time")] public string TotalTime { get; set; } + + /// + /// The total time merges have been executed (in milliseconds). + /// [JsonProperty("total_time_in_millis")] public long TotalTimeInMilliseconds { get; set; }