Skip to content

Commit

Permalink
Fix #3328 Add periodic flush count to FlushStats (#3360)
Browse files Browse the repository at this point in the history
This commit adds periodic flush count to FlushStats
  • Loading branch information
Mpdreamz committed Sep 3, 2018
1 parent 0e9cf8f commit 56109cf
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Nest/CommonOptions/Stats/FlushStats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,21 @@ public class FlushStats
[JsonProperty("total")]
public long Total { get; set; }

/// <summary>
/// The number of flushes that were periodically triggered when translog exceeded the flush threshold.
/// </summary>
[JsonProperty("periodic")]
public long Periodic { get; set; }

/// <summary>
/// The total time merges have been executed.
/// </summary>
[JsonProperty("total_time")]
public string TotalTime { get; set; }

/// <summary>
/// The total time merges have been executed (in milliseconds).
/// </summary>
[JsonProperty("total_time_in_millis")]
public long TotalTimeInMilliseconds { get; set; }

Expand Down

0 comments on commit 56109cf

Please sign in to comment.