Sha256: 12f62c6f547a32dfeae4f26b7126c5ee3f1c6e89aaa255c4518fe0fb3ba5dbaf

Contents?: true

Size: 297 Bytes

Versions: 21

Compression:

Stored size: 297 Bytes

Contents

# frozen_string_literal: true

class Sbmt::KafkaConsumer::Config::Metrics < Dry::Struct
  transform_keys(&:to_sym)

  attribute? :port, Sbmt::KafkaConsumer::Types::Coercible::Integer.optional
  attribute :path, Sbmt::KafkaConsumer::Types::Strict::String
    .optional
    .default("/metrics")
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
sbmt-kafka_consumer-3.3.2 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-3.3.1 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-3.3.0 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-3.2.2 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-3.2.1 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-3.2.0 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-3.1.0 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-2.8.0 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-3.0.0 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-2.7.1 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-2.7.0 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-2.6.1 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-2.6.0 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-2.5.0 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-2.4.1 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-2.4.0 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-2.3.1 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-2.3.0 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-2.2.0 lib/sbmt/kafka_consumer/config/metrics.rb
sbmt-kafka_consumer-2.1.0 lib/sbmt/kafka_consumer/config/metrics.rb