Module: Legion::Extensions::Influxdb::Runners::ContinuousQuery

Defined in:
lib/legion/extensions/influxdb/runners/continuous_query.rb

Class Method Summary collapse

Class Method Details

.create(name:, host: 'localhost', port: 8086, **_payload) ⇒ Object



8
9
10
# File 'lib/legion/extensions/influxdb/runners/continuous_query.rb', line 8

def self.create(name:, host: 'localhost', port: 8086, **_payload)
  client = InfluxDB::Client.new(host: host, port: port)
end

.delete(name:, host: 'localhost', port: 8086, **_payload) ⇒ Object



12
13
14
# File 'lib/legion/extensions/influxdb/runners/continuous_query.rb', line 12

def self.delete(name:, host: 'localhost', port: 8086, **_payload)
  client = InfluxDB::Client.new(host: host, port: port)
end

.list(host: 'localhost', port: 8086, **_payload) ⇒ Object



4
5
6
# File 'lib/legion/extensions/influxdb/runners/continuous_query.rb', line 4

def self.list(host: 'localhost', port: 8086, **_payload)
  client = InfluxDB::Client.new(host: host, port: port)
end