diff --git a/src/Kritner.Orleans.GettingStarted.Grains/HealthChecks/CpuHealthCheckGrain.cs b/src/Kritner.Orleans.GettingStarted.Grains/HealthChecks/CpuHealthCheckGrain.cs index 911a0fd..81233b3 100644 --- a/src/Kritner.Orleans.GettingStarted.Grains/HealthChecks/CpuHealthCheckGrain.cs +++ b/src/Kritner.Orleans.GettingStarted.Grains/HealthChecks/CpuHealthCheckGrain.cs @@ -26,18 +26,18 @@ public CpuHealthCheckGrain(IHostEnvironmentStatistics hostEnvironmentStatistics) if (_hostEnvironmentStatistics.CpuUsage > UnhealthyThreshold) { return Task.FromResult(HealthCheckResult.Unhealthy( - $"CPU utilization is unhealthy at {_hostEnvironmentStatistics.CpuUsage * 100}%.")); + $"CPU utilization is unhealthy at {_hostEnvironmentStatistics.CpuUsage}%.")); } if (_hostEnvironmentStatistics.CpuUsage > DegradedThreshold) { return Task.FromResult(HealthCheckResult.Degraded( - $"CPU utilization is degraded at {_hostEnvironmentStatistics.CpuUsage * 100}%.")); + $"CPU utilization is degraded at {_hostEnvironmentStatistics.CpuUsage}%.")); } return Task.FromResult(HealthCheckResult.Healthy( - $"CPU utilization is healthy at {_hostEnvironmentStatistics.CpuUsage * 100}%.")); + $"CPU utilization is healthy at {_hostEnvironmentStatistics.CpuUsage}%.")); } } } \ No newline at end of file