Sha256: ea1825a56d0bfe447d092b6d32fe485a3553d9861111a46fd5db1c2d4393f1c2

Contents?: true

Size: 515 Bytes

Versions: 5

Compression:

Stored size: 515 Bytes

Contents

# frozen_string_literal: true

module StatsD
  module Instrument
    # @note This class is part of the new Client implementation that is intended
    #   to become the new default in the next major release of this library.
    class StatsDDatagramBuilder < StatsD::Instrument::DatagramBuilder
      unsupported_datagram_types :h, :d, :kv

      protected

      def normalize_tags(tags)
        raise NotImplementedError, "#{self.class.name} does not support tags" if tags
        super
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
statsd-instrument-3.1.2 lib/statsd/instrument/statsd_datagram_builder.rb
statsd-instrument-3.1.1 lib/statsd/instrument/statsd_datagram_builder.rb
statsd-instrument-3.1.0 lib/statsd/instrument/statsd_datagram_builder.rb
statsd-instrument-3.0.2 lib/statsd/instrument/statsd_datagram_builder.rb
statsd-instrument-3.0.1 lib/statsd/instrument/statsd_datagram_builder.rb