Module: RuboCop::Cop::StatsD

Included in:
MeasureAsDistArgument, MetaprogrammingPositionalArguments, MetricPrefixArgument, MetricReturnValue, MetricValueKeywordArgument, PositionalArguments, SingletonConfiguration, SplatArguments
Defined in:
lib/statsd/instrument/rubocop.rb,
lib/statsd/instrument/rubocop/splat_arguments.rb,
lib/statsd/instrument/rubocop/metric_return_value.rb,
lib/statsd/instrument/rubocop/positional_arguments.rb,
lib/statsd/instrument/rubocop/metric_prefix_argument.rb,
lib/statsd/instrument/rubocop/singleton_configuration.rb,
lib/statsd/instrument/rubocop/measure_as_dist_argument.rb,
lib/statsd/instrument/rubocop/metric_value_keyword_argument.rb,
lib/statsd/instrument/rubocop/metaprogramming_positional_arguments.rb

Defined Under Namespace

Classes: MeasureAsDistArgument, MetaprogrammingPositionalArguments, MetricPrefixArgument, MetricReturnValue, MetricValueKeywordArgument, PositionalArguments, SingletonConfiguration, SplatArguments

Constant Summary collapse

METRIC_METHODS =
[:increment, :gauge, :measure, :set, :histogram, :distribution, :key_value]
METAPROGRAMMING_METHODS =
[
  :statsd_measure,
  :statsd_distribution,
  :statsd_count_success,
  :statsd_count_if,
  :statsd_count,
]
SINGLETON_CONFIGURATION_METHODS =
[
  :backend,
  :"backend=",
  :prefix,
  :"prefix=",
  :default_tags,
  :"default_tags=",
  :default_sample_rate,
  :"default_sample_rate=",
]