Skip to content

Commit db32ef5

Browse files
committed
Add ML node count to xpack usage response.
elastic/elasticsearch#33863
1 parent 698d632 commit db32ef5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Nest/XPack/Info/XPackUsage/XPackUsageResponse.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ public class MonitoringUsage : XPackUsage
164164

165165
public class MachineLearningUsage : XPackUsage
166166
{
167+
[JsonProperty("node_count")]
168+
public int NodeCount { get; internal set; }
169+
167170
[JsonProperty("datafeeds")]
168171
public IReadOnlyDictionary<string, DataFeed> Datafeeds { get; set; } = EmptyReadOnly<string, DataFeed>.Dictionary;
169172

0 commit comments

Comments
 (0)