Skip to content
Snippets Groups Projects
Commit 27be59b9 authored by Ryan Izard's avatar Ryan Izard
Browse files

Merge pull request #626 from rizard/master

Add nanoseconds to flow-stats REST API output
parents 1c18f42c c233b51b
No related branches found
No related tags found
No related merge requests found
......@@ -749,6 +749,7 @@ public class StatsReplySerializer extends JsonSerializer<StatsReply> {
jGen.writeNumberField("packetCount", entry.getPacketCount().getValue());
jGen.writeNumberField("byteCount", entry.getByteCount().getValue());
jGen.writeNumberField("durationSeconds", entry.getDurationSec());
jGen.writeNumberField("durationNSeconds", entry.getDurationNsec());
jGen.writeNumberField("priority", entry.getPriority());
jGen.writeNumberField("idleTimeoutSec", entry.getIdleTimeout());
jGen.writeNumberField("hardTimeoutSec", entry.getHardTimeout());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment