public void createStreamFailed ( String scope , String streamName ) { DYNAMIC_LOGGER . incCounterValue ( globalMetricName ( CREATE_STREAM_FAILED ) , 1 ) ; DYNAMIC_LOGGER . incCounterValue ( CREATE_STREAM_FAILED , 1 , streamTags ( scope , streamName ) ) ; }
This method increments the global counter of failed Stream creations in the system as well as the failed creation attempts for this specific Stream .