Commit 1a76a03a authored by Chris Lord's avatar Chris Lord

Add version to events and add timestamp to requests

parent 914efb9a
......@@ -69,6 +69,7 @@ var sessionId = 'DefaultSession';
function createEvent(type) {
return {
version: '1.0',
session: {
sessionId: sessionId,
application: {
......@@ -77,7 +78,8 @@ function createEvent(type) {
},
request: {
requestId: requestId++,
type: type
type: type,
timestamp: Date.now()
}
};
}
......
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