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.



57
58
59
# File 'lib/fluent/plugin/monitoring.rb', line 57

def initialize(_project_id, _monitored_resource, _gcm_service_address)
  # no default behavior
end

Instance Method Details

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



61
62
63
# File 'lib/fluent/plugin/monitoring.rb', line 61

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

#exportObject



65
66
67
# File 'lib/fluent/plugin/monitoring.rb', line 65

def export
  nil
end