Skip to content

Commit

Permalink
Expose external refreshes through the stats API (#3992)
Browse files Browse the repository at this point in the history
Expose external refreshes through the stats API
  • Loading branch information
codebrain committed Aug 16, 2019
1 parent 58bbb80 commit 92ee114
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Nest/CommonOptions/Stats/RefreshStats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,17 @@ public class RefreshStats

[DataMember(Name ="total_time_in_millis")]
public long TotalTimeInMilliseconds { get; set; }

/// <summary>
/// Only valid for Elasticsearch 7.2.0 and above.
/// </summary>
[DataMember(Name ="external_total")]
public long ExternalTotal { get; set; }

/// <summary>
/// Only valid for Elasticsearch 7.2.0 and above.
/// </summary>
[DataMember(Name ="external_total_time_in_millis")]
public long ExternalTotalTimeInMilliseconds { get; set; }
}
}

0 comments on commit 92ee114

Please sign in to comment.