@@ -19,8 +19,7 @@ public class NodeStats
19
19
public string Hostname { get ; internal set ; }
20
20
21
21
[ JsonProperty ( "indices" ) ]
22
- [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
23
- public Dictionary < string , NodeStatsIndexes > Indices { get ; internal set ; }
22
+ public NodeStatsIndexes Indices { get ; internal set ; }
24
23
25
24
[ JsonProperty ( "os" ) ]
26
25
public OSStats OS { get ; internal set ; }
@@ -32,8 +31,9 @@ public class NodeStats
32
31
public JVM JVM { get ; internal set ; }
33
32
34
33
[ JsonProperty ( "thread_pool" ) ]
35
- [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
36
- public Dictionary < string , ThreadCountStats > ThreadPool { get ; internal set ; }
34
+ [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
35
+ public Dictionary < string , ThreadCountStats > ThreadPool { get ; internal set ; }
36
+
37
37
38
38
[ JsonProperty ( "network" ) ]
39
39
public NetworkStats Network { get ; internal set ; }
@@ -233,8 +233,8 @@ public class JVM : UptimeStats
233
233
[ JsonProperty ( "gc" ) ]
234
234
public GCOverallStats GC { get ; internal set ; }
235
235
[ JsonProperty ( "buffer_pools" ) ]
236
- [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
237
- public Dictionary < string , NodeBufferPool > BufferPools { get ; internal set ; }
236
+ [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
237
+ public Dictionary < string , NodeBufferPool > BufferPools { get ; internal set ; }
238
238
239
239
[ JsonObject ]
240
240
public class MemoryStats
@@ -256,15 +256,15 @@ public class MemoryStats
256
256
[ JsonProperty ( "non_heap_committed_in_bytes" ) ]
257
257
public long NonHeapCommittedInBytes { get ; internal set ; }
258
258
[ JsonProperty ( "pools" ) ]
259
- [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
260
- public Dictionary < string , JVMPool > Pools { get ; internal set ; }
259
+ [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
260
+ public Dictionary < string , JVMPool > Pools { get ; internal set ; }
261
261
262
262
[ JsonObject ]
263
263
public class JVMPool
264
264
{
265
265
[ JsonProperty ( "used" ) ]
266
266
public string Used { get ; internal set ; }
267
- [ JsonProperty ( "used_in_bytes " ) ]
267
+ [ JsonProperty ( "" ) ]
268
268
public long UsedInBytes { get ; internal set ; }
269
269
[ JsonProperty ( "max" ) ]
270
270
public string Max { get ; internal set ; }
@@ -294,8 +294,8 @@ public class ThreadStats
294
294
public class GCOverallStats : GarbageCollectorStats
295
295
{
296
296
[ JsonProperty ( "Collectors" ) ]
297
- [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
298
- public Dictionary < string , GarbageCollectorStats > collectors { get ; internal set ; }
297
+ [ JsonConverter ( typeof ( DictionaryKeysAreNotPropertyNamesJsonConverter ) ) ]
298
+ public Dictionary < string , GarbageCollectorStats > collectors { get ; internal set ; }
299
299
}
300
300
301
301
[ JsonObject ]
0 commit comments