Skip to content

Commit 4f07c76

Browse files
committed
fix #1350 added new columns in the cat nodes API
1 parent 50b1194 commit 4f07c76

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

src/Nest/Domain/Cat/CatNodesRecord.cs

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ public class CatNodesRecord : ICatRecord
6363
internal string _diskAvail { get; set; }
6464
public string DiskAvailable { get { return this._diskAvail ?? this._disk ?? this._d ?? this._disk_avail; }}
6565

66+
[JsonProperty("heap.current")]
67+
internal string _heap_current { get; set; }
68+
[JsonProperty("hc")]
69+
internal string _hc { get; set; }
70+
[JsonProperty("heapCurrent")]
71+
internal string _heapCurrent { get; set; }
72+
public string HeapCurrent { get { return this._heapCurrent ?? this._hc ?? this._heap_current; }}
73+
6674
[JsonProperty("heap.percent")]
6775
internal string _heap_percent { get; set; }
6876
[JsonProperty("hp")]
@@ -78,6 +86,14 @@ public class CatNodesRecord : ICatRecord
7886
[JsonProperty("heapMax")]
7987
internal string _heapMax { get; set; }
8088
public string HeapMax { get { return this._heapMax ?? this._hm ?? this._heap_max; }}
89+
]
90+
[JsonProperty("ram.current")]
91+
internal string _ram_current { get; set; }
92+
[JsonProperty("rc")]
93+
internal string _rc { get; set; }
94+
[JsonProperty("ramCurrent")]
95+
internal string _ramCurrent { get; set; }
96+
public string RamCurrent { get { return this._ramCurrent ?? this._rc ?? this._ram_current; }}
8197

8298
[JsonProperty("ram.percent")]
8399
internal string _ram_percent { get; set; }
@@ -187,6 +203,22 @@ public class CatNodesRecord : ICatRecord
187203
internal string _flushTotalTime { get; set; }
188204
public string FlushTotalTime { get { return this._flushTotalTime ?? this._ftt ?? this._flush_total_time; }}
189205

206+
[JsonProperty("file_desc.percent")]
207+
internal int _file_desc_percent { get; set; }
208+
[JsonProperty("fdp")]
209+
internal int _fdp { get; set; }
210+
[JsonProperty("fileDescriptorPercent")]
211+
internal int _fileDescriptorPercent { get; set; }
212+
public int FileDescriptorPercent { get { return this._fileDescriptorPercent ?? this._fdp ?? this._file_desc_percent; }}
213+
214+
[JsonProperty("file_desc.max")]
215+
internal int _file_desc_max { get; set; }
216+
[JsonProperty("fdm")]
217+
internal int _fdm { get; set; }
218+
[JsonProperty("fileDescriptorMax")]
219+
internal int _fileDescriptorMax { get; set; }
220+
public int FileDescriptorMax { get { return this._fileDescriptorMax ?? this._fdm ?? this._file_desc_max; }}
221+
190222
[JsonProperty("get.current")]
191223
internal string _get_current { get; set; }
192224
[JsonProperty("gc")]

0 commit comments

Comments
 (0)