diff --git a/CHANGELOG.md b/CHANGELOG.md index 498cf313..602857cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ section below. ## Unreleased changes +- Allow the `tag_error_class` option for `statsd_count_success` in strict mode. + ## Version 3.5.7 - Improve time measurement to avoid seconds to milliseconds conversions. diff --git a/lib/statsd/instrument/strict.rb b/lib/statsd/instrument/strict.rb index 0732ca0f..fb2c9f2b 100644 --- a/lib/statsd/instrument/strict.rb +++ b/lib/statsd/instrument/strict.rb @@ -114,7 +114,8 @@ def statsd_distribution(method, name, sample_rate: nil, tags: nil, no_prefix: fa super end - def statsd_count_success(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil) + def statsd_count_success(method, name, sample_rate: nil, tags: nil, no_prefix: false, client: nil, + tag_error_class: false) check_method_and_metric_name(method, name) super end