Class: Monitoring::MonitoringRegistryFactory
- Inherits:
-
Object
- Object
- Monitoring::MonitoringRegistryFactory
- Defined in:
- lib/fluent/plugin/monitoring.rb
Overview
Factory that is used to create a monitoring registry based on the monitoring solution name.
Class Method Summary collapse
Class Method Details
.create(name) ⇒ Object
51 52 53 |
# File 'lib/fluent/plugin/monitoring.rb', line 51 def self.create(name) (@known_registry_types[name] || BaseMonitoringRegistry).new end |