From 9d4119a4087506cfd381900a4158fc74c5113b0e Mon Sep 17 00:00:00 2001 From: rcsm89 Date: Tue, 9 Jan 2024 12:42:20 -0300 Subject: [PATCH] chore: testing mock-api to generate metrics json file --- metrics.json | 213 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 213 insertions(+) create mode 100644 metrics.json diff --git a/metrics.json b/metrics.json new file mode 100644 index 0000000..9b26528 --- /dev/null +++ b/metrics.json @@ -0,0 +1,213 @@ +{ + "data":{ + "availability":{ + "downtime":{ + "endpoints":{ + "partialDowntime":7, + "url":"Ullam consequatur veniam qui quo aut sequi maxime. Iusto aut eaque repellendus. Animi vel ea incidunt amet sequi. Distinctio id ratione facere voluptas vitae odio voluptas." + }, + "generalDowntime":4, + "scheduledOutage":6 + }, + "uptime":{ + "endpoints":{ + "uptimeRate":"Error voluptas nostrum consequatur quia dolor. Est quaerat voluptatem enim magnam numquam aperiam pariatur. Rerum eum itaque maiores quos est voluptas ab.", + "url":"Occaecati sed dolorum dolores. Voluptates earum accusamus quidem numquam magni officia. Eligendi velit inventore iure perferendis adipisci." + }, + "generalUptimeRate":"Dolorem voluptatum dolorum quo id nostrum. Magnam possimus eos est. Officia ex itaque consequatur qui velit. Illo et rerum veritatis hic sed. Quisquam harum voluptas ut." + } + }, + "averageResponse":{ + "highPriority":{ + "currentDay":5, + "previousDays":[ + 9, + 4, + 6, + 4, + 6, + 4, + 10, + 6, + 5, + 5, + 7, + 5, + 5, + 9, + 1 + ] + }, + "mediumPriority":{ + "currentDay":1, + "previousDays":[ + 8, + 8, + 8, + 2, + 10, + 7, + 3, + 10 + ] + }, + "unattended":{ + "currentDay":4, + "previousDays":[ + 10, + 6, + 8, + 2, + 10, + 2, + 6, + 7, + 4, + 2, + 6, + 10, + 4, + 1, + 5, + 1, + 2 + ] + }, + "unauthenticated":{ + "currentDay":6, + "previousDays":[ + 7, + 5, + 5, + 2, + 10, + 10, + 3 + ] + } + }, + "averageTps":{ + "currentDay":7, + "previousDays":[ + 1, + 7, + 2, + 6, + 7, + 3, + 9 + ] + }, + "errors":{ + "currentDay":6, + "previousDays":[ + 8, + 10, + 6, + 10 + ] + }, + "invocations":{ + "highPriority":{ + "currentDay":8, + "previousDays":[ + 8, + 7, + 2, + 7, + 7, + 7, + 10, + 4, + 8, + 6 + ] + }, + "mediumPriority":{ + "currentDay":8, + "previousDays":[ + 5, + 10, + 8, + 4, + 1, + 10, + 1, + 1, + 5 + ] + }, + "unattended":{ + "currentDay":6, + "previousDays":[ + 9, + 3, + 10, + 7, + 5, + 2, + 5, + 8, + 2, + 1, + 7, + 7, + 10, + 3, + 1, + 8, + 7, + 3 + ] + }, + "unauthenticated":{ + "currentDay":2, + "previousDays":[ + 9 + ] + } + }, + "peakTps":{ + "currentDay":9, + "previousDays":[ + 10, + 3, + 10, + 6 + ] + }, + "rejections":{ + "currentDay":9, + "previousDays":[ + 5, + 10, + 5, + 3, + 9, + 10, + 6, + 9, + 2, + 4, + 7, + 9, + 3, + 10, + 7, + 7 + ] + }, + "requestTime":"1919-06-30T09:02:24Z" + }, + "links":{ + "first":"https://api.banco.com.br/open-banking/admin/v1/\u003cresource\u003e", + "last":"https://api.banco.com.br/open-banking/admin/v1/\u003cresource\u003e", + "next":"Numquam nesciunt impedit praesentium. Voluptas cumque ratione eligendi nihil accusantium et error quae.", + "prev":"Eos. Et iure illo. Asperiores. Corporis. Architecto ullam autem fugiat veniam distinctio et.", + "self":"https://api.banco.com.br/open-banking/admin/v1/\u003cresource\u003e" + }, + "meta":{ + "totalPages":1, + "totalRecords":1 + } + } \ No newline at end of file