works per swimlane now

This commit is contained in:
Scott Bell
2024-12-13 11:39:58 +01:00
parent 052129ba87
commit 6f26add740
3 changed files with 18 additions and 14 deletions

View File

@ -33,7 +33,8 @@ class EventTelemetryProvider {
generateData(firstObservedTime, count, startTime, duration, name) {
const millisecondsSinceStart = startTime - firstObservedTime;
const utc = startTime + count * duration;
const randomFewSeconds = Math.floor(Math.random() * 10000);
const utc = startTime + count + randomFewSeconds * duration;
const ind = count % messages.length;
const message = messages[ind] + ' - [' + millisecondsSinceStart + ']';