Class: Prometheus::Client::Config
- Inherits:
-
Object
- Object
- Prometheus::Client::Config
- Defined in:
- lib/prometheus/client/config.rb
Instance Attribute Summary collapse
-
#data_store ⇒ Object
Returns the value of attribute data_store.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_store ⇒ Object
Returns the value of attribute data_store.
8 9 10 |
# File 'lib/prometheus/client/config.rb', line 8 def data_store @data_store end |