Class: Bixby::Model::Metric
- Inherits:
-
Base
show all
- Defined in:
- lib/bixby-client/model/metric.rb
Class Method Summary
collapse
Methods inherited from Base
#[], destroy, #initialize, update
Class Method Details
15
16
|
# File 'lib/bixby-client/model/metric.rb', line 15
def self.find(id)
end
|
.list(host_id) ⇒ Object
7
8
9
|
# File 'lib/bixby-client/model/metric.rb', line 7
def self.list(host_id)
get("/hosts/#{host_id}/checks")
end
|
.list_for_check(host_id, check_id) ⇒ Object
11
12
13
|
# File 'lib/bixby-client/model/metric.rb', line 11
def self.list_for_check(host_id, check_id)
get("/hosts/#{host_id}/checks/#{check_id}/metrics")
end
|