/OrleansMonitor

Use this library to monitor the Silos in your Orleans Deployment

Primary LanguageC#

Orleans Monitor

Build Status Build status

Use this library to monitor the Silos in your Orleans Deployment.

Installation

Install using the nuget package.

PM> Install-Package Two10.OrleansMonitor

Usage

// 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...
}

License

MIT