@@ -268,47 +268,47 @@ func (s *InfrastructureUsageService) ListManagementServersMetrics(p *ListManagem
268268
269269type ListManagementServersMetricsResponse struct {
270270 Count int `json:"count"`
271- ManagementServersMetrics []* ManagementServersMetric `json:"managementserversmetric "`
271+ ManagementServersMetrics []* ManagementServersMetric `json:"managementserver "`
272272}
273273
274274type ManagementServersMetric struct {
275- Agentcount int `json:"agentcount"`
276- Availableprocessors int `json:"availableprocessors"`
277- Collectiontime string `json:"collectiontime"`
278- Cpuload string `json:"cpuload"`
279- Dbislocal bool `json:"dbislocal"`
280- Heapmemorytotal int64 `json:"heapmemorytotal"`
281- Heapmemoryused int64 `json:"heapmemoryused"`
282- Id string `json:"id"`
283- Javadistribution string `json:"javadistribution"`
284- Javaversion string `json:"javaversion"`
285- JobID string `json:"jobid"`
286- Jobstatus int `json:"jobstatus"`
287- Kernelversion string `json:"kernelversion"`
288- Lastboottime string `json:"lastboottime"`
289- Lastserverstart string `json:"lastserverstart"`
290- Lastserverstop string `json:"lastserverstop"`
291- Loginfo string `json:"loginfo"`
292- Name string `json:"name"`
293- Osdistribution string `json:"osdistribution"`
294- Serviceip string `json:"serviceip"`
295- Sessions int64 `json:"sessions"`
296- State string `json:"state"`
297- Systemcycleusage string `json:"systemcycleusage"`
298- Systemloadaverages string `json:"systemloadaverages"`
299- Systemmemoryfree string `json:"systemmemoryfree"`
300- Systemmemorytotal string `json:"systemmemorytotal"`
301- Systemmemoryused string `json:"systemmemoryused"`
302- Systemmemoryvirtualsize string `json:"systemmemoryvirtualsize"`
303- Systemtotalcpucycles float64 `json:"systemtotalcpucycles"`
304- Threadsblockedcount int `json:"threadsblockedcount"`
305- Threadsdaemoncount int `json:"threadsdaemoncount"`
306- Threadsrunnablecount int `json:"threadsrunnablecount"`
307- Threadsteminatedcount int `json:"threadsteminatedcount"`
308- Threadstotalcount int `json:"threadstotalcount"`
309- Threadswaitingcount int `json:"threadswaitingcount"`
310- Usageislocal bool `json:"usageislocal"`
311- Version string `json:"version"`
275+ Agentcount int `json:"agentcount"`
276+ Availableprocessors int `json:"availableprocessors"`
277+ Collectiontime string `json:"collectiontime"`
278+ Cpuload string `json:"cpuload"`
279+ Dbislocal bool `json:"dbislocal"`
280+ Heapmemorytotal int64 `json:"heapmemorytotal"`
281+ Heapmemoryused int64 `json:"heapmemoryused"`
282+ Id string `json:"id"`
283+ Javadistribution string `json:"javadistribution"`
284+ Javaversion string `json:"javaversion"`
285+ JobID string `json:"jobid"`
286+ Jobstatus int `json:"jobstatus"`
287+ Kernelversion string `json:"kernelversion"`
288+ Lastboottime string `json:"lastboottime"`
289+ Lastserverstart string `json:"lastserverstart"`
290+ Lastserverstop string `json:"lastserverstop"`
291+ Loginfo string `json:"loginfo"`
292+ Name string `json:"name"`
293+ Osdistribution string `json:"osdistribution"`
294+ Serviceip string `json:"serviceip"`
295+ Sessions int64 `json:"sessions"`
296+ State string `json:"state"`
297+ Systemcycleusage [] int64 `json:"systemcycleusage"`
298+ Systemloadaverages [] float64 `json:"systemloadaverages"`
299+ Systemmemoryfree string `json:"systemmemoryfree"`
300+ Systemmemorytotal string `json:"systemmemorytotal"`
301+ Systemmemoryused string `json:"systemmemoryused"`
302+ Systemmemoryvirtualsize string `json:"systemmemoryvirtualsize"`
303+ Systemtotalcpucycles float64 `json:"systemtotalcpucycles"`
304+ Threadsblockedcount int `json:"threadsblockedcount"`
305+ Threadsdaemoncount int `json:"threadsdaemoncount"`
306+ Threadsrunnablecount int `json:"threadsrunnablecount"`
307+ Threadsteminatedcount int `json:"threadsteminatedcount"`
308+ Threadstotalcount int `json:"threadstotalcount"`
309+ Threadswaitingcount int `json:"threadswaitingcount"`
310+ Usageislocal bool `json:"usageislocal"`
311+ Version string `json:"version"`
312312}
313313
314314type ListDbMetricsParams struct {
@@ -347,21 +347,20 @@ func (s *InfrastructureUsageService) ListDbMetrics(p *ListDbMetricsParams) (*Lis
347347}
348348
349349type ListDbMetricsResponse struct {
350- Count int `json:"count"`
351- DbMetrics []* DbMetric `json:"dbmetric"`
350+ DbMetrics DbMetric `json:"dbMetrics"`
352351}
353352
354353type DbMetric struct {
355- Collectiontime string `json:"collectiontime"`
356- Connections int `json:"connections"`
357- Dbloadaverages string `json:"dbloadaverages"`
358- Hostname string `json:"hostname"`
359- JobID string `json:"jobid"`
360- Jobstatus int `json:"jobstatus"`
361- Queries int64 `json:"queries"`
362- Replicas string `json:"replicas"`
363- Tlsversions string `json:"tlsversions"`
364- Uptime int64 `json:"uptime"`
365- Version string `json:"version"`
366- Versioncomment string `json:"versioncomment"`
354+ Collectiontime string `json:"collectiontime"`
355+ Connections int `json:"connections"`
356+ Dbloadaverages [] float64 `json:"dbloadaverages"`
357+ Hostname string `json:"hostname"`
358+ JobID string `json:"jobid"`
359+ Jobstatus int `json:"jobstatus"`
360+ Queries int64 `json:"queries"`
361+ Replicas [] string `json:"replicas"`
362+ Tlsversions string `json:"tlsversions"`
363+ Uptime int64 `json:"uptime"`
364+ Version string `json:"version"`
365+ Versioncomment string `json:"versioncomment"`
367366}
0 commit comments