Class: Monitoring::BaseMonitoringRegistry

Inherits:
Object
  • Object
show all
Defined in:
lib/fluent/plugin/monitoring.rb

Overview

Base class for the monitoring registry.

Instance Method Summary collapse

Constructor Details

#initialize(_project_id, _monitored_resource, _gcm_service_address) ⇒ BaseMonitoringRegistry

Returns a new instance of BaseMonitoringRegistry.



52
53
# File 'lib/fluent/plugin/monitoring.rb', line 52

def initialize(_project_id, _monitored_resource, _gcm_service_address)
end

Instance Method Details

#counter(_name, _labels, _docstring, _prefix, _aggregation) ⇒ Object



55
56
57
# File 'lib/fluent/plugin/monitoring.rb', line 55

def counter(_name, _labels, _docstring, _prefix, _aggregation)
  BaseCounter.new
end

#exportObject



59
60
61
# File 'lib/fluent/plugin/monitoring.rb', line 59

def export
  nil
end