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.
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 |
#export ⇒ Object
59 60 61 |
# File 'lib/fluent/plugin/monitoring.rb', line 59 def export nil end |