Skip to content

Commit

Permalink
[Telemetry] Add scalability tests for known bottlenecks (#151110)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
afharo and kibanamachine committed Mar 10, 2023
1 parent 2e5bee3 commit 84cc0eb
Show file tree
Hide file tree
Showing 4 changed files with 38,717 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"journeyName": "POST /api/telemetry/v2/clusters/_stats - 1600 dataviews",
"scalabilitySetup": {
"warmup": [
{
"action": "constantUsersPerSec",
"userCount": 10,
"duration": "30s"
}
],
"test": [
{
"action": "rampUsersPerSec",
"minUsersCount": 10,
"maxUsersCount": 400,
"duration": "195s"
}
],
"maxDuration": "5m"
},
"testData": {
"esArchives": [],
"kbnArchives": [
"x-pack/test/scalability/fixtures/kbn_archiver/1600-dataviews.json"
]
},
"streams": [
{
"requests": [
{
"http": {
"method": "POST",
"path": "/api/telemetry/v2/clusters/_stats",
"body": "{}",
"headers": {
"Cookie": "",
"Kbn-Version": "",
"Accept-Encoding": "gzip, deflate, br",
"Content-Type": "application/json"
},
"statusCode": 200
}
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"journeyName": "POST /api/telemetry/v2/clusters/_stats - no cache - 1600 dataviews",
"scalabilitySetup": {
"responseTimeThreshold": {
"threshold1": 1000,
"threshold2": 3000,
"threshold3": 5000
},
"warmup": [
{
"action": "constantUsersPerSec",
"userCount": 1,
"duration": "30s"
}
],
"test": [
{
"action": "rampUsersPerSec",
"minUsersCount": 1,
"maxUsersCount": 10,
"duration": "120s"
}
],
"maxDuration": "5m"
},
"testData": {
"esArchives": [],
"kbnArchives": [
"x-pack/test/scalability/fixtures/kbn_archiver/1600-dataviews.json"
]
},
"streams": [
{
"requests": [
{
"http": {
"method": "POST",
"path": "/api/telemetry/v2/clusters/_stats",
"body": "{ \"refreshCache\": true }",
"headers": {
"Cookie": "",
"Kbn-Version": "",
"Accept-Encoding": "gzip, deflate, br",
"Content-Type": "application/json"
},
"timeout": 240000,
"statusCode": 200
}
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"journeyName": "POST /api/telemetry/v2/clusters/_stats - no cache",
"scalabilitySetup": {
"responseTimeThreshold": {
"threshold1": 1000,
"threshold2": 3000,
"threshold3": 5000
},
"warmup": [
{
"action": "constantUsersPerSec",
"userCount": 1,
"duration": "30s"
}
],
"test": [
{
"action": "rampUsersPerSec",
"minUsersCount": 1,
"maxUsersCount": 10,
"duration": "120s"
}
],
"maxDuration": "5m"
},
"testData": {
"esArchives": [],
"kbnArchives": []
},
"streams": [
{
"requests": [
{
"http": {
"method": "POST",
"path": "/api/telemetry/v2/clusters/_stats",
"body": "{ \"refreshCache\": true }",
"headers": {
"Cookie": "",
"Kbn-Version": "",
"Accept-Encoding": "gzip, deflate, br",
"Content-Type": "application/json"
},
"statusCode": 200
}
}
]
}
]
}
Loading

0 comments on commit 84cc0eb

Please sign in to comment.