Sha256: a94285570032ba4b831cea424e0a0acf0eec67f5e76022159b366cf743a15b20
Contents?: true
Size: 568 Bytes
Versions: 28
Compression:
Stored size: 568 Bytes
Contents
# This abstract class specifies the interface a backend implementation should conform to. # @abstract class StatsD::Instrument::Backend # Collects a metric. # # @param metric [StatsD::Instrument::Metric] The metric to collect # @return [void] def collect_metric(metric) raise NotImplementedError, "Use a concerete backend implementation" end end require 'statsd/instrument/backends/logger_backend' require 'statsd/instrument/backends/null_backend' require 'statsd/instrument/backends/capture_backend' require 'statsd/instrument/backends/udp_backend'
Version data entries
28 entries across 28 versions & 2 rubygems