lib/sidekiq/prometheus/exporter.rb in sidekiq-prometheus-exporter-0.1.12 vs lib/sidekiq/prometheus/exporter.rb in sidekiq-prometheus-exporter-0.1.13
- old
+ new
@@ -9,10 +9,12 @@
module Exporter
REQUEST_VERB = 'GET'.freeze
REQUEST_METHOD = 'REQUEST_METHOD'.freeze
NOT_FOUND_TEXT = 'Not Found'.freeze
MOUNT_PATH = '/metrics'.freeze
- HEADERS = {'Content-Type' => 'text/plain; version=0.0.4', 'Cache-Control' => 'no-cache'}.freeze
+ # rubocop:disable Style/MutableConstant
+ HEADERS = {'Content-Type' => 'text/plain; version=0.0.4', 'Cache-Control' => 'no-cache'}
+ # rubocop:enable Style/MutableConstant
EXPORTERS = Exporters.new
class << self
def banner
exporters =