mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Telemetry] Add scalability tests for known bottlenecks (#151110)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
2e5bee37ba
commit
84cc0eb30f
4 changed files with 38717 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
38567
x-pack/test/scalability/fixtures/kbn_archiver/1600-dataviews.json
Normal file
38567
x-pack/test/scalability/fixtures/kbn_archiver/1600-dataviews.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue