Use this library to monitor the Silos in your Orleans Deployment.
Install using the nuget package.
PM> Install-Package Two10.OrleansMonitor
// start with the Azure storage account you're using to monitor Orleans
var azureStorageAccount = CloudStorageAccount.Parse("UseDevelopmentStorage=true");
// create an OrleansMonitorClient
var orleansMonitorClient = azureStorageAccount.CreateOrleansMonitorClient();
// query the silo metrics for a given deployment
var siloMetrics = orleansMonitorClient.QuerySiloMetrics("deploymentId")
foreach (var silo in siloMetrics)
{
Console.WriteLine("Activations: {0}", silo.Activations);
Console.WriteLine("RequestQueue: {0}", silo.RequestQueue);
Console.WriteLine("CPU: {0}", silo.CPU);
// etc...
}
MIT