Class: Monitoring::BaseMonitoringRegistry
- Inherits:
-
Object
- Object
- Monitoring::BaseMonitoringRegistry
- Defined in:
- lib/fluent/plugin/monitoring.rb
Overview
Base class for the monitoring registry.
Direct Known Subclasses
Instance Method Summary collapse
- #counter(_name, _labels, _docstring, _prefix, _aggregation) ⇒ Object
- #export ⇒ Object
-
#initialize(_project_id, _monitored_resource, _gcm_service_address) ⇒ BaseMonitoringRegistry
constructor
A new instance of BaseMonitoringRegistry.
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 |
#export ⇒ Object
65 66 67 |
# File 'lib/fluent/plugin/monitoring.rb', line 65 def export nil end |