Skip to content

Commit 089dd25

Browse files
committed
Merge pull request #1558 from TheFireCookie/develop
NodeStats: fix typo + add HeapMax to JVM Mem stats
2 parents 54a7459 + 258906d commit 089dd25

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Diff for: src/Nest/Domain/Stats/NodeStats.cs

+9-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ public class NodeStats
1313

1414
[JsonProperty("name")]
1515
public string Name { get; internal set; }
16-
16+
1717
[JsonProperty("transport_address")]
1818
public string TransportAddress { get; internal set; }
1919

2020
// TODO: Rename to Host in 2.0
2121
[JsonProperty("host")]
22-
public string Hostname { get; internal set; }
22+
public string Hostname { get; internal set; }
2323

2424
[JsonProperty("indices")]
2525
public NodeStatsIndexes Indices { get; internal set; }
@@ -167,8 +167,10 @@ public class MemoryStats : BaseMemoryStats
167167
public int UsedPercent { get; internal set; }
168168
[JsonProperty("actual_free")]
169169
public string ActualFree { get; internal set; }
170+
[Obsolete]
171+
public long ActualFreeInbytes { get { return ActualFreeInBytes; } internal set { ActualFreeInBytes = value; } }
170172
[JsonProperty("actual_free_in_bytes")]
171-
public long ActualFreeInbytes { get; internal set; }
173+
public long ActualFreeInBytes { get; internal set; }
172174
[JsonProperty("actual_used")]
173175
public string ActualUsed { get; internal set; }
174176
[JsonProperty("actual_used_in_bytes")]
@@ -250,6 +252,10 @@ public class MemoryStats
250252
public string HeapCommitted { get; internal set; }
251253
[JsonProperty("heap_committed_in_bytes")]
252254
public long HeapCommittedInBytes { get; internal set; }
255+
[JsonProperty("heap_max")]
256+
public string HeapMax { get; internal set; }
257+
[JsonProperty("heap_max_in_bytes")]
258+
public long HeapMaxInBytes { get; internal set; }
253259
[JsonProperty("non_heap_used")]
254260
public string NonHeapUsed { get; internal set; }
255261
[JsonProperty("non_heap_used_in_bytes")]

0 commit comments

Comments
 (0)