Skip to content
Commits on Apr 1, 2015
  1. Version bump to v2.0.0.rc4

    committed Apr 1, 2015
Commits on Mar 31, 2015
  1. Make Timer#update assume the unit is seconds when none is given

    And make it work with fractions of seconds for this case.
    committed Mar 31, 2015
Commits on Mar 18, 2015
  1. Version bump to v2.0.0.rc3

    committed Mar 18, 2015
  2. Make it possible to create gauges that return Java types

    Some reporters, e.g. metrics-graphite, inspects the return type of gauges to see if it's one of a list of expected types, because that's the only way they can ensure that they can correctly format the value. Since IRubyObject very rarely works there needs to be a way to create types gauges.
    committed Mar 18, 2015
  3. Make sure to return the cached metric wrapper instances

    The tests passed even before this change since we returned the same Metrics metrics, but they're good documentation.
    committed Mar 18, 2015
  4. Version bump to v2.0.0.rc2

    committed Mar 18, 2015
  5. Call the gauge callback using the current thread context

    Instead of the one that was passed when the callback was captured.
    committed Mar 18, 2015
  6. Version bump to v2.0.0.rc1

    committed Mar 18, 2015
  7. Properly capture the block in MetricRegistry#gauge

    It seems like the previous implementation wasn't safe, we got lots of weird errors that looked like the wrong block being called. This implementation was copied from RubyHash#initialize (when given a block that is called for missing keys).
    committed Mar 18, 2015
Commits on Mar 12, 2015
  1. Version bump to v2.0.0.rc0

    committed Mar 12, 2015
  2. Merge branch '2.0'

    committed Mar 12, 2015
  3. Also depend on metrics-core < 4.0

    [ci skip]
    committed Mar 12, 2015
  4. Depend on metrics-core 3.x not 3.1.x

    [ci skip]
    committed Mar 12, 2015
  5. Add overloads of Counter#{inc,dec} and Meter#mark

    Instead of checking the number of arguments. I didn't get this to work before, but I must have done something wrong (probably left the optional=1 part on one of the overloads).
    committed Mar 12, 2015
  6. Update the readme to reflect that it's Timer#time not #measure

    Also change to a typographical dash
    committed Mar 12, 2015
  7. Use the same license as Metrics

    committed Mar 12, 2015
  8. Include the JAR file in the gem

    committed Mar 12, 2015
  9. Update to metrics-core 3.1.1

    The standard deviations seem to be calculated differently in this release so the tests need to change – but they didn't need to be that specific anyway.
    committed Mar 12, 2015
  10. Add Travis config

    committed Mar 12, 2015
  11. Add JRuby extension wrappers for all metric types

    When marking a meter thousands of times per second looking up an object proxy for the meter takes measurable amounts of time, and methods are called by reflection. By wrapping the metric objects with something that JRuby understands this lookup can be minimized.
    
    The #to_h implementations are not time critical and much easier to implement in Ruby, so they have been left as-is.
    committed Mar 12, 2015
  12. Upgrade to RSpec 3.2

    committed Mar 11, 2015
  13. @grddev

    Improve MetricRegistry#to_h spec

    grddev committed with Nov 29, 2014
  14. @grddev

    Remove for-no-good-reason bangs

    The Api is broken nonetheless, so lets use this time for some cleanup.
    grddev committed with Nov 29, 2014
  15. @grddev

    Remove references to Yammer

    grddev committed with Nov 29, 2014
  16. @grddev
  17. @grddev
  18. @grddev
  19. @grddev

    Remove legacy #type methods

    grddev committed with Nov 26, 2014
  20. @grddev

    Avoid rake-features in gemspec

    grddev committed with Nov 26, 2014
Something went wrong with that request. Please try again.