Class: Consul::Async::ConsulAgentMetrics

Inherits:
ConsulTemplateAbstractMap show all
Defined in:
lib/consul/async/consul_template.rb

Overview

Object returning metrics from Consul agent, a JSON Map

Instance Attribute Summary

Attributes inherited from ConsulTemplateAbstract

#endpoint, #result, #seen_at

Instance Method Summary collapse

Methods inherited from ConsulTemplateAbstract

#_seen_at, #method_missing, #ready?, #respond_to_missing?

Constructor Details

#initialize(consul_endpoint) ⇒ ConsulAgentMetrics

Returns a new instance of ConsulAgentMetrics.



620
621
622
# File 'lib/consul/async/consul_template.rb', line 620

def initialize(consul_endpoint)
  super(consul_endpoint)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Consul::Async::ConsulTemplateAbstract