diff --git a/CHANGELOG.md b/CHANGELOG.md index 92fa241d0..7ecd6f7e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Release (2024-XX-XX) +- `logme`: [v0.19.0](services/logme/CHANGELOG.md#v0190-2024-09-02) + - **Breaking changes:** `GetMetricsResponse` fields have changed data types + - `CpuLoadPercent`, `Load1`, `Load15` and `Load5` are now `*float64` + - `ParachuteDiskEphemeralActivated` and `ParachuteDiskPersistentActivated` are now `*bool` - `mongodbflex`: [v0.15.0](services/mongodbflex/CHANGELOG.md#v0150-2024-09-02) - **Feature**: New method `ListAdvisorSlowQueries` that gets slow queries from the Opsmanager performance advisor. - **Feature**: New method `ListSuggestedIndexes` that gets suggested indexes from the Opsmanager performance advisor. diff --git a/services/logme/CHANGELOG.md b/services/logme/CHANGELOG.md index 09dd5f80a..d9f55e654 100644 --- a/services/logme/CHANGELOG.md +++ b/services/logme/CHANGELOG.md @@ -1,3 +1,9 @@ +## v0.19.0 (2024-09-02) + +- **Breaking changes:** `GetMetricsResponse` fields have changed data types + - `CpuLoadPercent`, `Load1`, `Load15` and `Load5` are now `*float64` + - `ParachuteDiskEphemeralActivated` and `ParachuteDiskPersistentActivated` are now `*bool` + ## v0.18.0 (2024-08-01) - **Feature:** `Plan` has a new field `SkuName` diff --git a/services/logme/model_get_metrics_response.go b/services/logme/model_get_metrics_response.go index 4366a893a..18e4d0540 100644 --- a/services/logme/model_get_metrics_response.go +++ b/services/logme/model_get_metrics_response.go @@ -14,9 +14,9 @@ package logme type GetMetricsResponse struct { CpuIdleTime *int64 `json:"cpuIdleTime,omitempty"` // REQUIRED - CpuLoadPercent *int64 `json:"cpuLoadPercent"` - CpuSystemTime *int64 `json:"cpuSystemTime,omitempty"` - CpuUserTime *int64 `json:"cpuUserTime,omitempty"` + CpuLoadPercent *float64 `json:"cpuLoadPercent"` + CpuSystemTime *int64 `json:"cpuSystemTime,omitempty"` + CpuUserTime *int64 `json:"cpuUserTime,omitempty"` // REQUIRED DiskEphemeralTotal *int64 `json:"diskEphemeralTotal"` // REQUIRED @@ -26,11 +26,11 @@ type GetMetricsResponse struct { // REQUIRED DiskPersistentUsed *int64 `json:"diskPersistentUsed"` // REQUIRED - Load1 *int64 `json:"load1"` + Load1 *float64 `json:"load1"` // REQUIRED - Load15 *int64 `json:"load15"` + Load15 *float64 `json:"load15"` // REQUIRED - Load5 *int64 `json:"load5"` + Load5 *float64 `json:"load5"` // REQUIRED MemoryTotal *int64 `json:"memoryTotal"` // REQUIRED @@ -38,7 +38,7 @@ type GetMetricsResponse struct { // REQUIRED OpensearchDashboardURL *string `json:"opensearchDashboardURL"` // REQUIRED - ParachuteDiskEphemeralActivated *int64 `json:"parachuteDiskEphemeralActivated"` + ParachuteDiskEphemeralActivated *bool `json:"parachuteDiskEphemeralActivated"` // REQUIRED ParachuteDiskEphemeralTotal *int64 `json:"parachuteDiskEphemeralTotal"` // REQUIRED @@ -48,7 +48,7 @@ type GetMetricsResponse struct { // REQUIRED ParachuteDiskEphemeralUsedThreshold *int64 `json:"parachuteDiskEphemeralUsedThreshold"` // REQUIRED - ParachuteDiskPersistentActivated *int64 `json:"parachuteDiskPersistentActivated"` + ParachuteDiskPersistentActivated *bool `json:"parachuteDiskPersistentActivated"` // REQUIRED ParachuteDiskPersistentTotal *int64 `json:"parachuteDiskPersistentTotal"` // REQUIRED