Skip to content

Commit

Permalink
Add node count to ML usage response (#3603)
Browse files Browse the repository at this point in the history
Relates: elastic/elasticsearch#33863
Add usage remarks.
  • Loading branch information
Stuart Cam authored and russcam committed Mar 20, 2019
1 parent 384cf80 commit 495b380
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Nest/XPack/Info/XPackUsage/XPackUsageResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ public class MonitoringUsage : XPackUsage

public class MachineLearningUsage : XPackUsage
{
/// <remarks>Valid only for Elasticsearch 6.5.0+</remarks>
[JsonProperty("node_count")]
public int NodeCount { get; internal set; }

[JsonProperty("datafeeds")]
public IReadOnlyDictionary<string, DataFeed> Datafeeds { get; set; } = EmptyReadOnly<string, DataFeed>.Dictionary;

Expand Down

0 comments on commit 495b380

Please sign in to comment.