Sha256: 8be41cc7796a74be3739a84b51a071a682a0bb4f7ef9a5d9146960392e0142c8
Contents?: true
Size: 598 Bytes
Versions: 3
Compression:
Stored size: 598 Bytes
Contents
# frozen_string_literal: true # 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 concrete 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
statsd-instrument-2.9.2 | lib/statsd/instrument/backend.rb |
statsd-instrument-2.9.1 | lib/statsd/instrument/backend.rb |
statsd-instrument-2.9.0 | lib/statsd/instrument/backend.rb |