Permalink
Commits on Jan 20, 2013
  1. @tomcooley
Commits on Jan 23, 2012
  1. Added in hostName vs IP address checking, so that if an IP address is…

    … passed in, an IPEndPoint is constructed and reused, otherwise DNS resolution is called every time
    committed Jan 23, 2012
Commits on Jan 22, 2012
  1. Added Nuget badge

    committed Jan 22, 2012
Commits on Jan 20, 2012
  1. added async tags

    committed Jan 20, 2012
  2. removed unneeded refs

    committed Jan 20, 2012
  3. targeting client profile

    committed Jan 20, 2012
  4. Looks like we're out of luck with inline styles

    added some additional notes about Send vs Stream
    committed Jan 20, 2012
  5. Added logo

    committed Jan 20, 2012
  6. Formatting tweak

    committed Jan 20, 2012
  7. add a handful of overrides to Send and Stream methods that accept an …

    …IMetricPublishingConfiguration
    
    same as constructor
    committed Jan 20, 2012
  8. changed configuration name from server to hostName to be consistent w…

    …ith rest of library
    
    added docs
    committed Jan 20, 2012
  9. FxCop suppression

    committed Jan 20, 2012
  10. added some global FxCop suppressions - we don't care about Nano* name…

    …s in namespaces
    
    we don't care about strong naming
    committed Jan 20, 2012
  11. FxCop fixes

    - added GetHashCode, Equals, == and != to all structs, even though we never intend to have these functions used
    committed Jan 20, 2012
  12. added docs

    throw on bad values in constructor
    committed Jan 20, 2012
  13. FxCop fixes

    hostname -> hostName
    added suppression of catching all exceptions in UdpMessenger
    string.Formats all are now CultureInfo.InvariantCulture
    committed Jan 20, 2012
  14. added CLSCompliant

    committed Jan 20, 2012
  15. TimeStamp -> Timestamp

    committed Jan 20, 2012
  16. Enabled FxCop for debug / release builds

    Enabled documentation generation for release builds
    committed Jan 20, 2012
  17. cleaned up documentation

    committed Jan 20, 2012
  18. first take on documentation

    committed Jan 20, 2012
  19. have built out a new MetricClient class that can be used to push alon…

    …g metrics to a server in the specified manner
    
    it has two modes -- Static where user doesn't control resources and Instance where user must Dispose
    
    MetricClient.Send("foo.bar.com", 8125, MetricFormat.StatSite, "prefix", new [] { Metric.Counter("name", 50) })
    MetricClient.Stream("foo.bar.com", 8125, MetricFormat.StatSite, "prefix", new [] { Metric.Counter("name", 50) })
    MetricClient.Time("foo.bar.com", 8125, MetricFormat.StatSite, "prefix", () => { Thread.Sleep(1); });
    
    or
    
    using (var client = new MetricClient("foo.bar.com", 8125, MetricFormat.StatSite, "prefix"))
    {
    	client.Send(Metric.KeyValue("name", 50, DateTime.Now));
    	client.Send(new [] { Metric.Counter("name", 50) });
    	client.Stream(new [] { Metric.Counter("name", 50) });
    }
    committed Jan 20, 2012
  20. failed to accept a key to prefix the metrics with

    failed to perform input validation -- corrected and docs updated
    committed Jan 20, 2012
  21. this static factory class provides a simpler way to get at the variou…

    …s metric types that will perform validation
    
    users are still allowed to use POCOs, but this class prevents bad keys, etc
    usage: Metric.Counter("foo", 2) ... etc
    committed Jan 20, 2012
  22. removed useless comments

    committed Jan 20, 2012
  23. A simple method that can check for valid keys, and one that will sani…

    …tize bad keys that can be used by a client
    committed Jan 20, 2012
  24. Add the MetricExtensions class which is responsible for turning IMetr…

    …ic instances into strings for the StatsD and StatSite back ends
    
    There is a method for converting a single metric, and one for using continuations to stream conversions
    committed Jan 20, 2012