Class: Prometheus::Client::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/prometheus/client/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



10
11
12
# File 'lib/prometheus/client/config.rb', line 10

def initialize
  @data_store = Prometheus::Client::DataStores::Synchronized.new
end

Instance Attribute Details

#data_storeObject

Returns the value of attribute data_store.



8
9
10
# File 'lib/prometheus/client/config.rb', line 8

def data_store
  @data_store
end