1. 01 Feb, 2016 1 commit
    • fix registration bug in SpectatorMetricServices · 63b0c8c6
      Brian Harrington authored
      The primary change is to fix a memory leak reported in
      Netflix/spectator#264. Each time a gauge was updated it
      was creating a new registration and because the map holds
      a strong reference these would never get collected.
      Further, the aggregate value created by the multiple
      registrations was not correct.
      
      In addition I added some test cases around the various
      inputs and checked that the results were reflected as
      expected in the registry. I noticed the timer values
      had a unit of milliseconds, but it isn't immediately
      clear if the reported value can ever less than 1.0. The
      conversion to long is now delayed until after converting
      to nanoseconds so duration values less than 1.0 will now
      work instead of just recording 0.
      
      For the histogram I changed to just using a cast to `long`
      to avoid boxing to a `Double`. As an FYI for the future,
      there is a DoubleDistributionSummary we have experimented
      with in spectator-ext-sandbox that might be more appropriate
      for this use-case.
  2. 31 Jan, 2016 2 commits
  3. 29 Jan, 2016 1 commit
  4. 28 Jan, 2016 2 commits
  5. 27 Jan, 2016 4 commits
  6. 26 Jan, 2016 3 commits
  7. 25 Jan, 2016 2 commits
  8. 24 Jan, 2016 1 commit
  9. 20 Jan, 2016 3 commits
  10. 19 Jan, 2016 3 commits
  11. 18 Jan, 2016 3 commits
  12. 16 Jan, 2016 2 commits
  13. 15 Jan, 2016 7 commits
  14. 14 Jan, 2016 4 commits
  15. 12 Jan, 2016 2 commits
    • ignore ipr · b4cf3750
      Spencer Gibb authored
    • Upgrade archaius to v 0.7.3 · b894f8db
      Spencer Gibb authored
      Added spring-cloud-starter-archaius so downstream projects
      like consul and zookeeper don't need to maintain the list of
      archaius depenencies.
      
      fixes gh-765