#NEWLINE# def configure( self , **options ) : #NEWLINE# #INDENT# 'Configure the alert.' #NEWLINE# super ( GraphiteAlert , self ) . configure ( ** options ) #NEWLINE# self . method = options . get ( 'method' , self . reactor . options [ 'method' ] ) #NEWLINE# self . default_nan_value = options . get ( 'default_nan_value' , self . reactor . options [ 'default_nan_value' ] ) #NEWLINE# self . ignore_nan = options . get ( 'ignore_nan' , self . reactor . options [ 'ignore_nan' ] ) #NEWLINE# assert ( self . method in METHODS ) , 'Method is invalid' #NEWLINE# self . auth_username = self . reactor . options . get ( 'auth_username' ) #NEWLINE# self . auth_password = self . reactor . options . get ( 'auth_password' ) #NEWLINE# self . url = self . _graphite_url ( self . query , graphite_url = self . reactor . options . get ( 'graphite_url' ) , raw_data = True ) #NEWLINE# LOGGER . debug ( '%s: url = %s' , options . name , self . url )