Hosted Graphite now in add-on catalog
Today we're welcoming the Hosted Graphite add-on. Hosted Graphite offers simple, cloud-based Graphite hosting to support real-time metrics from your applications.
A Graphite.NET client library is available here and is can be installed using the NuGet package too. Provision the add-on and configure the client to start sending metrics:
var apiKey = ConfigurationManager.AppSettings.Get("HOSTEDGRAPHITE_APIKEY");
using (var client = new GraphiteTcpClient("carbon.hostedgraphite.com",
port: 2003, keyPrefix: string.Format("{0}", apiKey)))
{
client.Send("users", users.Count());
}
Metrics can also be sent via UDP and you can read more about it in the documentation.
Have fun!
Friday, 22 February 2013