(self)
return config
Returns the default collector settings
Returns the default collector settings
Returns the default collector settings
def get_default_config(self):
        """
        Returns the default collector settings
        """
        config = super(PassengerCollector, self).get_default_config()
        config.update({
            "path":         "passenger_stats",
            "bin":          "/usr/lib/ruby-flo/bin/passenger-memory-stats",
            "use_sudo":     False,
            "sudo_cmd":     "/usr/bin/sudo",
            "passenger_status_bin": "/usr/bin/passenger-status",
            "passenger_memory_stats_bin": "/usr/bin/passenger-memory-stats",
        })
        return config
def get_default_config ( self ) : config = super ( PassengerCollector , self ) . get_default_config ( ) config . update ( { "path" : "passenger_stats" , "bin" : "/usr/lib/ruby-flo/bin/passenger-memory-stats" , "use_sudo" : False , "sudo_cmd" : "/usr/bin/sudo" , "passenger_status_bin" : "/usr/bin/passenger-status" , "passenger_memory_stats_bin" : "/usr/bin/passenger-memory-stats" , } ) return config