-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 8.2
-
Fix Version/s: 8.3
-
Component/s: Monitoring
Steps to reproduce:
1. Enable csv metrics by setting nuxeo.conf properties:
metrics.csv.enabled=true
metrics.csv.dir=${nuxeo.log.dir}
2. Start server
Note: The following WARNING message periodically appears in server.log
2016-06-06 13:47:28,957 WARN [metrics-csv-reporter-thread-1] [com.codahale.metrics.CsvReporter] Error writing to nuxeo.repositories.repository/default.connections.idle java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:1012) at com.codahale.metrics.CsvReporter.report(CsvReporter.java:241) at com.codahale.metrics.CsvReporter.reportGauge(CsvReporter.java:234) at com.codahale.metrics.CsvReporter.report(CsvReporter.java:150) at com.codahale.metrics.ScheduledReporter.report(ScheduledReporter.java:107) at com.codahale.metrics.ScheduledReporter$1.run(ScheduledReporter.java:86) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)