Skip to content

Commit

Permalink
fix getServerInfo Missing field & data accuracy error (#1516)
Browse files Browse the repository at this point in the history
  • Loading branch information
xwh1108 authored Feb 11, 2024
1 parent 6926ba0 commit e2e13ca
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,20 @@ public class DiskMetrics {
@JsonProperty("apiCalls")
private Map<String, String> apiCalls;

@JsonProperty("totalErrorsAvailability")
private Integer totalErrorsAvailability;

@JsonProperty("totalErrorsTimeout")
private Integer totalErrorsTimeout;

public Integer totalErrorsAvailability() {
return totalErrorsAvailability;
}

public Integer totalErrorsTimeout() {
return totalErrorsTimeout;
}

public Map<String, TimedAction> lastMinute() {
return Collections.unmodifiableMap(lastMinute);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class GCStats {
private Integer numGC;

@JsonProperty("pause_total")
private Integer pauseTotal;
private Long pauseTotal;

@JsonProperty("pause")
private List<Integer> pause;
Expand All @@ -53,7 +53,7 @@ public Integer numGC() {
return numGC;
}

public Integer pauseTotal() {
public Long pauseTotal() {
return pauseTotal;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
@JsonIgnoreProperties(ignoreUnknown = true)
public class Usage {
@JsonProperty("size")
private Integer size;
private Long size;

@JsonProperty("error")
private String error;

public Integer size() {
public Long size() {
return size;
}

Expand Down

0 comments on commit e2e13ca

Please sign in to comment.