(self)
return config
Returns the help text for the configuration options for this handler
Returns the help text for the configuration options for this handler
Returns the help text for the configuration options for this handler
def get_default_config_help(self):
        """
        Returns the help text for the configuration options for this handler
        """
        config = super(LibratoHandler, self).get_default_config_help()

        config.update({
            'user': 'Librato username',
            'apikey': 'Librato API key',
            'apply_metric_prefix': 'Allow diamond to apply metric prefix',
            'queue_max_size': 'Max measurements to queue before submitting',
            'queue_max_interval':
                'Max seconds to wait before submitting. For best behavior, '
                'be sure your highest collector poll interval is lower than '
                'or equal to the queue_max_interval setting.',
            'include_filters':
                'A list of regex patterns. Only measurements whose path '
                'matches a filter will be submitted. Useful for limiting '
                'usage to *only* desired measurements, e.g. '
                '`"^diskspace\..*\.byte_avail$", "^loadavg\.01"` or '
                '`"^sockets\.",` (note trailing comma to indicate a list)',
        })

        return config
def get_default_config_help ( self ) : config = super ( LibratoHandler , self ) . get_default_config_help ( ) config . update ( { 'user' : 'Librato username' , 'apikey' : 'Librato API key' , 'apply_metric_prefix' : 'Allow diamond to apply metric prefix' , 'queue_max_size' : 'Max measurements to queue before submitting' , 'queue_max_interval' : 'Max seconds to wait before submitting. For best behavior, ' 'be sure your highest collector poll interval is lower than ' 'or equal to the queue_max_interval setting.' , 'include_filters' : 'A list of regex patterns. Only measurements whose path ' 'matches a filter will be submitted. Useful for limiting ' 'usage to *only* desired measurements, e.g. ' '`"^diskspace\..*\.byte_avail$", "^loadavg\.01"` or ' '`"^sockets\.",` (note trailing comma to indicate a list)' , } ) return config