.NET

Interesting .NET Metrics Libraries

Sending a metric via UDP

var endPoint = new IPEndPoint(Dns.GetHostAddresses("YOUR-UID.carbon.hostedgraphite.com")[0], 2003);
var bytes = Encoding.ASCII.GetBytes("YOUR-API-KEY.foo 1.2\n");
var sock = new Socket(AddressFamily.InterNetwork,SocketType.Dgram, ProtocolType.Udp) { Blocking = false };
sock.SendTo(bytes, endPoint);

Your API key can be found on your account home page.