mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
This commit is contained in:
parent
7d3d79e6a1
commit
674f32e56e
14 changed files with 716 additions and 1704 deletions
|
@ -37,7 +37,7 @@ const configSchema = schema.object({
|
|||
schema.literal(SearchAggregatedTransactionSetting.always),
|
||||
schema.literal(SearchAggregatedTransactionSetting.never),
|
||||
],
|
||||
{ defaultValue: SearchAggregatedTransactionSetting.never }
|
||||
{ defaultValue: SearchAggregatedTransactionSetting.auto }
|
||||
),
|
||||
telemetryCollectionEnabled: schema.boolean({ defaultValue: true }),
|
||||
metricsInterval: schema.number({ defaultValue: 30 }),
|
||||
|
|
|
@ -53,7 +53,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
'Top dependencies',
|
||||
{ config: 'basic', archives: ['apm_mappings_only_8.0.0'] },
|
||||
() => {
|
||||
describe('when data is generated', () => {
|
||||
describe.skip('when data is generated', () => {
|
||||
let topDependencies: TopDependencies;
|
||||
|
||||
before(async () => {
|
||||
|
|
|
@ -298,8 +298,8 @@ export default function serviceMapsApiTests({ getService }: FtrProviderContext)
|
|||
"avgErrorRate": 0,
|
||||
"avgMemoryUsage": 0.202572668763642,
|
||||
"transactionStats": Object {
|
||||
"avgRequestsPerMinute": 7.13333333333333,
|
||||
"avgTransactionDuration": 53147.5747663551,
|
||||
"avgRequestsPerMinute": 5.2,
|
||||
"avgTransactionDuration": 53906.6603773585,
|
||||
},
|
||||
}
|
||||
`);
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
exports[`APM API tests basic apm_8.0.0 Instance details when data is loaded fetch instance details return the correct data 1`] = `
|
||||
Object {
|
||||
"@timestamp": "2021-08-03T06:50:20.205Z",
|
||||
"@timestamp": "2021-08-03T06:57:50.204Z",
|
||||
"agent": Object {
|
||||
"ephemeral_id": "2745d454-f57f-4473-a09b-fe6bef295860",
|
||||
"name": "java",
|
||||
|
|
|
@ -73,11 +73,11 @@ Object {
|
|||
"errorRate": Array [
|
||||
Object {
|
||||
"x": 1627974300000,
|
||||
"y": null,
|
||||
"y": 0,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974360000,
|
||||
"y": 0,
|
||||
"y": null,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974420000,
|
||||
|
@ -93,15 +93,15 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627974600000,
|
||||
"y": 0.5,
|
||||
"y": 0.125,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974660000,
|
||||
"y": 0.4,
|
||||
"y": 0.6,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974720000,
|
||||
"y": 0,
|
||||
"y": 0.2,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974780000,
|
||||
|
@ -109,11 +109,11 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627974840000,
|
||||
"y": 0.166666666666667,
|
||||
"y": 0,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 0,
|
||||
"y": 0.0666666666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974960000,
|
||||
|
@ -125,11 +125,11 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627975080000,
|
||||
"y": 0.142857142857143,
|
||||
"y": 0,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975140000,
|
||||
"y": 0.2,
|
||||
"y": 0.181818181818182,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975200000,
|
||||
|
@ -139,63 +139,63 @@ Object {
|
|||
"latency": Array [
|
||||
Object {
|
||||
"x": 1627974300000,
|
||||
"y": null,
|
||||
"y": 34887.8888888889,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974360000,
|
||||
"y": 5578,
|
||||
"y": null,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974420000,
|
||||
"y": 34851.1666666667,
|
||||
"y": 4983,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974480000,
|
||||
"y": 15896.4,
|
||||
"y": 41285.4,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974540000,
|
||||
"y": 15174.1666666667,
|
||||
"y": 13820.3333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974600000,
|
||||
"y": 9185.16666666667,
|
||||
"y": 13782,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974660000,
|
||||
"y": 12363.2,
|
||||
"y": 13392.6,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974720000,
|
||||
"y": 6206.44444444444,
|
||||
"y": 6991,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974780000,
|
||||
"y": 6707,
|
||||
"y": 6885.85714285714,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974840000,
|
||||
"y": 12409.1666666667,
|
||||
"y": 7935,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 9188.36363636364,
|
||||
"y": 10828.3333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974960000,
|
||||
"y": 4279.6,
|
||||
"y": 6079,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975020000,
|
||||
"y": 6827.3,
|
||||
"y": 5217,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975080000,
|
||||
"y": 7445.78571428571,
|
||||
"y": 8477.76923076923,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975140000,
|
||||
"y": 563288.6,
|
||||
"y": 5937.18181818182,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975200000,
|
||||
|
@ -272,15 +272,15 @@ Object {
|
|||
"throughput": Array [
|
||||
Object {
|
||||
"x": 1627974300000,
|
||||
"y": 0,
|
||||
"y": 9,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974360000,
|
||||
"y": 2,
|
||||
"y": 0,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974420000,
|
||||
"y": 6,
|
||||
"y": 4,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974480000,
|
||||
|
@ -292,7 +292,7 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627974600000,
|
||||
"y": 6,
|
||||
"y": 8,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974660000,
|
||||
|
@ -300,35 +300,35 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627974720000,
|
||||
"y": 9,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974780000,
|
||||
"y": 3,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974840000,
|
||||
"y": 6,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 11,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974960000,
|
||||
"y": 5,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974780000,
|
||||
"y": 7,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974840000,
|
||||
"y": 2,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 15,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974960000,
|
||||
"y": 3,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975020000,
|
||||
"y": 10,
|
||||
"y": 8,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975080000,
|
||||
"y": 14,
|
||||
"y": 13,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975140000,
|
||||
"y": 10,
|
||||
"y": 11,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975200000,
|
||||
|
@ -412,15 +412,15 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627974360000,
|
||||
"y": 0.25,
|
||||
"y": 0,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974420000,
|
||||
"y": 0.111111111111111,
|
||||
"y": 0.333333333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974480000,
|
||||
"y": 0.2,
|
||||
"y": 0.181818181818182,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974540000,
|
||||
|
@ -428,15 +428,15 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627974600000,
|
||||
"y": 0.142857142857143,
|
||||
"y": 0,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974660000,
|
||||
"y": 0.1,
|
||||
"y": 0.166666666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974720000,
|
||||
"y": 0.125,
|
||||
"y": 0.181818181818182,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974780000,
|
||||
|
@ -444,15 +444,15 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627974840000,
|
||||
"y": 0.111111111111111,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 0,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 0.0833333333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974960000,
|
||||
"y": 0.333333333333333,
|
||||
"y": 0.0769230769230769,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975020000,
|
||||
|
@ -460,81 +460,81 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627975080000,
|
||||
"y": 0.0833333333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975140000,
|
||||
"y": 0.1,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975140000,
|
||||
"y": 0.153846153846154,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975200000,
|
||||
"y": 0,
|
||||
"y": null,
|
||||
},
|
||||
],
|
||||
"latency": Array [
|
||||
Object {
|
||||
"x": 1627974300000,
|
||||
"y": 5372.5,
|
||||
"y": 11839,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974360000,
|
||||
"y": 1441598.25,
|
||||
"y": 7407,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974420000,
|
||||
"y": 9380.22222222222,
|
||||
"y": 1925569.66666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974480000,
|
||||
"y": 10949.4,
|
||||
"y": 9017.18181818182,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974540000,
|
||||
"y": 77148.6666666667,
|
||||
"y": 63575,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974600000,
|
||||
"y": 6461,
|
||||
"y": 7577.66666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974660000,
|
||||
"y": 549308.4,
|
||||
"y": 6844.33333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974720000,
|
||||
"y": 10797.75,
|
||||
"y": 503471,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974780000,
|
||||
"y": 9758.53846153846,
|
||||
"y": 6247.8,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974840000,
|
||||
"y": 1281052.66666667,
|
||||
"y": 1137247,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 9511.0625,
|
||||
"y": 27951.6666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974960000,
|
||||
"y": 11151203.3333333,
|
||||
"y": 10248.8461538462,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975020000,
|
||||
"y": 8647.2,
|
||||
"y": 13529,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975080000,
|
||||
"y": 9048.33333333333,
|
||||
"y": 6691247.8,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975140000,
|
||||
"y": 12671.6,
|
||||
"y": 12098.6923076923,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975200000,
|
||||
"y": 57275.4,
|
||||
"y": null,
|
||||
},
|
||||
],
|
||||
"memoryUsage": Array [
|
||||
|
@ -607,67 +607,67 @@ Object {
|
|||
"throughput": Array [
|
||||
Object {
|
||||
"x": 1627974300000,
|
||||
"y": 2,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974360000,
|
||||
"y": 4,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974360000,
|
||||
"y": 2,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974420000,
|
||||
"y": 9,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974480000,
|
||||
"y": 5,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974540000,
|
||||
"y": 3,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974480000,
|
||||
"y": 11,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974540000,
|
||||
"y": 4,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974600000,
|
||||
"y": 7,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974660000,
|
||||
"y": 10,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974720000,
|
||||
"y": 8,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974780000,
|
||||
"y": 13,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974840000,
|
||||
"y": 9,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 16,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974960000,
|
||||
"y": 6,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975020000,
|
||||
"x": 1627974660000,
|
||||
"y": 6,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974720000,
|
||||
"y": 11,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974780000,
|
||||
"y": 10,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975080000,
|
||||
"x": 1627974840000,
|
||||
"y": 10,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 12,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975140000,
|
||||
"x": 1627974960000,
|
||||
"y": 13,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975020000,
|
||||
"y": 8,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975080000,
|
||||
"y": 10,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975140000,
|
||||
"y": 13,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975200000,
|
||||
"y": 5,
|
||||
"y": 0,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
@ -812,15 +812,15 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627973460000,
|
||||
"y": 0.25,
|
||||
"y": 0,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973520000,
|
||||
"y": 0.111111111111111,
|
||||
"y": 0.333333333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973580000,
|
||||
"y": 0.2,
|
||||
"y": 0.181818181818182,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973640000,
|
||||
|
@ -828,15 +828,15 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627973700000,
|
||||
"y": 0.142857142857143,
|
||||
"y": 0,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973760000,
|
||||
"y": 0.1,
|
||||
"y": 0.166666666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973820000,
|
||||
"y": 0.125,
|
||||
"y": 0.181818181818182,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973880000,
|
||||
|
@ -844,15 +844,15 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627973940000,
|
||||
"y": 0.111111111111111,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974000000,
|
||||
"y": 0,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974000000,
|
||||
"y": 0.0833333333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974060000,
|
||||
"y": 0.333333333333333,
|
||||
"y": 0.0769230769230769,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974120000,
|
||||
|
@ -860,11 +860,11 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627974180000,
|
||||
"y": 0.0833333333333333,
|
||||
"y": 0.1,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974240000,
|
||||
"y": 0.1,
|
||||
"y": 0.153846153846154,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974300000,
|
||||
|
@ -872,7 +872,7 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627974360000,
|
||||
"y": 0,
|
||||
"y": null,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974420000,
|
||||
|
@ -888,15 +888,15 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627974600000,
|
||||
"y": 0.5,
|
||||
"y": 0.125,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974660000,
|
||||
"y": 0.4,
|
||||
"y": 0.6,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974720000,
|
||||
"y": 0,
|
||||
"y": 0.2,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974780000,
|
||||
|
@ -904,11 +904,11 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627974840000,
|
||||
"y": 0.166666666666667,
|
||||
"y": 0,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 0,
|
||||
"y": 0.0666666666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974960000,
|
||||
|
@ -920,11 +920,11 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627975080000,
|
||||
"y": 0.142857142857143,
|
||||
"y": 0,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975140000,
|
||||
"y": 0.2,
|
||||
"y": 0.181818181818182,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975200000,
|
||||
|
@ -934,123 +934,123 @@ Object {
|
|||
"latency": Array [
|
||||
Object {
|
||||
"x": 1627973400000,
|
||||
"y": 5372.5,
|
||||
"y": 11839,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973460000,
|
||||
"y": 1441598.25,
|
||||
"y": 7407,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973520000,
|
||||
"y": 9380.22222222222,
|
||||
"y": 1925569.66666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973580000,
|
||||
"y": 10949.4,
|
||||
"y": 9017.18181818182,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973640000,
|
||||
"y": 77148.6666666667,
|
||||
"y": 63575,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973700000,
|
||||
"y": 6461,
|
||||
"y": 7577.66666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973760000,
|
||||
"y": 549308.4,
|
||||
"y": 6844.33333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973820000,
|
||||
"y": 10797.75,
|
||||
"y": 503471,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973880000,
|
||||
"y": 9758.53846153846,
|
||||
"y": 6247.8,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973940000,
|
||||
"y": 1281052.66666667,
|
||||
"y": 1137247,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974000000,
|
||||
"y": 9511.0625,
|
||||
"y": 27951.6666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974060000,
|
||||
"y": 11151203.3333333,
|
||||
"y": 10248.8461538462,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974120000,
|
||||
"y": 8647.2,
|
||||
"y": 13529,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974180000,
|
||||
"y": 9048.33333333333,
|
||||
"y": 6691247.8,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974240000,
|
||||
"y": 12671.6,
|
||||
"y": 12098.6923076923,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974300000,
|
||||
"y": 57275.4,
|
||||
"y": 34887.8888888889,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974360000,
|
||||
"y": 5578,
|
||||
"y": null,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974420000,
|
||||
"y": 34851.1666666667,
|
||||
"y": 4983,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974480000,
|
||||
"y": 15896.4,
|
||||
"y": 41285.4,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974540000,
|
||||
"y": 15174.1666666667,
|
||||
"y": 13820.3333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974600000,
|
||||
"y": 9185.16666666667,
|
||||
"y": 13782,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974660000,
|
||||
"y": 12363.2,
|
||||
"y": 13392.6,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974720000,
|
||||
"y": 6206.44444444444,
|
||||
"y": 6991,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974780000,
|
||||
"y": 6707,
|
||||
"y": 6885.85714285714,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974840000,
|
||||
"y": 12409.1666666667,
|
||||
"y": 7935,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 9188.36363636364,
|
||||
"y": 10828.3333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974960000,
|
||||
"y": 4279.6,
|
||||
"y": 6079,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975020000,
|
||||
"y": 6827.3,
|
||||
"y": 5217,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975080000,
|
||||
"y": 7445.78571428571,
|
||||
"y": 8477.76923076923,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975140000,
|
||||
"y": 563288.6,
|
||||
"y": 5937.18181818182,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975200000,
|
||||
|
@ -1187,76 +1187,76 @@ Object {
|
|||
"throughput": Array [
|
||||
Object {
|
||||
"x": 1627973400000,
|
||||
"y": 2,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973460000,
|
||||
"y": 4,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973520000,
|
||||
"y": 9,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973580000,
|
||||
"y": 5,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973640000,
|
||||
"y": 3,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973700000,
|
||||
"y": 7,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973760000,
|
||||
"y": 10,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973820000,
|
||||
"y": 8,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973880000,
|
||||
"y": 13,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973940000,
|
||||
"y": 9,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974000000,
|
||||
"y": 16,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974060000,
|
||||
"y": 6,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974120000,
|
||||
"y": 10,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974180000,
|
||||
"y": 12,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974240000,
|
||||
"y": 10,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974300000,
|
||||
"y": 5,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974360000,
|
||||
"x": 1627973460000,
|
||||
"y": 2,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974420000,
|
||||
"x": 1627973520000,
|
||||
"y": 3,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973580000,
|
||||
"y": 11,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973640000,
|
||||
"y": 4,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973700000,
|
||||
"y": 6,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973760000,
|
||||
"y": 6,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973820000,
|
||||
"y": 11,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973880000,
|
||||
"y": 10,
|
||||
},
|
||||
Object {
|
||||
"x": 1627973940000,
|
||||
"y": 10,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974000000,
|
||||
"y": 12,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974060000,
|
||||
"y": 13,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974120000,
|
||||
"y": 8,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974180000,
|
||||
"y": 10,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974240000,
|
||||
"y": 13,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974300000,
|
||||
"y": 9,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974360000,
|
||||
"y": 0,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974420000,
|
||||
"y": 4,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974480000,
|
||||
"y": 5,
|
||||
|
@ -1267,7 +1267,7 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627974600000,
|
||||
"y": 6,
|
||||
"y": 8,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974660000,
|
||||
|
@ -1275,35 +1275,35 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"x": 1627974720000,
|
||||
"y": 9,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974780000,
|
||||
"y": 3,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974840000,
|
||||
"y": 6,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 11,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974960000,
|
||||
"y": 5,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974780000,
|
||||
"y": 7,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974840000,
|
||||
"y": 2,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 15,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974960000,
|
||||
"y": 3,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975020000,
|
||||
"y": 10,
|
||||
"y": 8,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975080000,
|
||||
"y": 14,
|
||||
"y": 13,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975140000,
|
||||
"y": 10,
|
||||
"y": 11,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975200000,
|
||||
|
|
|
@ -122,10 +122,10 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
expectSnapshot(values).toMatchInline(`
|
||||
Object {
|
||||
"cpuUsage": 0.002,
|
||||
"errorRate": 0.092511013215859,
|
||||
"latency": 430318.696035242,
|
||||
"errorRate": 0.0848214285714286,
|
||||
"latency": 411589.785714286,
|
||||
"memoryUsage": 0.786029688517253,
|
||||
"throughput": 7.56666666666667,
|
||||
"throughput": 7.46666666666667,
|
||||
}
|
||||
`);
|
||||
});
|
||||
|
@ -183,9 +183,9 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
expectSnapshot(values).toMatchInline(`
|
||||
Object {
|
||||
"cpuUsage": 0.001,
|
||||
"errorRate": 0.00343642611683849,
|
||||
"latency": 21520.4776632302,
|
||||
"throughput": 9.7,
|
||||
"errorRate": 0.00341296928327645,
|
||||
"latency": 40989.5802047782,
|
||||
"throughput": 9.76666666666667,
|
||||
}
|
||||
`);
|
||||
|
||||
|
@ -272,10 +272,10 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
expectSnapshot(values).toMatchInline(`
|
||||
Object {
|
||||
"cpuUsage": 0.00223333333333333,
|
||||
"errorRate": 0.0852713178294574,
|
||||
"latency": 706173.046511628,
|
||||
"errorRate": 0.0894308943089431,
|
||||
"latency": 739013.634146341,
|
||||
"memoryUsage": 0.783296203613281,
|
||||
"throughput": 8.6,
|
||||
"throughput": 8.2,
|
||||
}
|
||||
`);
|
||||
});
|
||||
|
|
|
@ -91,37 +91,37 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
Array [
|
||||
Object {},
|
||||
Object {
|
||||
"latency": 496794.054441261,
|
||||
"throughput": 11.6333333333333,
|
||||
"transactionErrorRate": 0.0315186246418338,
|
||||
"latency": 520294.126436782,
|
||||
"throughput": 11.6,
|
||||
"transactionErrorRate": 0.0316091954022989,
|
||||
},
|
||||
Object {
|
||||
"latency": 83395.638576779,
|
||||
"throughput": 17.8,
|
||||
"transactionErrorRate": 0.00936329588014981,
|
||||
"latency": 74805.1452830189,
|
||||
"throughput": 17.6666666666667,
|
||||
"transactionErrorRate": 0.00566037735849057,
|
||||
},
|
||||
Object {
|
||||
"latency": 430318.696035242,
|
||||
"throughput": 7.56666666666667,
|
||||
"transactionErrorRate": 0.092511013215859,
|
||||
"latency": 411589.785714286,
|
||||
"throughput": 7.46666666666667,
|
||||
"transactionErrorRate": 0.0848214285714286,
|
||||
},
|
||||
Object {
|
||||
"latency": 53147.5747663551,
|
||||
"throughput": 7.13333333333333,
|
||||
"latency": 53906.6603773585,
|
||||
"throughput": 7.06666666666667,
|
||||
"transactionErrorRate": 0,
|
||||
},
|
||||
Object {
|
||||
"latency": 419826.24375,
|
||||
"latency": 420634.9,
|
||||
"throughput": 5.33333333333333,
|
||||
"transactionErrorRate": 0.025,
|
||||
},
|
||||
Object {
|
||||
"latency": 21520.4776632302,
|
||||
"throughput": 9.7,
|
||||
"transactionErrorRate": 0.00343642611683849,
|
||||
"latency": 40989.5802047782,
|
||||
"throughput": 9.76666666666667,
|
||||
"transactionErrorRate": 0.00341296928327645,
|
||||
},
|
||||
Object {
|
||||
"latency": 1040388.88888889,
|
||||
"latency": 1040880.77777778,
|
||||
"throughput": 2.4,
|
||||
"transactionErrorRate": null,
|
||||
},
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -63,7 +63,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
|
||||
expectSnapshot(firstItem).toMatchInline(`
|
||||
Object {
|
||||
"averageResponseTime": 1638,
|
||||
"averageResponseTime": 1639,
|
||||
"impact": 0,
|
||||
"key": Object {
|
||||
"service.name": "opbeans-java",
|
||||
|
@ -78,7 +78,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
|
||||
expectSnapshot(lastItem).toMatchInline(`
|
||||
Object {
|
||||
"averageResponseTime": 5918288.44444444,
|
||||
"averageResponseTime": 5963775,
|
||||
"impact": 100,
|
||||
"key": Object {
|
||||
"service.name": "opbeans-dotnet",
|
||||
|
@ -87,7 +87,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
"serviceName": "opbeans-dotnet",
|
||||
"transactionName": "GET Orders/Get",
|
||||
"transactionType": "request",
|
||||
"transactionsPerMinute": 0.6,
|
||||
"transactionsPerMinute": 0.633333333333333,
|
||||
}
|
||||
`);
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -3,196 +3,64 @@
|
|||
exports[`APM API tests basic apm_8.0.0 Latency with a basic license when data is loaded time comparison returns some data 1`] = `
|
||||
Array [
|
||||
Object {
|
||||
"x": 1627974350000,
|
||||
"y": 32153,
|
||||
"x": 1627974300000,
|
||||
"y": 22799,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974390000,
|
||||
"y": 15341.3333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974410000,
|
||||
"y": 15170.5,
|
||||
"x": 1627974360000,
|
||||
"y": 3227391,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974420000,
|
||||
"y": 17329,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974460000,
|
||||
"y": 50039,
|
||||
"y": 15565.2222222222,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974480000,
|
||||
"y": 55816.6,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974490000,
|
||||
"y": 17533,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974510000,
|
||||
"y": 14888,
|
||||
"y": 54307.5714285714,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974540000,
|
||||
"y": 12191.5,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974550000,
|
||||
"y": 20445.5,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974590000,
|
||||
"y": 9859,
|
||||
"y": 16655,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974600000,
|
||||
"y": 11796,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974610000,
|
||||
"y": 8774.4,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974620000,
|
||||
"y": 42225.6666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974630000,
|
||||
"y": 16168,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974640000,
|
||||
"y": 7851.33333333333,
|
||||
"y": 9453,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974660000,
|
||||
"y": 45852,
|
||||
"y": 31119,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974700000,
|
||||
"y": 21823,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974710000,
|
||||
"y": 4156,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974730000,
|
||||
"y": 14191.5,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974740000,
|
||||
"y": 3997,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974750000,
|
||||
"y": 21823.75,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974760000,
|
||||
"y": 58178.5,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974770000,
|
||||
"y": 24291.5,
|
||||
"x": 1627974720000,
|
||||
"y": 15282.2,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974780000,
|
||||
"y": 7527.75,
|
||||
"y": 18709,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974840000,
|
||||
"y": 12028,
|
||||
"y": 12095,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974860000,
|
||||
"y": 6773.8,
|
||||
"x": 1627974900000,
|
||||
"y": 16291,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974870000,
|
||||
"y": 37030,
|
||||
"x": 1627974960000,
|
||||
"y": 13444.3333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974890000,
|
||||
"y": 29564,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974910000,
|
||||
"y": 15606,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974930000,
|
||||
"y": 11747,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974940000,
|
||||
"y": 9425,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974950000,
|
||||
"y": 20220,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975000000,
|
||||
"y": 12995.5,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975030000,
|
||||
"y": 13606,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975050000,
|
||||
"y": 22030,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975060000,
|
||||
"y": 10819,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975070000,
|
||||
"y": 26343,
|
||||
"x": 1627975020000,
|
||||
"y": 13241.6666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975080000,
|
||||
"y": 33080.5,
|
||||
"y": 25535,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975090000,
|
||||
"y": 11899,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975100000,
|
||||
"y": 5253,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975110000,
|
||||
"y": 16502,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975120000,
|
||||
"y": 6945.5,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975130000,
|
||||
"y": 7244,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975150000,
|
||||
"y": 22631.5,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975180000,
|
||||
"y": 23489,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975190000,
|
||||
"y": 10133.3333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975210000,
|
||||
"y": 52108,
|
||||
"x": 1627975140000,
|
||||
"y": 11024.6,
|
||||
},
|
||||
]
|
||||
`;
|
||||
|
@ -200,200 +68,64 @@ Array [
|
|||
exports[`APM API tests basic apm_8.0.0 Latency with a basic license when data is loaded time comparison returns some data 2`] = `
|
||||
Array [
|
||||
Object {
|
||||
"x": 1627974310000,
|
||||
"y": 107053.5,
|
||||
"x": 1627974300000,
|
||||
"y": 34866.2,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974370000,
|
||||
"y": 9857,
|
||||
"x": 1627974360000,
|
||||
"y": 104799,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974380000,
|
||||
"y": 266341,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974390000,
|
||||
"y": 11715.75,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974410000,
|
||||
"y": 7805.25,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974430000,
|
||||
"y": 15880,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974460000,
|
||||
"y": 21836,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974470000,
|
||||
"y": 23962,
|
||||
"x": 1627974420000,
|
||||
"y": 36247,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974480000,
|
||||
"y": 21352.5,
|
||||
"y": 22207,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974490000,
|
||||
"y": 21639,
|
||||
"x": 1627974540000,
|
||||
"y": 80191,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974530000,
|
||||
"y": 13970,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974550000,
|
||||
"y": 58140,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974570000,
|
||||
"y": 9853.75,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974580000,
|
||||
"y": 6490,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974590000,
|
||||
"y": 18894,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974610000,
|
||||
"y": 14125,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974640000,
|
||||
"y": 86268.25,
|
||||
"x": 1627974600000,
|
||||
"y": 11520.4545454545,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974660000,
|
||||
"y": 14218,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974670000,
|
||||
"y": 19127,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974680000,
|
||||
"y": 31538,
|
||||
"y": 47031.8888888889,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974720000,
|
||||
"y": 29535,
|
||||
"y": 30249.6666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974740000,
|
||||
"y": 11229,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974750000,
|
||||
"y": 23940,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974760000,
|
||||
"y": 9262,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974790000,
|
||||
"y": 15650,
|
||||
"x": 1627974780000,
|
||||
"y": 14868.3333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974840000,
|
||||
"y": 17656.3333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974880000,
|
||||
"y": 8371.5,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974890000,
|
||||
"y": 11386.5,
|
||||
"y": 17199,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974900000,
|
||||
"y": 28923.75,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974910000,
|
||||
"y": 22670,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974920000,
|
||||
"y": 13607.6666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974930000,
|
||||
"y": 19640,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974940000,
|
||||
"y": 20511,
|
||||
"y": 19837.2222222222,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974960000,
|
||||
"y": 34862,
|
||||
},
|
||||
Object {
|
||||
"x": 1627974990000,
|
||||
"y": 27929.2,
|
||||
"y": 19397.6666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975020000,
|
||||
"y": 25569,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975030000,
|
||||
"y": 6817.33333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975040000,
|
||||
"y": 10467.6666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975060000,
|
||||
"y": 6754.33333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975070000,
|
||||
"y": 22049,
|
||||
"y": 22473.6666666667,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975080000,
|
||||
"y": 15029,
|
||||
"y": 11362.2,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975090000,
|
||||
"y": 14744,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975110000,
|
||||
"y": 32192.3333333333,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975130000,
|
||||
"y": 8321,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975160000,
|
||||
"y": 11648,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975170000,
|
||||
"y": 13157,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975190000,
|
||||
"y": 12855,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975200000,
|
||||
"y": 1322026.8,
|
||||
},
|
||||
Object {
|
||||
"x": 1627975210000,
|
||||
"y": 4650.33333333333,
|
||||
"x": 1627975140000,
|
||||
"y": 26319,
|
||||
},
|
||||
]
|
||||
`;
|
||||
|
|
|
@ -112,12 +112,12 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
});
|
||||
|
||||
it('has the correct number of buckets', () => {
|
||||
expectSnapshot(errorRateResponse.currentPeriod.timeseries.length).toMatchInline(`61`);
|
||||
expectSnapshot(errorRateResponse.currentPeriod.timeseries.length).toMatchInline(`31`);
|
||||
});
|
||||
|
||||
it('has the correct calculation for average', () => {
|
||||
expectSnapshot(errorRateResponse.currentPeriod.average).toMatchInline(
|
||||
`0.092511013215859`
|
||||
`0.0848214285714286`
|
||||
);
|
||||
});
|
||||
|
||||
|
@ -168,32 +168,32 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
it('has the correct start date', () => {
|
||||
expectSnapshot(
|
||||
new Date(first(errorRateResponse.currentPeriod.timeseries)?.x ?? NaN).toISOString()
|
||||
).toMatchInline(`"2021-08-03T07:05:10.000Z"`);
|
||||
).toMatchInline(`"2021-08-03T07:05:00.000Z"`);
|
||||
expectSnapshot(
|
||||
new Date(first(errorRateResponse.previousPeriod.timeseries)?.x ?? NaN).toISOString()
|
||||
).toMatchInline(`"2021-08-03T07:05:10.000Z"`);
|
||||
).toMatchInline(`"2021-08-03T07:05:00.000Z"`);
|
||||
});
|
||||
|
||||
it('has the correct end date', () => {
|
||||
expectSnapshot(
|
||||
new Date(last(errorRateResponse.currentPeriod.timeseries)?.x ?? NaN).toISOString()
|
||||
).toMatchInline(`"2021-08-03T07:20:10.000Z"`);
|
||||
).toMatchInline(`"2021-08-03T07:20:00.000Z"`);
|
||||
expectSnapshot(
|
||||
new Date(last(errorRateResponse.previousPeriod.timeseries)?.x ?? NaN).toISOString()
|
||||
).toMatchInline(`"2021-08-03T07:20:10.000Z"`);
|
||||
).toMatchInline(`"2021-08-03T07:20:00.000Z"`);
|
||||
});
|
||||
|
||||
it('has the correct number of buckets', () => {
|
||||
expectSnapshot(errorRateResponse.currentPeriod.timeseries.length).toMatchInline(`91`);
|
||||
expectSnapshot(errorRateResponse.previousPeriod.timeseries.length).toMatchInline(`91`);
|
||||
expectSnapshot(errorRateResponse.currentPeriod.timeseries.length).toMatchInline(`16`);
|
||||
expectSnapshot(errorRateResponse.previousPeriod.timeseries.length).toMatchInline(`16`);
|
||||
});
|
||||
|
||||
it('has the correct calculation for average', () => {
|
||||
expectSnapshot(errorRateResponse.currentPeriod.average).toMatchInline(
|
||||
`0.102040816326531`
|
||||
`0.0792079207920792`
|
||||
);
|
||||
expectSnapshot(errorRateResponse.previousPeriod.average).toMatchInline(
|
||||
`0.0852713178294574`
|
||||
`0.0894308943089431`
|
||||
);
|
||||
});
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
expect(response.status).to.be(200);
|
||||
const latencyChartReturn = response.body as LatencyChartReturnType;
|
||||
expect(latencyChartReturn.currentPeriod.overallAvgDuration).not.to.be(null);
|
||||
expect(latencyChartReturn.currentPeriod.latencyTimeseries.length).to.be.eql(61);
|
||||
expect(latencyChartReturn.currentPeriod.latencyTimeseries.length).to.be.eql(31);
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -138,7 +138,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
expect(response.status).to.be(200);
|
||||
const latencyChartReturn = response.body as LatencyChartReturnType;
|
||||
expect(latencyChartReturn.currentPeriod.overallAvgDuration).not.to.be(null);
|
||||
expect(latencyChartReturn.currentPeriod.latencyTimeseries.length).to.be.eql(61);
|
||||
expect(latencyChartReturn.currentPeriod.latencyTimeseries.length).to.be.eql(31);
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -165,10 +165,10 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
|
||||
expect(latencyChartReturn.currentPeriod.overallAvgDuration).not.to.be(null);
|
||||
expectSnapshot(latencyChartReturn.currentPeriod.overallAvgDuration).toMatchInline(
|
||||
`53147.5747663551`
|
||||
`53906.6603773585`
|
||||
);
|
||||
|
||||
expect(latencyChartReturn.currentPeriod.latencyTimeseries.length).to.be.eql(61);
|
||||
expect(latencyChartReturn.currentPeriod.latencyTimeseries.length).to.be.eql(31);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -98,18 +98,18 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
);
|
||||
expectSnapshot(impacts).toMatchInline(`
|
||||
Array [
|
||||
98.5616469236242,
|
||||
0.088146942911198,
|
||||
0.208815627929649,
|
||||
0.189536811278812,
|
||||
0.110293217369968,
|
||||
0.191163512620049,
|
||||
0.0899742946381385,
|
||||
0.341831477754056,
|
||||
0.0411384477014597,
|
||||
0.0652338973356331,
|
||||
0.109023796562458,
|
||||
0.00319505027438735,
|
||||
98.4867713293593,
|
||||
0.0910992862692518,
|
||||
0.217172932411727,
|
||||
0.197499651612207,
|
||||
0.117088451625813,
|
||||
0.203168003440319,
|
||||
0.0956764857936742,
|
||||
0.353287132108131,
|
||||
0.043688393280619,
|
||||
0.0754467823979389,
|
||||
0.115710953190738,
|
||||
0.00339059851027124,
|
||||
]
|
||||
`);
|
||||
|
||||
|
@ -120,9 +120,9 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
expectSnapshot(pick(firstItem, 'name', 'latency', 'throughput', 'errorRate', 'impact'))
|
||||
.toMatchInline(`
|
||||
Object {
|
||||
"errorRate": 0.1,
|
||||
"impact": 98.5616469236242,
|
||||
"latency": 1925546.54,
|
||||
"errorRate": 0.08,
|
||||
"impact": 98.4867713293593,
|
||||
"latency": 1816019.48,
|
||||
"name": "DispatcherServlet#doGet",
|
||||
"throughput": 1.66666666666667,
|
||||
}
|
||||
|
@ -150,7 +150,7 @@ export default function ApiTest({ getService }: FtrProviderContext) {
|
|||
response.body as TransactionsGroupsPrimaryStatistics;
|
||||
|
||||
const firstItem = transctionsGroupsPrimaryStatistics.transactionGroups[0];
|
||||
expectSnapshot(firstItem.latency).toMatchInline(`66836803`);
|
||||
expectSnapshot(firstItem.latency).toMatchInline(`66846719`);
|
||||
});
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue