-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Telemetry] Add scalability tests for known bottlenecks (#151110)
Co-authored-by: Kibana Machine <[email protected]>
- Loading branch information
1 parent
2e5bee3
commit 84cc0eb
Showing
4 changed files
with
38,717 additions
and
0 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
x-pack/test/scalability/apis/api.telemetry.cluster_stats.1600_dataviews.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
53 changes: 53 additions & 0 deletions
53
x-pack/test/scalability/apis/api.telemetry.cluster_stats.no_cache.1600_dataviews.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
50 changes: 50 additions & 0 deletions
50
x-pack/test/scalability/apis/api.telemetry.cluster_stats.no_cache.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.