When starting up my Orleans cluster I noticed the following warning message:
warn: Orleans.Runtime.NoOpHostEnvironmentStatistics[100708]
No implementation of IHostEnvironmentStatistics was found. Load shedding will not work yet
To get rid of this warning you need to include the following line in the SiloBuilder config:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var builder = new SiloHostBuilder() | |
.UseLocalhostClustering() | |
.ConfigureApplicationParts(parts => parts.AddApplicationPart(typeof(IPageViewMonitorGrain).Assembly).WithReferences()) | |
.AddSimpleMessageStreamProvider("SMSProvider") | |
.AddMemoryGrainStorage("PubSubStore") | |
.AddStartupTask<MonitoringStartupTask>() | |
.UsePerfCounterEnvironmentStatistics() // Add this line to get rid of the load shedding warning |