Open ianilsley opened 8 years ago
This pull request modifies a release version on the java8 branch. Is there any reason why this change should not be made on master?
Dont see why not , I just needed it for a 2.1.0 branch . But it could be forward ported I guess :) .
This is to address - https://github.com/addthis/metrics-reporter-config/issues/24
If the directory already exists then no metrics will gathered as we return false . This is understandable as you may not want to overwrite existing metrics . The patch gets around this by renaming the existing directory to name+currentSystemtimeinmillis . and then recreate the original directory .