mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
- move require into register method
This commit is contained in:
parent
dbb8de214e
commit
d8ce014087
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
require "logstash/outputs/base"
|
||||
require "logstash/namespace"
|
||||
require "gmetric"
|
||||
|
||||
# This output allows you to pull metrics from your logs and ship them to
|
||||
# ganglia's gmond. This is heavily based on the graphite output.
|
||||
|
@ -35,7 +34,7 @@ class LogStash::Outputs::Ganglia < LogStash::Outputs::Base
|
|||
config :dmax, :validate => :number, :default => 300
|
||||
|
||||
def register
|
||||
# No register action required, stateless
|
||||
require "gmetric"
|
||||
end # def register
|
||||
|
||||
public
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue