Commit ea08affc authored by Florian Fittkau's avatar Florian Fittkau

WiP

parent e2760e4f
......@@ -130,7 +130,7 @@ public abstract class AbstractAspect {
}
buffer.put(beforeId);
buffer.putLong(TimeProvider.getCurrentTimestamp());
final long timeStart = TimeProvider.getCurrentTimestamp();
buffer.putLong(trace.getTraceId());
buffer.putInt(trace.getNextOrderId());
if (objectId != 0) {
......@@ -151,7 +151,7 @@ public abstract class AbstractAspect {
}
buffer.put(afterFailedId);
buffer.putLong(TimeProvider.getCurrentTimestamp());
buffer.putLong(TimeProvider.getCurrentTimestamp() - timeStart);
buffer.putLong(trace.getTraceId());
buffer.putInt(trace.getNextOrderId());
......@@ -176,7 +176,7 @@ public abstract class AbstractAspect {
}
buffer.put(afterId);
buffer.putLong(TimeProvider.getCurrentTimestamp());
buffer.putLong(TimeProvider.getCurrentTimestamp() - timeStart);
buffer.putLong(trace.getTraceId());
buffer.putInt(trace.getNextOrderId());
......
......@@ -30,7 +30,6 @@ public final class DistributedMonitoringRecordWriter {
}
buffer.put(BeforeSentRemoteCallRecord.CLAZZ_ID);
buffer.putLong(TimeProvider.getCurrentTimestamp());
buffer.putLong(ownTraceId);
buffer.putInt(ownOrderId);
buffer.putInt(MonitoringStringRegistry.getIdForString(technology));
......@@ -63,7 +62,6 @@ public final class DistributedMonitoringRecordWriter {
buffer.put(BeforeReceivedRemoteCallRecord.CLAZZ_ID);
buffer.putLong(remoteTraceId);
buffer.putInt(remoteOrderId);
buffer.putLong(TimeProvider.getCurrentTimestamp());
buffer.putLong(ownTraceId);
buffer.putInt(ownOrderId);
}
......@@ -93,7 +91,6 @@ public final class DistributedMonitoringRecordWriter {
}
buffer.put(BeforeUnknownReceivedRemoteCallRecord.CLAZZ_ID);
buffer.putLong(TimeProvider.getCurrentTimestamp());
buffer.putLong(ownTraceId);
buffer.putInt(ownOrderId);
buffer.putInt(MonitoringStringRegistry.getIdForString(sender));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment