Skip to content

Commit

Permalink
update API test to new DSL post merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Apr 13, 2022
1 parent dc6d1b6 commit 37b4f84
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,17 @@ function generateData({
return range
.interval('1m')
.rate(1)
.spans((timestamp, index) => [
...service1
.generator((timestamp, index) => [
service1
.transaction('GET /apple 🍎 ')
.timestamp(timestamp)
.duration(1000)
.success()
.serialize(),
...service2
.success(),
service2
.transaction('GET /banana 🍌')
.timestamp(timestamp)
.duration(500)
.success()
.serialize(),
.success(),
]);
}

Expand Down

0 comments on commit 37b4f84

Please sign in to comment.