Permalink
Browse files

measure gelf parsing in microseconds, not milliseconds

  • Loading branch information...
1 parent 1a81709 commit 103d8d41d2709fc17c846c3047d70543becc9d6e @lennartkoopmann lennartkoopmann committed May 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/graylog2/inputs/gelf/GELFProcessor.java
View
2 src/main/java/org/graylog2/inputs/gelf/GELFProcessor.java
@@ -64,7 +64,7 @@ public void messageReceived(GELFMessage message) {
}
private LogMessage parse(String message) {
- TimerContext tcx = server.getTimer(GELFProcessor.class, "GELFParsedTime", TimeUnit.MILLISECONDS, TimeUnit.SECONDS).time();
+ TimerContext tcx = server.getTimer(GELFProcessor.class, "GELFParsedTime", TimeUnit.MICROSECONDS, TimeUnit.SECONDS).time();
JSONObject json;
LogMessage lm = new LogMessage();

0 comments on commit 103d8d4

Please sign in to comment.