public void stop ( ) { try { if ( socket != null ) { socket . close ( ) ; socket = null ; LOGGER . info ( "Disconnected from graphite server: {}" , graphiteServerURI ) ; } } catch ( IOException e ) { LOGGER . warn ( "Error Stopping" , e ) ; } }
Stop sending metrics to the graphite server .