Skip to content

Commit d4c9cef

Browse files
authored
Expose external refreshes through the stats API (#3992)
Expose external refreshes through the stats API
1 parent 60d9385 commit d4c9cef

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Nest/CommonOptions/Stats/RefreshStats.cs

+12
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,17 @@ public class RefreshStats
1313

1414
[DataMember(Name ="total_time_in_millis")]
1515
public long TotalTimeInMilliseconds { get; set; }
16+
17+
/// <summary>
18+
/// Only valid for Elasticsearch 7.2.0 and above.
19+
/// </summary>
20+
[DataMember(Name ="external_total")]
21+
public long ExternalTotal { get; set; }
22+
23+
/// <summary>
24+
/// Only valid for Elasticsearch 7.2.0 and above.
25+
/// </summary>
26+
[DataMember(Name ="external_total_time_in_millis")]
27+
public long ExternalTotalTimeInMilliseconds { get; set; }
1628
}
1729
}

0 commit comments

Comments
 (0)