New
0.13.0: Limit metrics to specific adapters, optional tags for counters
Added
-
Ability to limit some metrics to specific adapters. #37 by [@Keallar] and [@Envek]
Yabeda.configure do group :cloud do adapter :newrelic, :datadog counter :foo end counter :bar, adapter: :prometheus end -
Multiple expectations in RSpec matchers. [@Envek]
expect { whatever }.to increment_yabeda_counter(:my_counter).with( { tag: "foo" } => 1, { tag: "bar" } => (be >= 42), )
Changed
-
Don't require to provide tags for counters and histograms, use empty tags (
{}) by default. See discussion at #26. [@Envek]Yabeda.foo.increment # same as Yabeda.foo.increment({}, by: 1)
Fixed
- Railtie loading to prevent calling methods that have not yet been defined. #38 by [@bibendi].