Class: Cloudscale::Constants::InfluxDb
- Inherits:
-
Object
- Object
- Cloudscale::Constants::InfluxDb
- Defined in:
- lib/cloudscale/monitor/model/constants/influxdb_store.rb
Constant Summary collapse
- @@INFLUXDB_STORE =
"#{File.dirname(__FILE__)}/../../../store/agent/influxdb.store"
Class Method Summary collapse
Class Method Details
.load ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/cloudscale/monitor/model/constants/influxdb_store.rb', line 14 def self.load begin YAML.load(File.read(@@INFLUXDB_STORE)) rescue return nil end end |