Class: Prometheus::Collector::Extensions::Once
- Defined in:
- lib/prometheus/collector/extensions.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
Class Method Details
.install ⇒ Object
59 60 61 62 |
# File 'lib/prometheus/collector/extensions.rb', line 59 def install logger.info "Install #{name.to_sym}" Prometheus::Collector::Extensions.register name.to_sym, new end |
Instance Method Details
#call ⇒ Object
65 66 67 68 |
# File 'lib/prometheus/collector/extensions.rb', line 65 def call log 'Installing Runner Once' run end |
#callback ⇒ Object
70 71 72 |
# File 'lib/prometheus/collector/extensions.rb', line 70 def callback proc { log 'Finished Installing Runner Once' } end |