diff --git a/.apigentools-info b/.apigentools-info index 7c0b6c477..3326b6789 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-05-09 19:42:41.754003", - "spec_repo_commit": "c7bad6f6" + "regenerated": "2025-05-12 14:09:50.899671", + "spec_repo_commit": "c59a1988" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-05-09 19:42:41.770508", - "spec_repo_commit": "c7bad6f6" + "regenerated": "2025-05-12 14:09:50.916568", + "spec_repo_commit": "c59a1988" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index bfe39072e..266319edc 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -27,12 +27,24 @@ components: type: string requestBodies: {} responses: + ForbiddenResponse: + content: + application/json: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: Forbidden TooManyRequestsResponse: content: application/json: schema: $ref: '#/components/schemas/APIErrorResponse' description: Too many requests + UnauthorizedResponse: + content: + application/json: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: Unauthorized schemas: APIErrorResponse: description: Error response object. @@ -24191,6 +24203,8 @@ paths: schema: $ref: '#/components/schemas/IPRanges' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: [] @@ -24237,6 +24251,8 @@ paths: schema: $ref: '#/components/schemas/ApiKeyListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -24274,6 +24290,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -24314,6 +24332,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -24352,6 +24372,8 @@ paths: schema: $ref: '#/components/schemas/ApiKeyResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -24402,6 +24424,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -24435,6 +24459,8 @@ paths: schema: $ref: '#/components/schemas/ApplicationKeyListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -24473,6 +24499,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -24513,6 +24541,8 @@ paths: schema: $ref: '#/components/schemas/ApplicationKeyResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -24552,6 +24582,8 @@ paths: schema: $ref: '#/components/schemas/ApplicationKeyResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -24603,6 +24635,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -24663,6 +24697,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: text/json: @@ -24734,6 +24770,8 @@ paths: schema: $ref: '#/components/schemas/UsageCustomReportsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -24777,6 +24815,8 @@ paths: schema: $ref: '#/components/schemas/UsageSpecifiedCustomReportsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -24831,6 +24871,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -24905,6 +24947,8 @@ paths: schema: $ref: '#/components/schemas/DashboardSummary' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -24957,6 +25001,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25012,6 +25058,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25044,6 +25092,8 @@ paths: schema: $ref: '#/components/schemas/DashboardListListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25087,6 +25137,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25127,6 +25179,8 @@ paths: schema: $ref: '#/components/schemas/DashboardListDeleteResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25171,6 +25225,8 @@ paths: schema: $ref: '#/components/schemas/DashboardList' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25228,6 +25284,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25286,6 +25344,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25332,6 +25392,8 @@ paths: schema: $ref: '#/components/schemas/DeleteSharedDashboardResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25377,6 +25439,8 @@ paths: schema: $ref: '#/components/schemas/SharedDashboard' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25449,6 +25513,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25505,6 +25571,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25564,6 +25632,8 @@ paths: schema: $ref: '#/components/schemas/SharedDashboardInvites' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25629,6 +25699,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25674,6 +25746,8 @@ paths: schema: $ref: '#/components/schemas/DashboardDeleteResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25717,6 +25791,8 @@ paths: schema: $ref: '#/components/schemas/Dashboard' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25773,6 +25849,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25839,6 +25917,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: text/json: @@ -25893,6 +25973,8 @@ paths: $ref: '#/components/schemas/Downtime' type: array description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25938,6 +26020,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -25987,6 +26071,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26032,6 +26118,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26079,6 +26167,8 @@ paths: schema: $ref: '#/components/schemas/Downtime' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26140,6 +26230,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26261,6 +26353,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26306,6 +26400,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -26335,6 +26431,8 @@ paths: schema: $ref: '#/components/schemas/EventResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26441,6 +26539,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26491,6 +26591,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Invalid Parameter Error + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26527,6 +26629,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Invalid Parameter Error + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26619,6 +26723,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Invalid Parameter Error + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26669,6 +26775,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Invalid Parameter Error + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26714,6 +26822,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26771,6 +26881,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26815,6 +26927,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26883,6 +26997,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26923,6 +27039,8 @@ paths: type: string type: array description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26963,6 +27081,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -26996,6 +27116,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27034,6 +27156,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27076,6 +27200,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27115,6 +27241,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27158,6 +27286,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27203,6 +27333,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27244,6 +27376,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27289,6 +27423,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27328,6 +27464,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27384,6 +27522,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27428,6 +27568,8 @@ paths: $ref: '#/components/schemas/AWSLogsListServicesResponse' type: array description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27467,6 +27609,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27513,6 +27657,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27554,6 +27700,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27587,6 +27735,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27639,6 +27789,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27686,6 +27838,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27728,6 +27882,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27771,6 +27927,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27805,6 +27963,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27846,6 +28006,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27891,6 +28053,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27931,6 +28095,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27961,6 +28127,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -27999,6 +28167,8 @@ paths: schema: $ref: '#/components/schemas/PagerDutyServiceName' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28046,6 +28216,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28087,6 +28259,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28133,6 +28307,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28171,6 +28347,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28211,6 +28389,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28258,6 +28438,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28304,6 +28486,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28334,6 +28518,8 @@ paths: responses: '200': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28383,6 +28569,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28434,6 +28622,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28480,6 +28670,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28515,6 +28707,8 @@ paths: responses: '200': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28559,6 +28753,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28610,6 +28806,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28670,6 +28868,8 @@ paths: schema: $ref: '#/components/schemas/LogsAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28698,6 +28898,8 @@ paths: schema: $ref: '#/components/schemas/LogsIndexesOrder' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28739,6 +28941,8 @@ paths: schema: $ref: '#/components/schemas/LogsAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28768,6 +28972,8 @@ paths: schema: $ref: '#/components/schemas/LogsIndexListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28811,6 +29017,8 @@ paths: schema: $ref: '#/components/schemas/LogsAPIErrorResponse' description: Invalid Parameter Error + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28844,6 +29052,8 @@ paths: responses: '200': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28883,6 +29093,8 @@ paths: schema: $ref: '#/components/schemas/LogsIndex' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28937,6 +29149,8 @@ paths: schema: $ref: '#/components/schemas/LogsAPIErrorResponse' description: Invalid Parameter Error + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -28966,6 +29180,8 @@ paths: schema: $ref: '#/components/schemas/LogsPipelinesOrder' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29014,6 +29230,8 @@ paths: schema: $ref: '#/components/schemas/LogsAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29049,6 +29267,8 @@ paths: schema: $ref: '#/components/schemas/LogsPipelineList' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29087,6 +29307,8 @@ paths: schema: $ref: '#/components/schemas/LogsAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29125,6 +29347,8 @@ paths: schema: $ref: '#/components/schemas/LogsAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29165,6 +29389,8 @@ paths: schema: $ref: '#/components/schemas/LogsAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29213,6 +29439,8 @@ paths: schema: $ref: '#/components/schemas/LogsAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29273,6 +29501,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29311,6 +29541,8 @@ paths: schema: $ref: '#/components/schemas/MetricMetadata' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29368,6 +29600,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29486,6 +29720,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29688,6 +29924,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29739,6 +29977,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29833,6 +30073,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29923,6 +30165,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -29971,6 +30215,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Invalid JSON + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -30097,6 +30343,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -30217,6 +30465,10 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': content: application/json: @@ -30272,6 +30524,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Invalid JSON + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -30338,6 +30592,8 @@ paths: schema: $ref: '#/components/schemas/UsageCustomReportsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -30387,6 +30643,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -30524,6 +30782,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -30603,6 +30863,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -30640,6 +30902,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -30685,6 +30949,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -30775,6 +31041,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -30814,6 +31082,8 @@ paths: schema: $ref: '#/components/schemas/OrganizationListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -30868,6 +31138,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -30909,6 +31181,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -30950,6 +31224,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -30989,6 +31265,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31040,6 +31318,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31096,6 +31376,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31141,6 +31423,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31187,6 +31471,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31235,6 +31521,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31283,6 +31571,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31351,6 +31641,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: text/json: @@ -31440,6 +31732,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31493,6 +31787,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31547,6 +31843,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31596,6 +31894,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31650,6 +31950,8 @@ paths: schema: $ref: '#/components/schemas/SLOCorrectionListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31697,6 +31999,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31738,6 +32042,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31778,6 +32084,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31819,6 +32127,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31886,6 +32196,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31936,6 +32248,8 @@ paths: schema: $ref: '#/components/schemas/SLODeleteResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -31992,6 +32306,8 @@ paths: schema: $ref: '#/components/schemas/SLOResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -32048,6 +32364,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -32099,6 +32417,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -32189,6 +32509,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -32233,6 +32555,10 @@ paths: schema: $ref: '#/components/schemas/SyntheticsBatchDetails' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': content: application/json: @@ -32266,6 +32592,10 @@ paths: schema: $ref: '#/components/schemas/SyntheticsLocations' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -32298,12 +32628,16 @@ paths: schema: $ref: '#/components/schemas/SyntheticsPrivateLocationCreationResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '402': content: application/json: schema: $ref: '#/components/schemas/APIErrorResponse' description: Quota reached for private locations + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': content: application/json: @@ -32339,6 +32673,10 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': content: application/json: @@ -32378,6 +32716,10 @@ paths: schema: $ref: '#/components/schemas/SyntheticsPrivateLocation' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': content: application/json: @@ -32424,6 +32766,10 @@ paths: schema: $ref: '#/components/schemas/SyntheticsPrivateLocation' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': content: application/json: @@ -32458,6 +32804,10 @@ paths: schema: $ref: '#/components/schemas/SyntheticsDefaultLocations' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' summary: Get the default locations @@ -32495,6 +32845,8 @@ paths: schema: $ref: '#/components/schemas/SyntheticsListTestsResponse' description: OK - Returns the list of all Synthetic tests. + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -32670,6 +33022,8 @@ paths: description: '- JSON format is wrong - Creation failed' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '402': content: application/json: @@ -32717,6 +33071,8 @@ paths: schema: $ref: '#/components/schemas/SyntheticsAPITest' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -32777,6 +33133,8 @@ paths: description: '- JSON format is wrong - Updating sub-type is forbidden' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -32834,6 +33192,8 @@ paths: description: '- JSON format is wrong - Creation failed' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '402': content: application/json: @@ -32881,6 +33241,8 @@ paths: schema: $ref: '#/components/schemas/SyntheticsBrowserTest' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -32941,6 +33303,8 @@ paths: description: '- JSON format is wrong - Updating sub-type is forbidden' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33015,6 +33379,8 @@ paths: schema: $ref: '#/components/schemas/SyntheticsGetBrowserTestLatestResultsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33070,6 +33436,8 @@ paths: schema: $ref: '#/components/schemas/SyntheticsBrowserTestResultFull' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33127,6 +33495,8 @@ paths: an uptime widget) - Some IDs are not owned by the user' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33182,6 +33552,8 @@ paths: description: '- JSON format is wrong - Creation failed' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '402': content: application/json: @@ -33229,6 +33601,8 @@ paths: schema: $ref: '#/components/schemas/SyntheticsMobileTest' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33289,6 +33663,8 @@ paths: description: '- JSON format is wrong - Updating sub-type is forbidden' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33344,6 +33720,10 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -33383,6 +33763,10 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: JSON format is wrong + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -33424,6 +33808,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: '- JSON format is wrong' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33463,6 +33849,8 @@ paths: schema: $ref: '#/components/schemas/SyntheticsTestDetails' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33523,6 +33911,8 @@ paths: description: '- JSON format is wrong - Updating sub-type is forbidden' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33595,6 +33985,8 @@ paths: schema: $ref: '#/components/schemas/SyntheticsGetAPITestLatestResultsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33648,6 +34040,8 @@ paths: schema: $ref: '#/components/schemas/SyntheticsAPITestResultFull' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33707,6 +34101,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: JSON format is wrong. + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33747,6 +34143,8 @@ paths: schema: $ref: '#/components/schemas/SyntheticsListGlobalVariablesResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33790,6 +34188,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Invalid request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33837,6 +34237,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: JSON format is wrong + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33880,6 +34282,8 @@ paths: schema: $ref: '#/components/schemas/SyntheticsGlobalVariable' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33932,6 +34336,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Invalid request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -33972,6 +34378,8 @@ paths: schema: $ref: '#/components/schemas/TagToHosts' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -34021,6 +34429,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -34062,6 +34472,8 @@ paths: schema: $ref: '#/components/schemas/HostTags' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -34115,6 +34527,8 @@ paths: schema: $ref: '#/components/schemas/HostTags' description: Created + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -34168,6 +34582,8 @@ paths: schema: $ref: '#/components/schemas/HostTags' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -34228,6 +34644,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -34291,6 +34709,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -34355,6 +34775,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -34417,6 +34839,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -34483,6 +34907,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -34549,6 +34975,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -34615,6 +35043,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -34681,6 +35111,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -34745,6 +35177,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -34809,6 +35243,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -34901,6 +35337,8 @@ paths: schema: $ref: '#/components/schemas/HourlyUsageAttributionResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -34967,6 +35405,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35031,6 +35471,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35097,6 +35539,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35163,6 +35607,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35227,6 +35673,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35293,6 +35741,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35359,6 +35809,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35464,6 +35916,8 @@ paths: schema: $ref: '#/components/schemas/MonthlyUsageAttributionResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35530,6 +35984,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35594,6 +36050,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35660,6 +36118,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35726,6 +36186,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35791,6 +36253,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35862,6 +36326,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35928,6 +36394,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -35994,6 +36462,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -36072,6 +36542,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -36136,6 +36608,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -36200,6 +36674,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -36264,6 +36740,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -36328,6 +36806,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -36415,6 +36895,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -36450,6 +36932,8 @@ paths: schema: $ref: '#/components/schemas/UserListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -36498,6 +36982,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -36550,6 +37036,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -36585,6 +37073,8 @@ paths: schema: $ref: '#/components/schemas/UserResponse' description: OK for get user + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -36636,6 +37126,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -36666,6 +37158,8 @@ paths: schema: $ref: '#/components/schemas/AuthenticationValidationResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -36810,6 +37304,8 @@ paths: schema: $ref: '#/components/schemas/HTTPLogError' description: unexpected error + '401': + $ref: '#/components/responses/UnauthorizedResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 537d23fc7..e0635dfbb 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -40453,6 +40453,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -40477,6 +40479,8 @@ paths: responses: '204': description: The resource was deleted successfully. + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -40520,6 +40524,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -40566,6 +40572,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -40598,6 +40606,8 @@ paths: schema: $ref: '#/components/schemas/AwsScanOptionsListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -40624,6 +40634,8 @@ paths: description: Agentless scan options enabled successfully. '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -40645,6 +40657,8 @@ paths: description: No Content '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -40671,6 +40685,8 @@ paths: description: No Content '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -40692,6 +40708,8 @@ paths: schema: $ref: '#/components/schemas/AwsOnDemandListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -40724,6 +40742,8 @@ paths: description: AWS on demand task created successfully. '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -40751,6 +40771,8 @@ paths: description: OK. '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -40793,6 +40815,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -40830,6 +40854,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -40855,6 +40881,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -40889,6 +40917,8 @@ paths: schema: $ref: '#/components/schemas/APIKeyResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -40934,6 +40964,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -41000,6 +41032,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -41042,6 +41076,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -41096,6 +41132,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -41159,6 +41197,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -41220,6 +41260,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -41252,6 +41294,8 @@ paths: schema: $ref: '#/components/schemas/SpansMetricsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -41285,6 +41329,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -41308,6 +41354,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -41333,6 +41381,8 @@ paths: schema: $ref: '#/components/schemas/SpansMetricResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -41370,6 +41420,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -41395,6 +41447,8 @@ paths: schema: $ref: '#/components/schemas/RetentionFiltersResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -41432,6 +41486,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -41463,6 +41519,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -41489,6 +41547,8 @@ paths: responses: '200': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -41515,6 +41575,8 @@ paths: schema: $ref: '#/components/schemas/RetentionFilterResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -41554,6 +41616,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -41592,6 +41656,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -41706,6 +41772,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -41743,6 +41811,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -41786,6 +41856,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -41847,6 +41919,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -41906,6 +41980,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -41952,6 +42028,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -42000,6 +42078,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -42046,6 +42126,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -42076,6 +42158,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -42117,6 +42201,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -42162,6 +42248,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -42253,6 +42341,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -42297,6 +42387,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -42345,6 +42437,8 @@ paths: schema: $ref: '#/components/schemas/AuthNMappingsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -42381,6 +42475,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -42412,6 +42508,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -42445,6 +42543,8 @@ paths: schema: $ref: '#/components/schemas/AuthNMappingResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -42489,6 +42589,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -42682,6 +42784,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -43019,6 +43123,8 @@ paths: schema: $ref: '#/components/schemas/ListEntityCatalogResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -43054,6 +43160,8 @@ paths: description: ACCEPTED '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -43078,6 +43186,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -43189,6 +43299,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -43273,6 +43385,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -43319,6 +43433,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -43361,6 +43477,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -43445,6 +43563,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -43491,6 +43611,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -43532,6 +43654,10 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '409': $ref: '#/components/responses/ConflictResponse' '429': @@ -43569,6 +43695,10 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' '500': @@ -43603,6 +43733,10 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' '500': @@ -43641,6 +43775,10 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' '500': @@ -43717,6 +43855,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -43797,6 +43937,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -43831,6 +43973,8 @@ paths: schema: $ref: '#/components/schemas/AwsCURConfigsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -43873,6 +44017,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -43908,6 +44054,10 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': content: application/json: @@ -43947,6 +44097,8 @@ paths: schema: $ref: '#/components/schemas/AwsCURConfigsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -43978,6 +44130,8 @@ paths: schema: $ref: '#/components/schemas/AzureUCConfigsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44020,6 +44174,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44055,6 +44211,10 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': content: application/json: @@ -44099,6 +44259,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44138,6 +44300,10 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': $ref: '#/components/responses/NotFoundResponse' '429': @@ -44161,6 +44327,10 @@ paths: description: No Content '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -44185,6 +44355,10 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': $ref: '#/components/responses/NotFoundResponse' '429': @@ -44208,6 +44382,10 @@ paths: schema: $ref: '#/components/schemas/BudgetArray' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -44229,6 +44407,8 @@ paths: schema: $ref: '#/components/schemas/CustomCostsFileListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44261,6 +44441,8 @@ paths: schema: $ref: '#/components/schemas/CustomCostsFileUploadResponse' description: Accepted + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44286,6 +44468,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44314,6 +44498,8 @@ paths: schema: $ref: '#/components/schemas/CustomCostsFileGetResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44348,6 +44534,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -44473,6 +44661,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -44543,6 +44733,8 @@ paths: schema: $ref: '#/components/schemas/CsmAgentsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -44565,6 +44757,8 @@ paths: schema: $ref: '#/components/schemas/CsmCloudAccountsCoverageAnalysisResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -44587,6 +44781,8 @@ paths: schema: $ref: '#/components/schemas/CsmHostsAndContainersCoverageAnalysisResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -44609,6 +44805,8 @@ paths: schema: $ref: '#/components/schemas/CsmServerlessCoverageAnalysisResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -44663,6 +44861,8 @@ paths: schema: $ref: '#/components/schemas/CsmAgentsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -44695,6 +44895,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44738,6 +44940,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44763,6 +44967,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44796,6 +45002,8 @@ paths: schema: $ref: '#/components/schemas/ApplicationKeyResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44841,6 +45049,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44895,6 +45105,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44931,6 +45143,8 @@ paths: schema: $ref: '#/components/schemas/DashboardListItems' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -44988,6 +45202,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -45037,6 +45253,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -45077,6 +45295,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '412': @@ -45161,6 +45381,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -45200,6 +45422,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '412': @@ -45241,6 +45465,10 @@ paths: schema: $ref: '#/components/schemas/DomainAllowlistResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -45271,6 +45499,10 @@ paths: schema: $ref: '#/components/schemas/DomainAllowlistResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -45324,6 +45556,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -45374,6 +45608,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -45425,6 +45661,8 @@ paths: schema: $ref: '#/components/schemas/ListDowntimesResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -45472,6 +45710,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -45513,6 +45753,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -45573,6 +45815,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -45630,6 +45874,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -45718,6 +45964,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -45803,6 +46051,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -45842,6 +46092,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -46797,6 +47049,8 @@ paths: schema: $ref: '#/components/schemas/AWSAccountsResponse' description: AWS Accounts List object + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -46829,6 +47083,8 @@ paths: description: AWS Account object '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '409': @@ -46857,6 +47113,8 @@ paths: description: No Content '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -46887,6 +47145,8 @@ paths: description: AWS Account object '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -46923,6 +47183,8 @@ paths: description: AWS Account object '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -46952,6 +47214,8 @@ paths: schema: $ref: '#/components/schemas/AWSNamespacesResponse' description: AWS Namespaces List object + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -46977,6 +47241,8 @@ paths: schema: $ref: '#/components/schemas/AWSNewExternalIDResponse' description: AWS External ID object + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -47002,6 +47268,8 @@ paths: schema: $ref: '#/components/schemas/AWSLogsServicesResponse' description: AWS Logs Services List object + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -47028,6 +47296,8 @@ paths: schema: $ref: '#/components/schemas/GCPSTSServiceAccountsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -47087,6 +47357,8 @@ paths: description: No Content '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -47118,6 +47390,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -47144,6 +47418,8 @@ paths: schema: $ref: '#/components/schemas/GCPSTSDelegateAccountResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -47174,6 +47450,8 @@ paths: schema: $ref: '#/components/schemas/GCPSTSDelegateAccountResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -47206,6 +47484,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47232,6 +47512,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47262,6 +47544,8 @@ paths: description: CREATED '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47287,6 +47571,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '412': @@ -47311,6 +47597,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47343,6 +47631,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47373,6 +47663,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47404,6 +47696,8 @@ paths: description: CREATED '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47430,6 +47724,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '412': @@ -47454,6 +47750,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47487,6 +47785,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47512,6 +47812,8 @@ paths: schema: $ref: '#/components/schemas/OpsgenieServicesResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -47542,6 +47844,8 @@ paths: description: CREATED '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '409': @@ -47567,6 +47871,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47594,6 +47900,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47630,6 +47938,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47659,6 +47969,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47690,6 +48002,8 @@ paths: description: CREATED '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47720,6 +48034,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47752,6 +48068,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47790,6 +48108,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47817,6 +48137,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47849,6 +48171,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47874,6 +48198,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47901,6 +48227,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47935,6 +48263,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -47965,6 +48295,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48000,6 +48332,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48027,6 +48361,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48056,6 +48392,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48092,6 +48430,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48119,6 +48459,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48150,6 +48492,8 @@ paths: description: CREATED '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48175,6 +48519,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48202,6 +48548,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48235,6 +48583,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48264,6 +48614,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48297,6 +48649,8 @@ paths: description: CREATED '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48323,6 +48677,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48351,6 +48707,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48385,6 +48743,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48412,6 +48772,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48443,6 +48805,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48473,6 +48837,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48505,6 +48871,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48543,6 +48911,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48568,6 +48938,8 @@ paths: schema: $ref: '#/components/schemas/IPAllowlistResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48604,6 +48976,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -48870,6 +49244,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -48895,6 +49271,8 @@ paths: schema: $ref: '#/components/schemas/LogsArchiveOrder' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -48942,6 +49320,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -48975,6 +49355,8 @@ paths: schema: $ref: '#/components/schemas/LogsArchives' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -49013,6 +49395,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -49044,6 +49428,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -49083,6 +49469,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -49134,6 +49522,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -49177,6 +49567,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -49217,6 +49609,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -49259,6 +49653,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -49293,6 +49689,8 @@ paths: schema: $ref: '#/components/schemas/CustomDestinationsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -49328,6 +49726,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '409': @@ -49353,6 +49753,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -49380,6 +49782,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -49416,6 +49820,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -49443,6 +49849,8 @@ paths: schema: $ref: '#/components/schemas/LogsMetricsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -49476,6 +49884,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -49499,6 +49909,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -49524,6 +49936,8 @@ paths: schema: $ref: '#/components/schemas/LogsMetricResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -49561,6 +49975,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -49675,6 +50091,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -49727,6 +50145,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -49860,6 +50280,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -49921,6 +50343,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -49988,6 +50412,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50046,6 +50472,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50091,6 +50519,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50141,6 +50571,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: API error response. + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50233,6 +50665,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: API error response. + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50268,6 +50702,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50305,6 +50741,8 @@ paths: schema: $ref: '#/components/schemas/MetricTagConfigurationResponse' description: Success + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50371,6 +50809,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50434,6 +50874,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50483,6 +50925,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50529,6 +50973,8 @@ paths: schema: $ref: '#/components/schemas/MonitorNotificationRuleListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50575,6 +51021,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50612,6 +51060,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50668,6 +51118,8 @@ paths: schema: $ref: '#/components/schemas/MonitorNotificationRuleResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50727,6 +51179,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50768,6 +51222,8 @@ paths: schema: $ref: '#/components/schemas/MonitorConfigPolicyListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50811,6 +51267,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50848,6 +51306,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50887,6 +51347,8 @@ paths: schema: $ref: '#/components/schemas/MonitorConfigPolicyResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50938,6 +51400,8 @@ paths: schema: $ref: '#/components/schemas/MonitorConfigPolicyResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -50995,6 +51459,10 @@ paths: schema: $ref: '#/components/schemas/MonitorDowntimeMatchResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': content: application/json: @@ -51050,6 +51518,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -51080,6 +51550,8 @@ paths: schema: $ref: '#/components/schemas/GetDeviceResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -51115,6 +51587,8 @@ paths: schema: $ref: '#/components/schemas/GetInterfacesResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -51141,6 +51615,8 @@ paths: schema: $ref: '#/components/schemas/ListTagsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -51174,6 +51650,8 @@ paths: schema: $ref: '#/components/schemas/ListTagsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -51235,6 +51713,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' summary: Get all aggregated connections @@ -51612,6 +52092,10 @@ paths: schema: $ref: '#/components/schemas/TeamRoutingRules' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -51655,6 +52139,10 @@ paths: schema: $ref: '#/components/schemas/TeamRoutingRules' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -51775,6 +52263,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -51931,6 +52421,8 @@ paths: description: OK '400': $ref: '#/components/responses/FindingsBadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/FindingsForbiddenResponse' '404': @@ -51978,6 +52470,8 @@ paths: description: OK '400': $ref: '#/components/responses/FindingsBadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/FindingsForbiddenResponse' '404': @@ -52030,6 +52524,8 @@ paths: description: OK '400': $ref: '#/components/responses/FindingsBadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/FindingsForbiddenResponse' '404': @@ -52070,6 +52566,10 @@ paths: schema: $ref: '#/components/schemas/ListPowerpacksResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -52111,6 +52611,10 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -52140,6 +52644,10 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': content: application/json: @@ -52177,6 +52685,10 @@ paths: schema: $ref: '#/components/schemas/PowerpackResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': content: application/json: @@ -52227,6 +52739,10 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': content: application/json: @@ -52323,6 +52839,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -52440,6 +52958,8 @@ paths: schema: $ref: '#/components/schemas/ApplicationSecurityWafCustomRuleListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -52466,6 +52986,8 @@ paths: description: Created '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -52485,6 +53007,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -52509,6 +53033,8 @@ paths: schema: $ref: '#/components/schemas/ApplicationSecurityWafCustomRuleResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -52540,6 +53066,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -52564,6 +53092,8 @@ paths: schema: $ref: '#/components/schemas/ApplicationSecurityWafExclusionFiltersResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -52602,6 +53132,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -52626,6 +53158,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -52654,6 +53188,8 @@ paths: schema: $ref: '#/components/schemas/ApplicationSecurityWafExclusionFilterResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -52691,6 +53227,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -52721,6 +53259,8 @@ paths: schema: $ref: '#/components/schemas/CloudWorkloadSecurityAgentRulesListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -52748,6 +53288,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -52768,6 +53310,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -52791,6 +53335,8 @@ paths: schema: $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -52824,6 +53370,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -52847,6 +53395,8 @@ paths: schema: $ref: '#/components/schemas/CloudWorkloadSecurityAgentPoliciesListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -52874,6 +53424,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -52902,6 +53454,8 @@ paths: format: binary type: string description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -52920,6 +53474,8 @@ paths: description: OK '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -52942,6 +53498,8 @@ paths: schema: $ref: '#/components/schemas/CloudWorkloadSecurityAgentPolicyResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -52974,6 +53532,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -53002,6 +53562,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -53032,6 +53594,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -53070,6 +53634,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -53096,6 +53662,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53141,6 +53709,8 @@ paths: schema: $ref: '#/components/schemas/ObservabilityPipeline' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53182,6 +53752,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -53209,6 +53781,8 @@ paths: description: No Content '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -53237,6 +53811,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -53360,6 +53936,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -53413,6 +53991,8 @@ paths: schema: $ref: '#/components/schemas/RolesResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53455,6 +54035,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53485,6 +54067,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53520,6 +54104,8 @@ paths: schema: $ref: '#/components/schemas/RoleResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53568,6 +54154,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53626,6 +54214,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53684,6 +54274,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53723,6 +54315,8 @@ paths: schema: $ref: '#/components/schemas/PermissionsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53770,6 +54364,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53822,6 +54418,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53881,6 +54479,8 @@ paths: schema: $ref: '#/components/schemas/UsersResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53927,6 +54527,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -53974,6 +54576,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -54000,6 +54604,10 @@ paths: schema: $ref: '#/components/schemas/RUMApplicationsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': $ref: '#/components/responses/NotFoundResponse' '429': @@ -54029,6 +54637,10 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' summary: Create a new RUM application @@ -54064,6 +54676,8 @@ paths: description: Ordered '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -54085,6 +54699,8 @@ paths: schema: $ref: '#/components/schemas/RumRetentionFiltersResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -54116,6 +54732,8 @@ paths: description: Created '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -54134,6 +54752,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -54156,6 +54776,8 @@ paths: schema: $ref: '#/components/schemas/RumRetentionFilterResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -54190,6 +54812,8 @@ paths: description: Updated '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -54214,6 +54838,10 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': $ref: '#/components/responses/NotFoundResponse' '429': @@ -54242,6 +54870,10 @@ paths: schema: $ref: '#/components/schemas/RUMApplicationResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': $ref: '#/components/responses/NotFoundResponse' '429': @@ -54278,6 +54910,10 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': $ref: '#/components/responses/NotFoundResponse' '422': @@ -54307,6 +54943,8 @@ paths: schema: $ref: '#/components/schemas/RumMetricsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -54336,6 +54974,8 @@ paths: description: Created '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -54355,6 +54995,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -54376,6 +55018,8 @@ paths: schema: $ref: '#/components/schemas/RumMetricResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -54409,6 +55053,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -54490,6 +55136,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -54536,6 +55184,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -54578,6 +55228,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -54666,6 +55318,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -54705,6 +55359,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -54794,6 +55450,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -54832,6 +55490,8 @@ paths: description: Created '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -54859,6 +55519,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -54897,6 +55559,8 @@ paths: description: Rule updated successfully '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -55072,6 +55736,8 @@ paths: $ref: '#/components/schemas/JSONAPIErrorResponse' description: 'Bad request: The server cannot process the request due to invalid syntax in the request.' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -55116,6 +55782,8 @@ paths: format: binary type: string description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -55170,6 +55838,8 @@ paths: $ref: '#/components/schemas/JSONAPIErrorResponse' description: 'Bad request: The server cannot process the request due to invalid syntax in the request.' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -55202,6 +55872,8 @@ paths: responses: '200': $ref: '#/components/responses/NotificationRulesList' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -55244,6 +55916,8 @@ paths: description: Successfully created the notification rule. '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -55275,6 +55949,8 @@ paths: responses: '204': description: Rule successfully deleted. + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -55312,6 +55988,8 @@ paths: description: Notification rule details. '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -55356,6 +56034,8 @@ paths: description: Notification rule successfully patched. '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -55732,6 +56412,8 @@ paths: $ref: '#/components/schemas/JSONAPIErrorResponse' description: 'Bad request: The server cannot process the request due to invalid syntax in the request.' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -55765,6 +56447,8 @@ paths: responses: '200': $ref: '#/components/responses/NotificationRulesList' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -55807,6 +56491,8 @@ paths: description: Successfully created the notification rule. '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -55838,6 +56524,8 @@ paths: responses: '204': description: Rule successfully deleted. + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -55875,6 +56563,8 @@ paths: description: Notification rule details. '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -55919,6 +56609,8 @@ paths: description: Notification rule successfully patched. '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -55951,6 +56643,8 @@ paths: schema: $ref: '#/components/schemas/CloudWorkloadSecurityAgentRulesListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -55981,6 +56675,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -56004,6 +56700,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -56029,6 +56727,8 @@ paths: schema: $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -56065,6 +56765,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -56092,6 +56794,8 @@ paths: schema: $ref: '#/components/schemas/SecurityFiltersResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -56132,6 +56836,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -56160,6 +56866,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -56195,6 +56903,8 @@ paths: schema: $ref: '#/components/schemas/SecurityFilterResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -56236,6 +56946,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -56268,6 +56980,8 @@ paths: schema: $ref: '#/components/schemas/SecurityMonitoringSuppressionsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -56299,6 +57013,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '409': @@ -56323,6 +57039,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -56349,6 +57067,8 @@ paths: schema: $ref: '#/components/schemas/SecurityMonitoringSuppressionResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -56384,6 +57104,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -56416,6 +57138,10 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -56448,6 +57174,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -56563,6 +57291,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -56589,6 +57319,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -56619,6 +57351,10 @@ paths: schema: $ref: '#/components/schemas/SecurityMonitoringRuleResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': $ref: '#/components/responses/NotFoundResponse' '429': @@ -56702,6 +57438,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -56779,6 +57517,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -56859,6 +57599,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -56903,6 +57645,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -56938,6 +57682,10 @@ paths: schema: $ref: '#/components/schemas/SecurityMonitoringSignalResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': $ref: '#/components/responses/NotFoundResponse' '429': @@ -56980,6 +57728,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57028,6 +57778,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57076,6 +57828,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57115,6 +57869,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57152,6 +57908,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57200,6 +57958,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57241,6 +58001,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57291,6 +58053,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57342,6 +58106,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57383,6 +58149,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57432,6 +58200,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57467,6 +58237,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57527,6 +58299,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57576,6 +58350,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57617,6 +58393,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57662,6 +58440,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57688,6 +58468,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57722,6 +58504,8 @@ paths: schema: $ref: '#/components/schemas/PartialApplicationKeyResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57768,6 +58552,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -57890,6 +58676,8 @@ paths: schema: $ref: '#/components/schemas/ServiceDefinitionsListResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -57929,6 +58717,8 @@ paths: description: CREATED '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '409': @@ -57959,6 +58749,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -57992,6 +58784,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -58160,6 +58954,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '429': @@ -58295,6 +59091,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/NotAuthorizedResponse' '404': @@ -58382,6 +59180,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -58430,6 +59230,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -58474,6 +59276,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -58521,6 +59325,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -58609,6 +59415,8 @@ paths: description: OK '400': $ref: '#/components/responses/SpansBadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/SpansForbiddenResponse' '422': @@ -58657,6 +59465,8 @@ paths: description: OK '400': $ref: '#/components/responses/SpansBadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/SpansForbiddenResponse' '422': @@ -58688,6 +59498,10 @@ paths: schema: $ref: '#/components/schemas/OnDemandConcurrencyCapResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' summary: Get the on-demand concurrency cap @@ -58714,6 +59528,10 @@ paths: schema: $ref: '#/components/schemas/OnDemandConcurrencyCapResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '429': $ref: '#/components/responses/TooManyRequestsResponse' summary: Save new value for on-demand concurrency cap @@ -58778,6 +59596,8 @@ paths: schema: $ref: '#/components/schemas/TeamsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -58816,6 +59636,8 @@ paths: schema: $ref: '#/components/schemas/TeamResponse' description: CREATED + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '409': @@ -58855,6 +59677,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -58896,6 +59720,8 @@ paths: schema: $ref: '#/components/schemas/TeamResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -58951,6 +59777,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: API error response. + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -58998,6 +59826,8 @@ paths: schema: $ref: '#/components/schemas/TeamLinksResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -59043,6 +59873,8 @@ paths: schema: $ref: '#/components/schemas/TeamLinkResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -59092,6 +59924,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -59137,6 +59971,8 @@ paths: schema: $ref: '#/components/schemas/TeamLinkResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -59188,6 +60024,8 @@ paths: schema: $ref: '#/components/schemas/TeamLinkResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -59243,6 +60081,8 @@ paths: schema: $ref: '#/components/schemas/UserTeamsResponse' description: Represents a user's association to a team + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -59292,6 +60132,8 @@ paths: schema: $ref: '#/components/schemas/UserTeamResponse' description: Represents a user's association to a team + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -59341,6 +60183,8 @@ paths: responses: '204': description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -59392,6 +60236,8 @@ paths: schema: $ref: '#/components/schemas/UserTeamResponse' description: Represents a user's association to a team + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -59433,6 +60279,8 @@ paths: schema: $ref: '#/components/schemas/TeamPermissionSettingsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -59485,6 +60333,8 @@ paths: schema: $ref: '#/components/schemas/TeamPermissionSettingResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -59750,6 +60600,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -59815,6 +60667,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -59886,6 +60740,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -59990,6 +60846,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -60071,6 +60929,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -60212,6 +61072,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -60276,6 +61138,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -60340,6 +61204,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -60405,6 +61271,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json;datetime-format=rfc3339: @@ -60452,6 +61320,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -60492,6 +61362,8 @@ paths: schema: $ref: '#/components/schemas/UserInvitationResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -60579,6 +61451,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -60626,6 +61500,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -60658,6 +61534,8 @@ paths: responses: '204': description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -60698,6 +61576,8 @@ paths: schema: $ref: '#/components/schemas/UserResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -60751,6 +61631,8 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Bad Request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -60801,6 +61683,8 @@ paths: schema: $ref: '#/components/schemas/UserResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -60840,6 +61724,8 @@ paths: schema: $ref: '#/components/schemas/PermissionsResponse' description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -60885,6 +61771,10 @@ paths: schema: $ref: '#/components/schemas/UserTeamsResponse' description: Represents a user's association to a team + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' '404': content: application/json: @@ -60929,6 +61819,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -60958,6 +61850,8 @@ paths: responses: '204': description: Successfully deleted a workflow. + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -61002,6 +61896,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -61052,6 +61948,8 @@ paths: schema: $ref: '#/components/schemas/JSONAPIErrorResponse' description: Bad request + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': content: application/json: @@ -61095,6 +61993,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -61132,6 +62032,8 @@ paths: description: Created '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '429': @@ -61166,6 +62068,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': @@ -61201,6 +62105,8 @@ paths: description: OK '400': $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' '403': $ref: '#/components/responses/ForbiddenResponse' '404': diff --git a/src/datadogV1/api/api_usage_metering.rs b/src/datadogV1/api/api_usage_metering.rs index 67d047f29..093994c48 100644 --- a/src/datadogV1/api/api_usage_metering.rs +++ b/src/datadogV1/api/api_usage_metering.rs @@ -1210,10 +1210,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -1386,10 +1383,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -1518,10 +1512,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -1650,10 +1641,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -1788,10 +1776,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -1974,10 +1959,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -2093,10 +2075,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -2212,10 +2191,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -2344,10 +2320,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -2476,10 +2449,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -2606,10 +2576,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -2735,10 +2702,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -2861,10 +2825,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -2993,10 +2954,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -3120,10 +3078,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -3248,10 +3203,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -3375,10 +3327,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -3507,10 +3456,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -3639,10 +3585,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -3765,10 +3708,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -3891,10 +3831,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -4025,10 +3962,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -4157,10 +4091,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -4289,10 +4220,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -4421,10 +4349,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -4553,10 +4478,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -4685,10 +4607,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -4822,10 +4741,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -4952,10 +4868,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -5078,10 +4991,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -5202,10 +5112,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -5342,10 +5249,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -5474,10 +5378,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -5606,10 +5507,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -5738,10 +5636,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -5870,10 +5765,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -6014,10 +5906,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { diff --git a/src/datadogV2/api/api_action_connection.rs b/src/datadogV2/api/api_action_connection.rs index 27b6fb7c5..5ce62ad3c 100644 --- a/src/datadogV2/api/api_action_connection.rs +++ b/src/datadogV2/api/api_action_connection.rs @@ -15,6 +15,7 @@ use std::io::Write; #[serde(untagged)] pub enum CreateActionConnectionError { JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse), + APIErrorResponse(crate::datadogV2::model::APIErrorResponse), UnknownValue(serde_json::Value), } @@ -22,6 +23,7 @@ pub enum CreateActionConnectionError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteActionConnectionError { + APIErrorResponse(crate::datadogV2::model::APIErrorResponse), JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse), UnknownValue(serde_json::Value), } @@ -31,6 +33,7 @@ pub enum DeleteActionConnectionError { #[serde(untagged)] pub enum GetActionConnectionError { JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse), + APIErrorResponse(crate::datadogV2::model::APIErrorResponse), UnknownValue(serde_json::Value), } @@ -39,6 +42,7 @@ pub enum GetActionConnectionError { #[serde(untagged)] pub enum UpdateActionConnectionError { JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse), + APIErrorResponse(crate::datadogV2::model::APIErrorResponse), UnknownValue(serde_json::Value), } diff --git a/src/datadogV2/api/api_security_monitoring.rs b/src/datadogV2/api/api_security_monitoring.rs index a19c78ea9..2301fd628 100644 --- a/src/datadogV2/api/api_security_monitoring.rs +++ b/src/datadogV2/api/api_security_monitoring.rs @@ -894,6 +894,7 @@ pub enum GetCustomFrameworkError { #[serde(untagged)] pub enum GetFindingError { JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse), + APIErrorResponse(crate::datadogV2::model::APIErrorResponse), UnknownValue(serde_json::Value), } @@ -991,6 +992,7 @@ pub enum GetVulnerabilityNotificationRulesError { #[serde(untagged)] pub enum ListFindingsError { JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse), + APIErrorResponse(crate::datadogV2::model::APIErrorResponse), UnknownValue(serde_json::Value), } @@ -1057,6 +1059,7 @@ pub enum ListVulnerableAssetsError { #[serde(untagged)] pub enum MuteFindingsError { JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse), + APIErrorResponse(crate::datadogV2::model::APIErrorResponse), UnknownValue(serde_json::Value), } diff --git a/src/datadogV2/api/api_spans.rs b/src/datadogV2/api/api_spans.rs index 23d4ef13b..c6d0c43cb 100644 --- a/src/datadogV2/api/api_spans.rs +++ b/src/datadogV2/api/api_spans.rs @@ -76,6 +76,7 @@ pub enum AggregateSpansError { #[serde(untagged)] pub enum ListSpansError { JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse), + APIErrorResponse(crate::datadogV2::model::APIErrorResponse), UnknownValue(serde_json::Value), } @@ -84,6 +85,7 @@ pub enum ListSpansError { #[serde(untagged)] pub enum ListSpansGetError { JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse), + APIErrorResponse(crate::datadogV2::model::APIErrorResponse), UnknownValue(serde_json::Value), } diff --git a/src/datadogV2/api/api_usage_metering.rs b/src/datadogV2/api/api_usage_metering.rs index 6689c31da..d53ed1cb7 100644 --- a/src/datadogV2/api/api_usage_metering.rs +++ b/src/datadogV2/api/api_usage_metering.rs @@ -521,10 +521,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -656,10 +653,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -795,10 +789,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -955,10 +946,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -1100,10 +1088,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -1271,10 +1256,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -1459,10 +1441,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -1587,10 +1566,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -1721,10 +1697,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -1854,10 +1827,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { @@ -1987,10 +1957,7 @@ impl UsageMeteringAPI { // build headers let mut headers = HeaderMap::new(); - headers.insert( - "Accept", - HeaderValue::from_static("application/json;datetime-format=rfc3339"), - ); + headers.insert("Accept", HeaderValue::from_static("application/json")); // build user agent match HeaderValue::from_str(local_configuration.user_agent.as_str()) { diff --git a/src/datadogV2/api/api_workflow_automation.rs b/src/datadogV2/api/api_workflow_automation.rs index 024d3763c..378cb3c72 100644 --- a/src/datadogV2/api/api_workflow_automation.rs +++ b/src/datadogV2/api/api_workflow_automation.rs @@ -46,6 +46,7 @@ pub enum CancelWorkflowInstanceError { #[serde(untagged)] pub enum CreateWorkflowError { JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse), + APIErrorResponse(crate::datadogV2::model::APIErrorResponse), UnknownValue(serde_json::Value), } @@ -61,6 +62,7 @@ pub enum CreateWorkflowInstanceError { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] pub enum DeleteWorkflowError { + APIErrorResponse(crate::datadogV2::model::APIErrorResponse), JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse), UnknownValue(serde_json::Value), } @@ -70,6 +72,7 @@ pub enum DeleteWorkflowError { #[serde(untagged)] pub enum GetWorkflowError { JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse), + APIErrorResponse(crate::datadogV2::model::APIErrorResponse), UnknownValue(serde_json::Value), } @@ -94,6 +97,7 @@ pub enum ListWorkflowInstancesError { #[serde(untagged)] pub enum UpdateWorkflowError { JSONAPIErrorResponse(crate::datadogV2::model::JSONAPIErrorResponse), + APIErrorResponse(crate::datadogV2::model::APIErrorResponse), UnknownValue(serde_json::Value), } diff --git a/src/datadogV2/model/mod.rs b/src/datadogV2/model/mod.rs index 0bbc3da89..bcbdd5552 100644 --- a/src/datadogV2/model/mod.rs +++ b/src/datadogV2/model/mod.rs @@ -50,6 +50,8 @@ pub mod model_jsonapi_error_item; pub use self::model_jsonapi_error_item::JSONAPIErrorItem; pub mod model_jsonapi_error_item_source; pub use self::model_jsonapi_error_item_source::JSONAPIErrorItemSource; +pub mod model_api_error_response; +pub use self::model_api_error_response::APIErrorResponse; pub mod model_get_action_connection_response; pub use self::model_get_action_connection_response::GetActionConnectionResponse; pub mod model_update_action_connection_request; @@ -88,8 +90,6 @@ pub mod model_aws_scan_options_attributes; pub use self::model_aws_scan_options_attributes::AwsScanOptionsAttributes; pub mod model_aws_scan_options_type; pub use self::model_aws_scan_options_type::AwsScanOptionsType; -pub mod model_api_error_response; -pub use self::model_api_error_response::APIErrorResponse; pub mod model_aws_scan_options_create_request; pub use self::model_aws_scan_options_create_request::AwsScanOptionsCreateRequest; pub mod model_aws_scan_options_create_data; diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-Bad-Request-response.frozen index aebe9ab1f..3d0210d6c 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:20.681Z \ No newline at end of file +2025-05-12T11:35:28.281Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-Bad-Request-response.json index b545ffeba..6ea66d597 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-Bad-Request-response.json @@ -5,7 +5,7 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", @@ -13,7 +13,7 @@ }, "response": { "body": { - "string": "{\"errors\": [\"The parameter 'month/day' is required\"]}", + "string": "{\"errors\":[\"The parameter 'month/day' is required\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:20 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:28 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-OK-response.frozen index ea8f0ce59..cfd15ea10 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:20.876Z \ No newline at end of file +2025-05-12T11:35:28.784Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-OK-response.json index 979951ccb..33bfe45ca 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-all-custom-metrics-by-hourly-average-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/top_avg_metrics?day=2022-03-29T00%3A41%3A20.876Z" + "uri": "https://api.datadoghq.com/api/v1/usage/top_avg_metrics?day=2025-05-09T11%3A35%3A28.784Z" }, "response": { "body": { - "string": "{\"usage\":[{\"metric_category\":\"custom\",\"metric_name\":\"page.views\",\"max_metric_hour\":11,\"avg_metric_hour\":11},{\"metric_category\":\"custom\",\"metric_name\":\"datadog_api_client_python_test_create_a_logbased_metric_returns_ok_response_1617189622.037749\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633000123\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestListtagconfigurationswithconfiguredfilterreturnsSuccessresponse1648567994\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632849661\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632909874\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633006696\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestUpdateatagconfigurationreturnsOKresponse1648572624\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633007533\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632832883\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"foo\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632851109\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632820425\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"ruby_Create_a_log_based_metric_returns_OK_response_1617976084\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632836431\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632827387\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1640112763\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632846619\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633011091\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1637077938\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632844127\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632918172\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestListtagsbymetricnamereturnsSuccessresponse1648571864\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632997303\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633015432\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1637078452\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"go.client.test.metric\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Go_TestMetrics_1648512356\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Typescript_Create_a_log_based_metric_returns_OK_response_1614896593.355\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632817303\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632826421\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Typescript_Create_a_log_based_metric_returns_OK_response_1614072176.745\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632888511\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Typescript_Create_a_log_based_metric_returns_OK_response_1613675381.562\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632974958\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632844008\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632986079\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632849879\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632910728\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632328087\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestListtagconfigurationswithconfiguredfilterreturnsSuccessresponse1648571107\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"datadog_api_client_python_test_create_a_logbased_metric_returns_ok_response_1607014407.161855\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"datadog_api_client_python_test_create_a_logbased_metric_returns_ok_response_1608595661.620162\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633003782\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632933825\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632921859\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestDeleteatagconfigurationreturnsNoContentresponse1648560475\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1637070501\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestListtagsbymetricnamereturnsSuccessresponse1648572328\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632833151\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632839523\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"java.client.test.metric\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632904020\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Python_Create_a_log_based_metric_returns_OK_response_1638987055\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1618491718\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"datadog_api_client_python_test_create_a_logbased_metric_returns_ok_response_1617014547.984513\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Java_Create_a_log_based_metric_returns_OK_response_1618407299\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632913792\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1637141184\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Typescript_Create_a_log_based_metric_returns_OK_response_1613674902.961\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632842468\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632907313\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestListtagconfigurationswithconfiguredfilterreturnsSuccessresponse1648567875\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632848436\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632848876\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632841151\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestUpdateatagconfigurationreturnsOKresponse1648572582\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestListtagsbymetricnamereturnsSuccessresponse1648572404\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632820224\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632843061\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestListtagconfigurationswithconfiguredfilterreturnsSuccessresponse1648571244\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632919560\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632899187\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633011226\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestListdistinctmetricvolumesbymetricnamereturnsSuccessresponse1648563345\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632928242\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632828986\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestListdistinctmetricvolumesbymetricnamereturnsSuccessresponse1648563421\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Typescript_Create_a_log_based_metric_returns_OK_response_1616149774.73\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestListtagconfigurationswithconfiguredfilterreturnsSuccessresponse1648568220\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632848076\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632821487\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestListtagconfigurationswithconfiguredfilterreturnsSuccessresponse1648566682\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1637063323\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1640112922\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632922194\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1618831542\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632908380\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632898971\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632989750\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633004062\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Go_Create_a_log_based_metric_returns_OK_response_1634316108\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632824835\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632839540\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1642756658\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632821189\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632919344\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632903468\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632839741\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632847587\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"datadog_api_client_python_test_create_a_logbased_metric_returns_ok_response_1617190464.536072\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"TestListtagsbymetricnamereturnsSuccessresponse1648572378\",\"max_metric_hour\":1,\"avg_metric_hour\":1},{\"metric_category\":\"custom\",\"metric_name\":\"java_metricsTests_local_1648524015\",\"max_metric_hour\":1,\"avg_metric_hour\":1}],\"metadata\":{\"pagination\":{\"next_record_id\":null,\"limit\":500,\"total_number_of_records\":null},\"day\":\"2022-03-29T00:00:00+00:00\"}}", + "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":2,\"max_metric_hour\":5,\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1618491718\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632842468\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632844127\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632986079\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Typescript_Create_a_log_based_metric_returns_OK_response_1613675381.562\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632913792\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632828986\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632848436\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632907313\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"datadog_api_client_python_test_create_a_logbased_metric_returns_ok_response_1617190464.536072\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1640112922\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632903468\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632919560\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632989750\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"static_test_metric_donotdelete\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Python_Create_a_log_based_metric_returns_OK_response_1638987055\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633011091\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1637063323\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"java.client.test.metric\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632839741\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632839523\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Go_Create_a_log_based_metric_returns_OK_response_1634316108\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633011226\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632922194\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633004062\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632851109\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1651997960\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632904020\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633006696\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632827387\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632849661\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Typescript_Create_a_log_based_metric_returns_OK_response_1616149774.73\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1637070501\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633000123\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632832883\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632833151\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632836431\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632899187\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632933825\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632849879\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632919344\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Typescript_Create_a_log_based_metric_returns_OK_response_1614896593.355\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632910728\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632820224\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"datadog_api_client_python_test_create_a_logbased_metric_returns_ok_response_1607014407.161855\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632846619\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633015432\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632821189\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632841151\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632844008\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"go.client.test.metric\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1618831542\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1642756658\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"datadog_api_client_python_test_create_a_logbased_metric_returns_ok_response_1608595661.620162\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632847587\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Example_Create_a_log_based_metric_returns_OK_response_1665705374\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632928242\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632918172\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"ruby_Create_a_log_based_metric_returns_OK_response_1617976084\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"datadog_api_client_python_test_create_a_logbased_metric_returns_ok_response_1617014547.984513\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633007533\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632843061\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632824835\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1633003782\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632908380\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1637077938\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1637141184\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632997303\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Java_Create_a_log_based_metric_returns_OK_response_1618407299\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632821487\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Typescript_Create_a_log_based_metric_returns_OK_response_1613674902.961\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"foo\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Create_a_log_based_metric_returns_OK_response_1637078452\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632909874\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1640112763\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632839540\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632826421\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632848876\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632328087\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632888511\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632974958\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Typescript_Create_a_log_based_metric_returns_OK_response_1614072176.745\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632898971\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632848076\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632817303\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632921859\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"datadog_api_client_python_test_create_a_logbased_metric_returns_ok_response_1617189622.037749\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"avg_metric_hour\":1,\"max_metric_hour\":1,\"metric_category\":\"custom\",\"metric_name\":\"Test_Typescript_Create_a_log_based_metric_returns_OK_response_1632820425\"}],\"metadata\":{\"day\":\"2025-05-09T00:00:00+00:00\",\"pagination\":{\"total_number_of_records\":null,\"limit\":500,\"next_record_id\":null}}}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:20 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:28 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-Bad-Request-response.frozen index ce171bc09..c8986f857 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:21.295Z \ No newline at end of file +2025-05-12T11:35:29.344Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-Bad-Request-response.json index d8802fa31..01b3542bb 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/logs-by-retention?start_hr=2022-03-29T00%3A41%3A21.295Z&end_hr=2022-03-27T00%3A41%3A21.295Z" + "uri": "https://api.datadoghq.com/api/v1/usage/logs-by-retention?start_hr=2025-05-09T11%3A35%3A29.344Z&end_hr=2025-05-07T11%3A35%3A29.344Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:21 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:29 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-OK-response.frozen index 5181b6ede..daf6a9780 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:21.397Z \ No newline at end of file +2025-05-12T11:35:29.535Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-OK-response.json index edf0376a9..7c1396bfd 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-logs-usage-by-retention-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/logs-by-retention?start_hr=2022-03-27T00%3A41%3A21.397Z&end_hr=2022-03-29T00%3A41%3A21.397Z" + "uri": "https://api.datadoghq.com/api/v1/usage/logs-by-retention?start_hr=2025-05-07T11%3A35%3A29.535Z&end_hr=2025-05-09T11%3A35%3A29.535Z" }, "response": { "body": { - "string": "{\"usage\":[{\"retention\":\"15\",\"indexed_events_count\":11325,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T00:00:00+00:00\",\"live_indexed_events_count\":11325},{\"retention\":\"15\",\"indexed_events_count\":11262,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T01:00:00+00:00\",\"live_indexed_events_count\":11262},{\"retention\":\"15\",\"indexed_events_count\":11230,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T02:00:00+00:00\",\"live_indexed_events_count\":11230},{\"retention\":\"15\",\"indexed_events_count\":11237,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T03:00:00+00:00\",\"live_indexed_events_count\":11237},{\"retention\":\"15\",\"indexed_events_count\":11231,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T04:00:00+00:00\",\"live_indexed_events_count\":11231},{\"retention\":\"15\",\"indexed_events_count\":11169,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T05:00:00+00:00\",\"live_indexed_events_count\":11169},{\"retention\":\"15\",\"indexed_events_count\":11225,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T06:00:00+00:00\",\"live_indexed_events_count\":11225},{\"retention\":\"15\",\"indexed_events_count\":11256,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T07:00:00+00:00\",\"live_indexed_events_count\":11256},{\"retention\":\"15\",\"indexed_events_count\":11314,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T08:00:00+00:00\",\"live_indexed_events_count\":11314},{\"retention\":\"15\",\"indexed_events_count\":11257,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T09:00:00+00:00\",\"live_indexed_events_count\":11257},{\"retention\":\"15\",\"indexed_events_count\":11221,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T10:00:00+00:00\",\"live_indexed_events_count\":11221},{\"retention\":\"15\",\"indexed_events_count\":11168,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T11:00:00+00:00\",\"live_indexed_events_count\":11168},{\"retention\":\"15\",\"indexed_events_count\":11314,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T12:00:00+00:00\",\"live_indexed_events_count\":11314},{\"retention\":\"15\",\"indexed_events_count\":11257,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T13:00:00+00:00\",\"live_indexed_events_count\":11257},{\"retention\":\"15\",\"indexed_events_count\":11265,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T14:00:00+00:00\",\"live_indexed_events_count\":11265},{\"retention\":\"15\",\"indexed_events_count\":11232,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T15:00:00+00:00\",\"live_indexed_events_count\":11232},{\"retention\":\"15\",\"indexed_events_count\":11314,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T16:00:00+00:00\",\"live_indexed_events_count\":11314},{\"retention\":\"15\",\"indexed_events_count\":11113,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T17:00:00+00:00\",\"live_indexed_events_count\":11113},{\"retention\":\"15\",\"indexed_events_count\":11285,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T18:00:00+00:00\",\"live_indexed_events_count\":11285},{\"retention\":\"15\",\"indexed_events_count\":11256,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T19:00:00+00:00\",\"live_indexed_events_count\":11256},{\"retention\":\"15\",\"indexed_events_count\":11250,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T20:00:00+00:00\",\"live_indexed_events_count\":11250},{\"retention\":\"15\",\"indexed_events_count\":11257,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T21:00:00+00:00\",\"live_indexed_events_count\":11257},{\"retention\":\"15\",\"indexed_events_count\":11285,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T22:00:00+00:00\",\"live_indexed_events_count\":11285},{\"retention\":\"15\",\"indexed_events_count\":11196,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-27T23:00:00+00:00\",\"live_indexed_events_count\":11196},{\"retention\":\"15\",\"indexed_events_count\":11325,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T00:00:00+00:00\",\"live_indexed_events_count\":11325},{\"retention\":\"15\",\"indexed_events_count\":11202,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T01:00:00+00:00\",\"live_indexed_events_count\":11202},{\"retention\":\"15\",\"indexed_events_count\":11226,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T02:00:00+00:00\",\"live_indexed_events_count\":11226},{\"retention\":\"15\",\"indexed_events_count\":11261,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T03:00:00+00:00\",\"live_indexed_events_count\":11261},{\"retention\":\"15\",\"indexed_events_count\":11319,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T04:00:00+00:00\",\"live_indexed_events_count\":11319},{\"retention\":\"15\",\"indexed_events_count\":11197,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T05:00:00+00:00\",\"live_indexed_events_count\":11197},{\"retention\":\"15\",\"indexed_events_count\":11285,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T06:00:00+00:00\",\"live_indexed_events_count\":11285},{\"retention\":\"15\",\"indexed_events_count\":11256,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T07:00:00+00:00\",\"live_indexed_events_count\":11256},{\"retention\":\"15\",\"indexed_events_count\":11254,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T08:00:00+00:00\",\"live_indexed_events_count\":11254},{\"retention\":\"15\",\"indexed_events_count\":11203,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T09:00:00+00:00\",\"live_indexed_events_count\":11203},{\"retention\":\"15\",\"indexed_events_count\":11172,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T10:00:00+00:00\",\"live_indexed_events_count\":11172},{\"retention\":\"15\",\"indexed_events_count\":11285,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T11:00:00+00:00\",\"live_indexed_events_count\":11285},{\"retention\":\"15\",\"indexed_events_count\":11290,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T12:00:00+00:00\",\"live_indexed_events_count\":11290},{\"retention\":\"15\",\"indexed_events_count\":11257,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T13:00:00+00:00\",\"live_indexed_events_count\":11257},{\"retention\":\"15\",\"indexed_events_count\":11285,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T14:00:00+00:00\",\"live_indexed_events_count\":11285},{\"retention\":\"15\",\"indexed_events_count\":11232,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T15:00:00+00:00\",\"live_indexed_events_count\":11232},{\"retention\":\"15\",\"indexed_events_count\":11266,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T16:00:00+00:00\",\"live_indexed_events_count\":11266},{\"retention\":\"15\",\"indexed_events_count\":11257,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T17:00:00+00:00\",\"live_indexed_events_count\":11257},{\"retention\":\"15\",\"indexed_events_count\":11285,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T18:00:00+00:00\",\"live_indexed_events_count\":11285},{\"retention\":\"15\",\"indexed_events_count\":11172,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T19:00:00+00:00\",\"live_indexed_events_count\":11172},{\"retention\":\"15\",\"indexed_events_count\":11294,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T20:00:00+00:00\",\"live_indexed_events_count\":11294},{\"retention\":\"15\",\"indexed_events_count\":11180,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T21:00:00+00:00\",\"live_indexed_events_count\":11180},{\"retention\":\"15\",\"indexed_events_count\":11197,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T22:00:00+00:00\",\"live_indexed_events_count\":11197},{\"retention\":\"15\",\"indexed_events_count\":11208,\"rehydrated_indexed_events_count\":0,\"hour\":\"2022-03-28T23:00:00+00:00\",\"live_indexed_events_count\":11208}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":2,\"live_indexed_events_count\":2,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":2,\"live_indexed_events_count\":2,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":2,\"live_indexed_events_count\":2,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":5,\"live_indexed_events_count\":5,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":5,\"live_indexed_events_count\":5,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":2,\"live_indexed_events_count\":2,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":14,\"live_indexed_events_count\":14,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":6,\"live_indexed_events_count\":6,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":8,\"live_indexed_events_count\":8,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":6,\"live_indexed_events_count\":6,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":2,\"live_indexed_events_count\":2,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":2,\"live_indexed_events_count\":2,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":2,\"live_indexed_events_count\":2,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":2,\"live_indexed_events_count\":2,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":2,\"live_indexed_events_count\":2,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":14,\"live_indexed_events_count\":14,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":6,\"live_indexed_events_count\":6,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":8,\"live_indexed_events_count\":8,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":null,\"retention\":\"15\",\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"retention\":\"15\",\"indexed_events_count\":2,\"live_indexed_events_count\":2,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":null,\"retention\":null,\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":null,\"retention\":null,\"indexed_events_count\":0,\"live_indexed_events_count\":0,\"rehydrated_indexed_events_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:21 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:29 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-attribution-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-attribution-returns-OK-response.frozen index a0859c879..1d255a858 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-attribution-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-attribution-returns-OK-response.frozen @@ -1 +1 @@ -2022-05-23T08:46:26.291Z \ No newline at end of file +2025-05-12T11:35:30.359Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-attribution-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-attribution-returns-OK-response.json index 6330a297a..6836c8383 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-attribution-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-attribution-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/hourly-attribution?start_hr=2022-05-20T08%3A46%3A26.291Z&usage_type=infra_host_usage" + "uri": "https://api.datadoghq.com/api/v1/usage/hourly-attribution?start_hr=2025-05-09T11%3A35%3A30.359Z&usage_type=infra_host_usage" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T08:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T00\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T09:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T00\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T10:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T00\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T11:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T00\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T12:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T04\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T13:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T04\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T14:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T04\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T15:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T04\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T16:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T07\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T17:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T07\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T18:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T07\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T19:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T07\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T20:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T10\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T21:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T10\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T22:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T10\",\"usage_type\":\"infra_host_usage\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-20T23:00:00+00:00\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"total_usage_sum\":18,\"updated_at\":\"2022-05-21T10\",\"usage_type\":\"infra_host_usage\"}],\"metadata\":{\"pagination\":{\"next_record_id\":null}}}", + "string": "{\"usage\":[{\"hour\":\"2025-05-09T11:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-10T02\",\"region\":\"us\"},{\"hour\":\"2025-05-09T11:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-10T02\",\"region\":\"us\"},{\"hour\":\"2025-05-09T12:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-10T08\",\"region\":\"us\"},{\"hour\":\"2025-05-09T13:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-10T08\",\"region\":\"us\"},{\"hour\":\"2025-05-09T13:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-10T08\",\"region\":\"us\"},{\"hour\":\"2025-05-09T14:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-10T08\",\"region\":\"us\"},{\"hour\":\"2025-05-09T14:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-10T08\",\"region\":\"us\"},{\"hour\":\"2025-05-09T15:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-10T08\",\"region\":\"us\"},{\"hour\":\"2025-05-09T15:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-10T08\",\"region\":\"us\"},{\"hour\":\"2025-05-09T16:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-11T05\",\"region\":\"us\"},{\"hour\":\"2025-05-09T16:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-11T05\",\"region\":\"us\"},{\"hour\":\"2025-05-09T17:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-11T05\",\"region\":\"us\"},{\"hour\":\"2025-05-09T17:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-11T05\",\"region\":\"us\"},{\"hour\":\"2025-05-09T18:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-11T05\",\"region\":\"us\"},{\"hour\":\"2025-05-09T18:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-11T05\",\"region\":\"us\"},{\"hour\":\"2025-05-09T19:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-11T05\",\"region\":\"us\"},{\"hour\":\"2025-05-09T19:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-11T05\",\"region\":\"us\"},{\"hour\":\"2025-05-09T20:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-11T15\",\"region\":\"us\"},{\"hour\":\"2025-05-09T20:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-11T15\",\"region\":\"us\"},{\"hour\":\"2025-05-09T21:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-11T15\",\"region\":\"us\"},{\"hour\":\"2025-05-09T21:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-11T15\",\"region\":\"us\"},{\"hour\":\"2025-05-09T22:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-11T15\",\"region\":\"us\"},{\"hour\":\"2025-05-09T23:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-11T15\",\"region\":\"us\"},{\"hour\":\"2025-05-10T00:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-11T23\",\"region\":\"us\"},{\"hour\":\"2025-05-10T00:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-11T23\",\"region\":\"us\"},{\"hour\":\"2025-05-10T01:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-11T23\",\"region\":\"us\"},{\"hour\":\"2025-05-10T01:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-11T23\",\"region\":\"us\"},{\"hour\":\"2025-05-10T02:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-11T23\",\"region\":\"us\"},{\"hour\":\"2025-05-10T02:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-11T23\",\"region\":\"us\"},{\"hour\":\"2025-05-10T03:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":2,\"updated_at\":\"2025-05-11T23\",\"region\":\"us\"},{\"hour\":\"2025-05-10T03:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":{},\"usage_type\":\"infra_host_usage\",\"total_usage_sum\":1,\"updated_at\":\"2025-05-11T23\",\"region\":\"us\"}],\"metadata\":{\"pagination\":{\"next_record_id\":null}}}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Mon, 23 May 2022 08:46:26 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:30 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-Bad-Request-response.frozen index 2383cb358..9fd39fdd1 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2023-09-25T19:13:30.824Z \ No newline at end of file +2025-05-12T11:35:34.125Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-Bad-Request-response.json index b120d9517..56eae0df3 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-Bad-Request-response.json @@ -5,11 +5,11 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/ci-app?start_hr=2023-09-22T19%3A13%3A30.824Z&end_hr=2023-09-20T19%3A13%3A30.824Z" + "uri": "https://api.datadoghq.com/api/v1/usage/ci-app?start_hr=2025-05-09T11%3A35%3A34.125Z&end_hr=2025-05-07T11%3A35%3A34.125Z" }, "response": { "body": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Mon, 25 Sep 2023 19:13:30 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:34 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-OK-response.frozen index d4e958d85..465a7b333 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-OK-response.frozen @@ -1 +1 @@ -2023-09-25T18:27:41.222Z \ No newline at end of file +2025-05-12T14:00:41.417Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-OK-response.json index 6fc70d25d..a7c561256 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CI-visibility-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/ci-app?start_hr=2023-09-20T18%3A27%3A41.222Z&end_hr=2023-09-22T18%3A27%3A41.222Z" + "uri": "https://api.datadoghq.com/api/v1/usage/ci-app?start_hr=2025-05-07T14%3A00%3A41.417Z&end_hr=2025-05-09T14%3A00%3A41.417Z" }, "response": { "body": { - "string": "{\"usage\":[{\"hour\":\"2023-09-20T18:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-20T19:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-20T20:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-20T21:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-20T22:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-20T23:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T00:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":4,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T01:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T02:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T03:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T04:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":4,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T05:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T06:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T07:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T08:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T09:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T10:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T11:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T12:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T13:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T14:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T15:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T16:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T17:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T18:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T19:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T20:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T21:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T22:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T23:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T00:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T01:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":4,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T02:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":4,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T03:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T04:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T05:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T06:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T07:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T08:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T09:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T10:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T11:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T12:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T13:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T14:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T15:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T16:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T17:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":4,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":6,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T11:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":2,\"ci_test_indexed_spans\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T12:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T13:00:00+00:00\",\"region\":\"us\",\"ci_visibility_itr_committers\":null,\"ci_visibility_pipeline_committers\":0,\"ci_visibility_test_committers\":0,\"ci_pipeline_indexed_spans\":null,\"ci_test_indexed_spans\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Mon, 25 Sep 2023 18:27:41 GMT" + "recorded_at": "Mon, 12 May 2025 14:00:41 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSM-Pro-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSM-Pro-returns-OK-response.frozen index 165fd6276..8d8f78d42 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSM-Pro-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSM-Pro-returns-OK-response.frozen @@ -1 +1 @@ -2023-09-20T21:11:12.476Z \ No newline at end of file +2025-05-12T11:35:35.472Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSM-Pro-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSM-Pro-returns-OK-response.json index dac0ca712..23dd92a50 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSM-Pro-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-CSM-Pro-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/cspm?start_hr=2023-09-17T21%3A11%3A12.476Z" + "uri": "https://api.datadoghq.com/api/v1/usage/cspm?start_hr=2025-05-09T11%3A35%3A35.472Z" }, "response": { "body": { - "string": "{\"usage\":[{\"hour\":\"2023-09-17T21:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-17T22:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-17T23:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T00:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T01:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T02:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T03:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T04:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T05:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T06:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T07:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T08:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T09:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T10:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T11:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T12:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T13:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T14:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T15:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T16:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T17:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T18:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T19:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-18T20:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", + "string": "{\"usage\":[{\"hour\":\"2025-05-09T11:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T12:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T13:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T14:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T15:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T16:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T17:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T18:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T19:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T20:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T21:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T22:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T23:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-10T00:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-10T01:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-10T02:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-10T03:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-10T04:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-10T05:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-10T06:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-10T07:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-10T08:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-10T09:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-10T10:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"container_count\":null,\"aas_host_count\":null,\"aws_host_count\":null,\"gcp_host_count\":null,\"azure_host_count\":null,\"compliance_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Wed, 20 Sep 2023 21:11:12 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:35 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Database-Monitoring-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Database-Monitoring-returns-OK-response.frozen index 23800b8db..587122c57 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Database-Monitoring-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Database-Monitoring-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T15:43:36.948Z \ No newline at end of file +2025-05-12T11:35:36.427Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Database-Monitoring-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Database-Monitoring-returns-OK-response.json index 0dbdd6e4d..7791c8814 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Database-Monitoring-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Database-Monitoring-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/dbm?start_hr=2022-03-27T15%3A43%3A36.948Z&end_hr=2022-03-29T15%3A43%3A36.948Z" + "uri": "https://api.datadoghq.com/api/v1/usage/dbm?start_hr=2025-05-07T11%3A35%3A36.427Z&end_hr=2025-05-09T11%3A35%3A36.427Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T08:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T14:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T08:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T14:00:00+00:00\"}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"dbm_host_count\":null,\"dbm_queries_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 15:43:36 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:36 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-Bad-Request-response.frozen index aa9702e65..1f61c9b9a 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:23.099Z \ No newline at end of file +2025-05-12T11:35:37.319Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-Bad-Request-response.json index ef94eaa7f..717bf7fd3 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/fargate?start_hr=2022-03-29T00%3A41%3A23.099Z&end_hr=2022-03-27T00%3A41%3A23.099Z" + "uri": "https://api.datadoghq.com/api/v1/usage/fargate?start_hr=2025-05-09T11%3A35%3A37.319Z&end_hr=2025-05-07T11%3A35%3A37.319Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:23 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:37 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-OK-response.frozen index 358d141a2..c8a7f9107 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:23.206Z \ No newline at end of file +2025-05-12T11:35:37.825Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-OK-response.json index e0c7b2aa0..ed4bd9dd3 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Fargate-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/fargate?start_hr=2022-03-27T00%3A41%3A23.206Z&end_hr=2022-03-29T00%3A41%3A23.206Z" + "uri": "https://api.datadoghq.com/api/v1/usage/fargate?start_hr=2025-05-07T11%3A35%3A37.825Z&end_hr=2025-05-09T11%3A35%3A37.825Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T00:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T01:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T02:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T03:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T04:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T05:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T06:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T07:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T08:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T09:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T10:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T11:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T12:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T13:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T14:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T15:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T16:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T17:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T18:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T19:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T20:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T21:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T22:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T23:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T00:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T01:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T02:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T03:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T04:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T05:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T06:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T07:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T08:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T09:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T10:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T11:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T12:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T13:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T14:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T15:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T16:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T17:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T18:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T19:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T20:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T21:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T22:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T23:00:00+00:00\",\"avg_tasks_count\":null,\"tasks_count\":null,\"avg_profiled_fargate_tasks\":null}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"tasks_count\":null,\"apm_fargate_count\":null,\"appsec_fargate_count\":null,\"avg_profiled_fargate_tasks\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:23 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:37 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-Bad-Request-response.frozen index fb2b5acca..cf4ac9896 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:27.865Z \ No newline at end of file +2025-05-12T11:35:38.816Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-Bad-Request-response.json index 263c3745d..a3a0f2df7 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/iot?start_hr=2022-01-28T09%3A34%3A27.865Z&end_hr=2022-01-26T09%3A34%3A27.865Z" + "uri": "https://api.datadoghq.com/api/v1/usage/iot?start_hr=2025-05-09T11%3A35%3A38.816Z&end_hr=2025-05-07T11%3A35%3A38.816Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:27 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:38 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-OK-response.frozen index 9ee4e3237..92c82ae97 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-OK-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:28.357Z \ No newline at end of file +2025-05-12T11:35:39.286Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-OK-response.json index 92657d7df..40d57707d 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-IoT-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/iot?start_hr=2022-01-26T09%3A34%3A28.357Z&end_hr=2022-01-28T09%3A34%3A28.357Z" + "uri": "https://api.datadoghq.com/api/v1/usage/iot?start_hr=2025-05-07T11%3A35%3A39.286Z&end_hr=2025-05-09T11%3A35%3A39.286Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T14:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T08:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T14:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"iot_device_count\":0,\"iot_device_tag\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T08:00:00+00:00\"}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"iot_device_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:28 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:39 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-Bad-Request-response.frozen index 32245c45a..0f18901a8 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:23.917Z \ No newline at end of file +2025-05-12T14:01:50.686Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-Bad-Request-response.json index 4ae8bf6d1..c608ef75e 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/aws_lambda?start_hr=2022-03-29T00%3A41%3A23.917Z&end_hr=2022-03-27T00%3A41%3A23.917Z" + "uri": "https://api.datadoghq.com/api/v1/usage/aws_lambda?start_hr=2025-05-09T14%3A01%3A50.686Z&end_hr=2025-05-07T14%3A01%3A50.686Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:23 GMT" + "recorded_at": "Mon, 12 May 2025 14:01:50 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-OK-response.frozen index 01d4582f5..b2b5493dd 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:24.021Z \ No newline at end of file +2025-05-12T11:35:40.521Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-OK-response.json index 9f0ae22b8..dabe32b32 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Lambda-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/aws_lambda?start_hr=2022-03-27T00%3A41%3A24.021Z&end_hr=2022-03-29T00%3A41%3A24.021Z" + "uri": "https://api.datadoghq.com/api/v1/usage/aws_lambda?start_hr=2025-05-07T11%3A35%3A40.521Z&end_hr=2025-05-09T11%3A35%3A40.521Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T00:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T01:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T02:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T03:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T04:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T05:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T06:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T07:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T08:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T09:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T10:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T11:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T12:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T13:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T14:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T15:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T16:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T17:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T18:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T19:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T20:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T21:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T22:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T23:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T00:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T01:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T02:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T03:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T04:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T05:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T06:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T07:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T08:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T09:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T10:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T11:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T12:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T13:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T14:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T15:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T16:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T17:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T18:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T19:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T20:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T21:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T22:00:00+00:00\",\"invocations_sum\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"func_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T23:00:00+00:00\",\"invocations_sum\":0}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"func_count\":null,\"invocations_sum\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:24 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:40 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-Bad-Request-response.frozen index a60db953b..faa2fce7c 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-01T17:01:53.545Z \ No newline at end of file +2025-05-12T11:35:41.404Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-Bad-Request-response.json index d867ad6f2..51a47dc90 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/logs_by_index?start_hr=2022-03-29T17%3A01%3A53.545Z&end_hr=2022-03-27T17%3A01%3A53.545Z" + "uri": "https://api.datadoghq.com/api/v1/usage/logs_by_index?start_hr=2025-05-09T11%3A35%3A41.404Z&end_hr=2025-05-07T11%3A35%3A41.404Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Fri, 01 Apr 2022 17:01:53 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:41 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-OK-response.frozen index bb16e334d..3b89c6d4f 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T15:43:39.457Z \ No newline at end of file +2025-05-12T11:35:41.762Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-OK-response.json index a23f924d2..dcec57a56 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-by-Index-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/logs_by_index?start_hr=2022-03-27T15%3A43%3A39.457Z&end_hr=2022-03-29T15%3A43%3A39.457Z" + "uri": "https://api.datadoghq.com/api/v1/usage/logs_by_index?start_hr=2025-05-07T11%3A35%3A41.762Z&end_hr=2025-05-09T11%3A35%3A41.762Z" }, "response": { "body": { - "string": "{\"usage\":[{\"rehydrated_indexed\":0,\"hour\":\"2022-03-27T15:00:00+00:00\",\"event_count\":11232,\"org_id\":321813,\"live_index_indexed\":11232,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-27T16:00:00+00:00\",\"event_count\":11314,\"org_id\":321813,\"live_index_indexed\":11314,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-27T17:00:00+00:00\",\"event_count\":11113,\"org_id\":321813,\"live_index_indexed\":11113,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-27T18:00:00+00:00\",\"event_count\":11285,\"org_id\":321813,\"live_index_indexed\":11285,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-27T19:00:00+00:00\",\"event_count\":11256,\"org_id\":321813,\"live_index_indexed\":11256,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-27T20:00:00+00:00\",\"event_count\":11250,\"org_id\":321813,\"live_index_indexed\":11250,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-27T21:00:00+00:00\",\"event_count\":11257,\"org_id\":321813,\"live_index_indexed\":11257,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-27T22:00:00+00:00\",\"event_count\":11285,\"org_id\":321813,\"live_index_indexed\":11285,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-27T23:00:00+00:00\",\"event_count\":11196,\"org_id\":321813,\"live_index_indexed\":11196,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T00:00:00+00:00\",\"event_count\":11325,\"org_id\":321813,\"live_index_indexed\":11325,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T01:00:00+00:00\",\"event_count\":11202,\"org_id\":321813,\"live_index_indexed\":11202,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T02:00:00+00:00\",\"event_count\":11226,\"org_id\":321813,\"live_index_indexed\":11226,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T03:00:00+00:00\",\"event_count\":11261,\"org_id\":321813,\"live_index_indexed\":11261,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T04:00:00+00:00\",\"event_count\":11319,\"org_id\":321813,\"live_index_indexed\":11319,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T05:00:00+00:00\",\"event_count\":11197,\"org_id\":321813,\"live_index_indexed\":11197,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T06:00:00+00:00\",\"event_count\":11285,\"org_id\":321813,\"live_index_indexed\":11285,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T07:00:00+00:00\",\"event_count\":11256,\"org_id\":321813,\"live_index_indexed\":11256,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T08:00:00+00:00\",\"event_count\":11254,\"org_id\":321813,\"live_index_indexed\":11254,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T09:00:00+00:00\",\"event_count\":11203,\"org_id\":321813,\"live_index_indexed\":11203,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T10:00:00+00:00\",\"event_count\":11172,\"org_id\":321813,\"live_index_indexed\":11172,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T11:00:00+00:00\",\"event_count\":11285,\"org_id\":321813,\"live_index_indexed\":11285,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T12:00:00+00:00\",\"event_count\":11290,\"org_id\":321813,\"live_index_indexed\":11290,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T13:00:00+00:00\",\"event_count\":11257,\"org_id\":321813,\"live_index_indexed\":11257,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T14:00:00+00:00\",\"event_count\":11285,\"org_id\":321813,\"live_index_indexed\":11285,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T15:00:00+00:00\",\"event_count\":11232,\"org_id\":321813,\"live_index_indexed\":11232,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T16:00:00+00:00\",\"event_count\":11266,\"org_id\":321813,\"live_index_indexed\":11266,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T17:00:00+00:00\",\"event_count\":11257,\"org_id\":321813,\"live_index_indexed\":11257,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T18:00:00+00:00\",\"event_count\":11285,\"org_id\":321813,\"live_index_indexed\":11285,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T19:00:00+00:00\",\"event_count\":11172,\"org_id\":321813,\"live_index_indexed\":11172,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T20:00:00+00:00\",\"event_count\":11294,\"org_id\":321813,\"live_index_indexed\":11294,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T21:00:00+00:00\",\"event_count\":11180,\"org_id\":321813,\"live_index_indexed\":11180,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T22:00:00+00:00\",\"event_count\":11197,\"org_id\":321813,\"live_index_indexed\":11197,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-28T23:00:00+00:00\",\"event_count\":11208,\"org_id\":321813,\"live_index_indexed\":11208,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T00:00:00+00:00\",\"event_count\":11305,\"org_id\":321813,\"live_index_indexed\":11305,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T01:00:00+00:00\",\"event_count\":11262,\"org_id\":321813,\"live_index_indexed\":11262,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T02:00:00+00:00\",\"event_count\":11170,\"org_id\":321813,\"live_index_indexed\":11170,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T03:00:00+00:00\",\"event_count\":11113,\"org_id\":321813,\"live_index_indexed\":11113,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T04:00:00+00:00\",\"event_count\":11290,\"org_id\":321813,\"live_index_indexed\":11290,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T05:00:00+00:00\",\"event_count\":11286,\"org_id\":321813,\"live_index_indexed\":11286,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T06:00:00+00:00\",\"event_count\":11285,\"org_id\":321813,\"live_index_indexed\":11285,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T07:00:00+00:00\",\"event_count\":11256,\"org_id\":321813,\"live_index_indexed\":11256,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T08:00:00+00:00\",\"event_count\":11254,\"org_id\":321813,\"live_index_indexed\":11254,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T09:00:00+00:00\",\"event_count\":11193,\"org_id\":321813,\"live_index_indexed\":11193,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T10:00:00+00:00\",\"event_count\":11236,\"org_id\":321813,\"live_index_indexed\":11236,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T11:00:00+00:00\",\"event_count\":11261,\"org_id\":321813,\"live_index_indexed\":11261,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T12:00:00+00:00\",\"event_count\":11314,\"org_id\":321813,\"live_index_indexed\":11314,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T13:00:00+00:00\",\"event_count\":11233,\"org_id\":321813,\"live_index_indexed\":11233,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15},{\"rehydrated_indexed\":0,\"hour\":\"2022-03-29T14:00:00+00:00\",\"event_count\":11225,\"org_id\":321813,\"live_index_indexed\":11225,\"index_name\":\"main\",\"rate_limited\":false,\"filtered\":false,\"index_id\":\"33715\",\"retention\":15}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":2,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":2,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":2,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":2,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":2,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":2,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":5,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":5,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":5,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":5,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":2,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":2,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":14,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":14,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":6,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":6,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":8,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":8,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":6,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":6,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":2,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":2,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":2,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":2,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":2,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":2,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":2,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":2,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":2,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":2,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":14,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":14,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":6,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":6,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":8,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":8,\"rehydrated_indexed\":0,\"region\":\"us\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"index_id\":\"33715\",\"event_count\":2,\"retention\":15,\"index_name\":\"main\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"rate_limited\":false,\"filtered\":false,\"live_index_indexed\":2,\"rehydrated_indexed\":0,\"region\":\"us\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 15:43:39 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:41 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-Bad-Request-response.frozen index 2181d1c75..57f7ba716 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-01T15:43:39.812Z \ No newline at end of file +2025-05-12T11:35:42.528Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-Bad-Request-response.json index 7705fee4a..52f5b5575 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/logs?start_hr=2022-03-29T15%3A43%3A39.812Z&end_hr=2022-03-27T15%3A43%3A39.812Z" + "uri": "https://api.datadoghq.com/api/v1/usage/logs?start_hr=2025-05-09T11%3A35%3A42.528Z&end_hr=2025-05-07T11%3A35%3A42.528Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Fri, 01 Apr 2022 15:43:39 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:42 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-OK-response.frozen index 35adbcdf7..3450df543 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T15:43:39.992Z \ No newline at end of file +2025-05-12T11:35:42.895Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-OK-response.json index 210fd36e3..1db0526fa 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Logs-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/logs?start_hr=2022-03-27T15%3A43%3A39.992Z&end_hr=2022-03-29T15%3A43%3A39.992Z" + "uri": "https://api.datadoghq.com/api/v1/usage/logs?start_hr=2025-05-07T11%3A35%3A42.895Z&end_hr=2025-05-09T11%3A35%3A42.895Z" }, "response": { "body": { - "string": "{\"usage\":[{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-27T15:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11232,\"logs_live_indexed_count\":11232},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-27T16:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11314,\"logs_live_indexed_count\":11314},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-27T17:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11113,\"logs_live_indexed_count\":11113},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-27T18:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11285,\"logs_live_indexed_count\":11285},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-27T19:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11256,\"logs_live_indexed_count\":11256},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-27T20:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11250,\"logs_live_indexed_count\":11250},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-27T21:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11257,\"logs_live_indexed_count\":11257},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-27T22:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11285,\"logs_live_indexed_count\":11285},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-27T23:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11196,\"logs_live_indexed_count\":11196},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T00:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11325,\"logs_live_indexed_count\":11325},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T01:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11202,\"logs_live_indexed_count\":11202},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T02:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11226,\"logs_live_indexed_count\":11226},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T03:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11261,\"logs_live_indexed_count\":11261},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T04:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11319,\"logs_live_indexed_count\":11319},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T05:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11197,\"logs_live_indexed_count\":11197},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T06:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11285,\"logs_live_indexed_count\":11285},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T07:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11256,\"logs_live_indexed_count\":11256},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T08:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11254,\"logs_live_indexed_count\":11254},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T09:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11203,\"logs_live_indexed_count\":11203},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T10:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11172,\"logs_live_indexed_count\":11172},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T11:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11285,\"logs_live_indexed_count\":11285},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T12:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11290,\"logs_live_indexed_count\":11290},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T13:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11257,\"logs_live_indexed_count\":11257},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T14:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11285,\"logs_live_indexed_count\":11285},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T15:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11232,\"logs_live_indexed_count\":11232},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T16:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11266,\"logs_live_indexed_count\":11266},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T17:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11257,\"logs_live_indexed_count\":11257},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T18:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11285,\"logs_live_indexed_count\":11285},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T19:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11172,\"logs_live_indexed_count\":11172},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T20:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11294,\"logs_live_indexed_count\":11294},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T21:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11180,\"logs_live_indexed_count\":11180},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T22:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11197,\"logs_live_indexed_count\":11197},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-28T23:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11208,\"logs_live_indexed_count\":11208},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T00:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11305,\"logs_live_indexed_count\":11305},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T01:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11262,\"logs_live_indexed_count\":11262},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T02:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11170,\"logs_live_indexed_count\":11170},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T03:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11113,\"logs_live_indexed_count\":11113},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T04:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11290,\"logs_live_indexed_count\":11290},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T05:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11286,\"logs_live_indexed_count\":11286},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T06:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11285,\"logs_live_indexed_count\":11285},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T07:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11256,\"logs_live_indexed_count\":11256},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T08:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11254,\"logs_live_indexed_count\":11254},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T09:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11193,\"logs_live_indexed_count\":11193},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T10:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11236,\"logs_live_indexed_count\":11236},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T11:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11261,\"logs_live_indexed_count\":11261},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T12:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11314,\"logs_live_indexed_count\":11314},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T13:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11233,\"logs_live_indexed_count\":11233},{\"logs_live_ingested_bytes\":0,\"ingested_events_bytes\":0,\"hour\":\"2022-03-29T14:00:00+00:00\",\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"billable_ingested_bytes\":0,\"indexed_events_count\":11225,\"logs_live_indexed_count\":11225}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":2,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":2,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":2,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":2,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":2,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":2,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":5,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":5,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":5,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":5,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":2,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":2,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":14,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":14,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":6,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":6,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":8,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":8,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":6,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":6,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":2,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":2,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":2,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":2,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":2,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":2,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":2,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":2,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":2,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":2,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":14,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":14,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":6,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":6,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":8,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":8,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":2,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":2,\"logs_live_ingested_bytes\":0,\"logs_rehydrated_indexed_count\":0,\"logs_rehydrated_ingested_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":0,\"ingested_events_bytes\":0,\"billable_ingested_bytes\":0,\"logs_forwarding_events_bytes\":null,\"logs_live_indexed_count\":null,\"logs_live_ingested_bytes\":null,\"logs_rehydrated_indexed_count\":null,\"logs_rehydrated_ingested_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 15:43:39 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:42 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-Bad-Request-response.frozen index 8db5a043e..6f2fd911a 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-01T15:43:40.233Z \ No newline at end of file +2025-05-12T11:35:43.891Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-Bad-Request-response.json index 0c9488d08..94c129c4b 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/network_flows?start_hr=2022-03-29T15%3A43%3A40.233Z&end_hr=2022-03-27T15%3A43%3A40.233Z" + "uri": "https://api.datadoghq.com/api/v1/usage/network_flows?start_hr=2025-05-09T11%3A35%3A43.891Z&end_hr=2025-05-07T11%3A35%3A43.891Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Fri, 01 Apr 2022 15:43:40 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:43 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-OK-response.frozen index 143eddfd8..1add75cb9 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T15:43:40.429Z \ No newline at end of file +2025-05-12T11:35:44.247Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-OK-response.json index b64115699..c578228f3 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Flows-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/network_flows?start_hr=2022-03-27T15%3A43%3A40.429Z&end_hr=2022-03-29T15%3A43%3A40.429Z" + "uri": "https://api.datadoghq.com/api/v1/usage/network_flows?start_hr=2025-05-07T11%3A35%3A44.247Z&end_hr=2025-05-09T11%3A35%3A44.247Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-27T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-27T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-27T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-27T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-27T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-27T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-27T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-27T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-27T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T08:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T14:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-28T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T08:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-03-29T14:00:00+00:00\"}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 15:43:40 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:44 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-Bad-Request-response.frozen index e8eb372ac..f66c60d69 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-01T17:01:55.545Z \ No newline at end of file +2025-05-12T11:35:45.254Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-Bad-Request-response.json index 10d794fe9..1bcea6d4e 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/network_hosts?start_hr=2022-03-29T17%3A01%3A55.545Z&end_hr=2022-03-27T17%3A01%3A55.545Z" + "uri": "https://api.datadoghq.com/api/v1/usage/network_hosts?start_hr=2025-05-09T11%3A35%3A45.254Z&end_hr=2025-05-07T11%3A35%3A45.254Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Fri, 01 Apr 2022 17:01:55 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:45 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-OK-response.frozen index 906494e28..fdc4771bf 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T15:43:40.923Z \ No newline at end of file +2025-05-12T11:35:45.619Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-OK-response.json index fe06a5a8c..cad28fb13 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Network-Hosts-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/network_hosts?start_hr=2022-03-27T15%3A43%3A40.923Z&end_hr=2022-03-29T15%3A43%3A40.923Z" + "uri": "https://api.datadoghq.com/api/v1/usage/network_hosts?start_hr=2025-05-07T11%3A35%3A45.619Z&end_hr=2025-05-09T11%3A35%3A45.619Z" }, "response": { "body": { - "string": "{\"usage\":[{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T15:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T16:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T17:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T18:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T19:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T20:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T21:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T22:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T23:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T00:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T01:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T02:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T03:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T04:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T05:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T06:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T07:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T08:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T09:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T10:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T11:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T12:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T13:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T14:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T15:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T16:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T17:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T18:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T19:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T20:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T21:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T22:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T23:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T00:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T01:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T02:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T03:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T04:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T05:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T06:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T07:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T08:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T09:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T10:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T11:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T12:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T13:00:00+00:00\"},{\"host_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T14:00:00+00:00\"}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 15:43:40 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:45 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.frozen index 7d0fbd7b3..37b3d24db 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-03-08T15:58:31.986Z \ No newline at end of file +2025-05-12T11:35:46.524Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.json index 9d3b392f8..0283e636a 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/online-archive?start_hr=2022-03-05T15%3A58%3A31.986Z&end_hr=2022-03-03T15%3A58%3A31.986Z" + "uri": "https://api.datadoghq.com/api/v1/usage/online-archive?start_hr=2025-05-09T11%3A35%3A46.524Z&end_hr=2025-05-07T11%3A35%3A46.524Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Tue, 08 Mar 2022 15:58:31 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:46 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.frozen index c2b0dd7d1..a9c7428ce 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.frozen @@ -1 +1 @@ -2022-03-08T15:58:32.586Z \ No newline at end of file +2025-05-12T11:35:46.888Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.json index 07c848111..994ca8f80 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/online-archive?start_hr=2022-03-03T15%3A58%3A32.586Z&end_hr=2022-03-05T15%3A58%3A32.586Z" + "uri": "https://api.datadoghq.com/api/v1/usage/online-archive?start_hr=2025-05-07T11%3A35%3A46.888Z&end_hr=2025-05-09T11%3A35%3A46.888Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-03T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-03T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-03T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-03T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-03T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-03T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-03T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-03T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-03T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T08:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T14:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-04T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T08:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"online_archive_events_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-05T14:00:00+00:00\"}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"online_archive_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Tue, 08 Mar 2022 15:58:32 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:46 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-Bad-Request-response.frozen index b982f9f96..4b3c1d2e7 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:26.836Z \ No newline at end of file +2025-05-12T11:35:47.745Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-Bad-Request-response.json index 30b0cbfaa..dbee70716 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/rum_sessions?start_hr=2022-03-29T00%3A41%3A26.836Z&end_hr=2022-03-27T00%3A41%3A26.836Z" + "uri": "https://api.datadoghq.com/api/v1/usage/rum_sessions?start_hr=2025-05-09T11%3A35%3A47.745Z&end_hr=2025-05-07T11%3A35%3A47.745Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:26 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:47 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-OK-response.frozen index cd0cd7e96..add1b4ac8 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:26.958Z \ No newline at end of file +2025-05-12T11:35:48.099Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-OK-response.json index ab89d25e0..e80922e7f 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Sessions-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/rum_sessions?start_hr=2022-03-27T00%3A41%3A26.958Z&end_hr=2022-03-29T00%3A41%3A26.958Z" + "uri": "https://api.datadoghq.com/api/v1/usage/rum_sessions?start_hr=2025-05-07T11%3A35%3A48.099Z&end_hr=2025-05-09T11%3A35%3A48.099Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T00:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T01:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T02:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T03:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T04:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T05:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T06:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T07:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T08:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T09:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T10:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T11:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T12:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T13:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T14:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T15:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T16:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T17:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T18:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T19:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T20:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T21:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T22:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T23:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T00:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T01:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T02:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T03:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T04:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T05:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T06:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T07:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T08:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T09:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T10:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T11:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T12:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T13:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T14:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T15:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T16:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T17:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T18:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T19:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T20:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T21:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T22:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T23:00:00+00:00\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"session_count\":null,\"replay_session_count\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:26 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:48 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Units-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Units-returns-OK-response.frozen index afe024a89..535d8283a 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Units-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Units-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:27.572Z \ No newline at end of file +2025-05-12T11:35:48.976Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Units-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Units-returns-OK-response.json index 2718ad027..b39d2ac21 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Units-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-RUM-Units-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/rum?start_hr=2022-03-27T00%3A41%3A27.572Z&end_hr=2022-03-29T00%3A41%3A27.572Z" + "uri": "https://api.datadoghq.com/api/v1/usage/rum?start_hr=2025-05-07T11%3A35%3A48.976Z&end_hr=2025-05-09T11%3A35%3A48.976Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T00:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T01:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T02:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T03:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T04:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T05:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T06:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T07:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T08:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T09:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T10:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T11:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T12:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T13:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T14:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T15:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T16:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T17:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T18:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T19:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T20:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T21:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T22:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-27T23:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T00:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T01:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T02:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T03:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T04:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T05:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T06:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T07:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T08:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T09:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T10:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T11:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T12:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T13:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T14:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T15:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T16:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T17:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T18:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T19:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T20:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T21:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T22:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_rum_units\":null,\"hour\":\"2022-03-28T23:00:00+00:00\",\"rum_units\":0,\"mobile_rum_units\":null,\"public_id\":\"fasjyydbcgwwc2uc\"}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"rum_units\":0,\"browser_rum_units\":null,\"mobile_rum_units\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:27 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:48 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-Bad-Request-response.frozen index 86865f104..821b1ff78 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:29.203Z \ No newline at end of file +2025-05-12T11:35:49.801Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-Bad-Request-response.json index ec9039c08..96cf76511 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/snmp?start_hr=2022-01-28T09%3A34%3A29.203Z&end_hr=2022-01-26T09%3A34%3A29.203Z" + "uri": "https://api.datadoghq.com/api/v1/usage/snmp?start_hr=2025-05-09T11%3A35%3A49.801Z&end_hr=2025-05-07T11%3A35%3A49.801Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:29 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:49 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-OK-response.frozen index f6b84beca..8f70de246 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-OK-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:29.627Z \ No newline at end of file +2025-05-12T11:35:50.158Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-OK-response.json index f44e3d1bd..1827f8c72 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-SNMP-devices-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/snmp?start_hr=2022-01-26T09%3A34%3A29.627Z&end_hr=2022-01-28T09%3A34%3A29.627Z" + "uri": "https://api.datadoghq.com/api/v1/usage/snmp?start_hr=2025-05-07T11%3A35%3A50.158Z&end_hr=2025-05-09T11%3A35%3A50.158Z" }, "response": { "body": { - "string": "{\"usage\":[{\"snmp_devices\":0,\"hour\":\"2022-01-26T09:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T10:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T11:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T12:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T13:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T14:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T15:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T16:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T17:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T18:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T19:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T20:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T21:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T22:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-26T23:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T00:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T01:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T02:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T03:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T04:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T05:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T06:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T07:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T08:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T09:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T10:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T11:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T12:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T13:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T14:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T15:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T16:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T17:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T18:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T19:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T20:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T21:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T22:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-27T23:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-28T00:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-28T01:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-28T02:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-28T03:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-28T04:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-28T05:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-28T06:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-28T07:00:00+00:00\"},{\"snmp_devices\":0,\"hour\":\"2022-01-28T08:00:00+00:00\"}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"snmp_devices\":null},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"snmp_devices\":null}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:29 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:50 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Sensitive-Data-Scanner-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Sensitive-Data-Scanner-returns-OK-response.frozen index 7456ca5fd..73517be16 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Sensitive-Data-Scanner-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Sensitive-Data-Scanner-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:27.888Z \ No newline at end of file +2025-05-12T11:35:51.009Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Sensitive-Data-Scanner-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Sensitive-Data-Scanner-returns-OK-response.json index 3808f6cd0..7e7251c05 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Sensitive-Data-Scanner-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Sensitive-Data-Scanner-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/sds?start_hr=2022-03-27T00%3A41%3A27.888Z&end_hr=2022-03-29T00%3A41%3A27.888Z" + "uri": "https://api.datadoghq.com/api/v1/usage/sds?start_hr=2025-05-07T11%3A35%3A51.009Z&end_hr=2025-05-09T11%3A35%3A51.009Z" }, "response": { "body": { - "string": "{\"usage\":[{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T00:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T01:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T02:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T03:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T04:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T05:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T06:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T07:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T08:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T09:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T10:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T11:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T12:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T13:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T14:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T15:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T16:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T17:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T18:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T19:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T20:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T21:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T22:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T23:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T00:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T01:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T02:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T03:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T04:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T05:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T06:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T07:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T08:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T09:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T10:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T11:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T12:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T13:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T14:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T15:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T16:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T17:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T18:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T19:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T20:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T21:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T22:00:00+00:00\",\"logs_scanned_bytes\":0},{\"total_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T23:00:00+00:00\",\"logs_scanned_bytes\":0}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":405,\"total_scanned_bytes\":405,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":404,\"total_scanned_bytes\":404,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":384,\"total_scanned_bytes\":384,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":959,\"total_scanned_bytes\":959,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":981,\"total_scanned_bytes\":981,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":404,\"total_scanned_bytes\":404,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":3018,\"total_scanned_bytes\":3018,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":1171,\"total_scanned_bytes\":1171,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":1611,\"total_scanned_bytes\":1611,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":1171,\"total_scanned_bytes\":1171,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":404,\"total_scanned_bytes\":404,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":405,\"total_scanned_bytes\":405,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":404,\"total_scanned_bytes\":404,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":404,\"total_scanned_bytes\":404,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":404,\"total_scanned_bytes\":404,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":3018,\"total_scanned_bytes\":3018,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":1171,\"total_scanned_bytes\":1171,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":1611,\"total_scanned_bytes\":1611,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":404,\"total_scanned_bytes\":404,\"apm_scanned_bytes\":0,\"rum_scanned_bytes\":0,\"events_scanned_bytes\":0,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"logs_scanned_bytes\":null,\"total_scanned_bytes\":null,\"apm_scanned_bytes\":null,\"rum_scanned_bytes\":null,\"events_scanned_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:27 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:51 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-Bad-Request-response.frozen index f29030d98..359349279 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-01T15:43:44.039Z \ No newline at end of file +2025-05-12T11:35:51.877Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-Bad-Request-response.json index 153e82dfb..77eddb2da 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/synthetics_api?start_hr=2022-03-29T15%3A43%3A44.039Z&end_hr=2022-03-27T15%3A43%3A44.039Z" + "uri": "https://api.datadoghq.com/api/v1/usage/synthetics_api?start_hr=2025-05-09T11%3A35%3A51.877Z&end_hr=2025-05-07T11%3A35%3A51.877Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Fri, 01 Apr 2022 15:43:44 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:51 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-OK-response.frozen index 1d061da94..a2919293d 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T15:43:44.274Z \ No newline at end of file +2025-05-12T11:35:52.237Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-OK-response.json index c8714eb8a..1be9cbb1a 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-API-Checks-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/synthetics_api?start_hr=2022-03-27T15%3A43%3A44.274Z&end_hr=2022-03-29T15%3A43%3A44.274Z" + "uri": "https://api.datadoghq.com/api/v1/usage/synthetics_api?start_hr=2025-05-07T11%3A35%3A52.237Z&end_hr=2025-05-09T11%3A35%3A52.237Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T15:00:00+00:00\",\"check_calls_count\":1171},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T16:00:00+00:00\",\"check_calls_count\":1172},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T17:00:00+00:00\",\"check_calls_count\":1182},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T18:00:00+00:00\",\"check_calls_count\":1171},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T19:00:00+00:00\",\"check_calls_count\":1150},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T20:00:00+00:00\",\"check_calls_count\":1155},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T21:00:00+00:00\",\"check_calls_count\":1182},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T22:00:00+00:00\",\"check_calls_count\":1173},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T23:00:00+00:00\",\"check_calls_count\":1161},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T00:00:00+00:00\",\"check_calls_count\":1189},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T01:00:00+00:00\",\"check_calls_count\":1200},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T02:00:00+00:00\",\"check_calls_count\":1183},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T03:00:00+00:00\",\"check_calls_count\":1175},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T04:00:00+00:00\",\"check_calls_count\":1185},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T05:00:00+00:00\",\"check_calls_count\":1177},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T06:00:00+00:00\",\"check_calls_count\":1178},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T07:00:00+00:00\",\"check_calls_count\":1169},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T08:00:00+00:00\",\"check_calls_count\":1151},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T09:00:00+00:00\",\"check_calls_count\":1178},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T10:00:00+00:00\",\"check_calls_count\":1170},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T11:00:00+00:00\",\"check_calls_count\":1138},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T12:00:00+00:00\",\"check_calls_count\":1169},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T13:00:00+00:00\",\"check_calls_count\":1161},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T14:00:00+00:00\",\"check_calls_count\":1165},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T15:00:00+00:00\",\"check_calls_count\":1155},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T16:00:00+00:00\",\"check_calls_count\":1157},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T17:00:00+00:00\",\"check_calls_count\":1173},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T18:00:00+00:00\",\"check_calls_count\":567},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T19:00:00+00:00\",\"check_calls_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T20:00:00+00:00\",\"check_calls_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T21:00:00+00:00\",\"check_calls_count\":49},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T22:00:00+00:00\",\"check_calls_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T23:00:00+00:00\",\"check_calls_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T00:00:00+00:00\",\"check_calls_count\":21},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T01:00:00+00:00\",\"check_calls_count\":29},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T02:00:00+00:00\",\"check_calls_count\":15},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T03:00:00+00:00\",\"check_calls_count\":17},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T04:00:00+00:00\",\"check_calls_count\":13},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T05:00:00+00:00\",\"check_calls_count\":12},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T06:00:00+00:00\",\"check_calls_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T07:00:00+00:00\",\"check_calls_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T08:00:00+00:00\",\"check_calls_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T09:00:00+00:00\",\"check_calls_count\":13},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T10:00:00+00:00\",\"check_calls_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T11:00:00+00:00\",\"check_calls_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":8,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T12:00:00+00:00\",\"check_calls_count\":7},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T13:00:00+00:00\",\"check_calls_count\":17},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-29T14:00:00+00:00\",\"check_calls_count\":0}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 15:43:44 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:52 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-Bad-Request-response.frozen index 523dac4bc..f55fef661 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:28.391Z \ No newline at end of file +2025-05-12T11:35:53.111Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-Bad-Request-response.json index 759ea5207..85d4b91d4 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/synthetics_browser?start_hr=2022-03-29T00%3A41%3A28.391Z&end_hr=2022-03-27T00%3A41%3A28.391Z" + "uri": "https://api.datadoghq.com/api/v1/usage/synthetics_browser?start_hr=2025-05-09T11%3A35%3A53.111Z&end_hr=2025-05-07T11%3A35%3A53.111Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:28 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:53 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-OK-response.frozen index 3211cc686..284cc843c 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:28.503Z \ No newline at end of file +2025-05-12T11:35:53.478Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-OK-response.json index 198e40a99..4efb0a822 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-Synthetics-Browser-Checks-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/synthetics_browser?start_hr=2022-03-27T00%3A41%3A28.503Z&end_hr=2022-03-29T00%3A41%3A28.503Z" + "uri": "https://api.datadoghq.com/api/v1/usage/synthetics_browser?start_hr=2025-05-07T11%3A35%3A53.478Z&end_hr=2025-05-09T11%3A35%3A53.478Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T00:00:00+00:00\",\"check_calls_count\":1181},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T01:00:00+00:00\",\"check_calls_count\":1190},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T02:00:00+00:00\",\"check_calls_count\":1180},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T03:00:00+00:00\",\"check_calls_count\":1197},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T04:00:00+00:00\",\"check_calls_count\":1178},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T05:00:00+00:00\",\"check_calls_count\":1180},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T06:00:00+00:00\",\"check_calls_count\":1174},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T07:00:00+00:00\",\"check_calls_count\":1163},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T08:00:00+00:00\",\"check_calls_count\":1167},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T09:00:00+00:00\",\"check_calls_count\":1182},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T10:00:00+00:00\",\"check_calls_count\":1195},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T11:00:00+00:00\",\"check_calls_count\":1178},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T12:00:00+00:00\",\"check_calls_count\":1170},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T13:00:00+00:00\",\"check_calls_count\":1192},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T14:00:00+00:00\",\"check_calls_count\":1170},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T15:00:00+00:00\",\"check_calls_count\":1171},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T16:00:00+00:00\",\"check_calls_count\":1172},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T17:00:00+00:00\",\"check_calls_count\":1182},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T18:00:00+00:00\",\"check_calls_count\":1171},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T19:00:00+00:00\",\"check_calls_count\":1150},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T20:00:00+00:00\",\"check_calls_count\":1155},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T21:00:00+00:00\",\"check_calls_count\":1182},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T22:00:00+00:00\",\"check_calls_count\":1173},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T23:00:00+00:00\",\"check_calls_count\":1161},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T00:00:00+00:00\",\"check_calls_count\":1189},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T01:00:00+00:00\",\"check_calls_count\":1200},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T02:00:00+00:00\",\"check_calls_count\":1183},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T03:00:00+00:00\",\"check_calls_count\":1175},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T04:00:00+00:00\",\"check_calls_count\":1185},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T05:00:00+00:00\",\"check_calls_count\":1177},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T06:00:00+00:00\",\"check_calls_count\":1178},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T07:00:00+00:00\",\"check_calls_count\":1169},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T08:00:00+00:00\",\"check_calls_count\":1151},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T09:00:00+00:00\",\"check_calls_count\":1178},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T10:00:00+00:00\",\"check_calls_count\":1170},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T11:00:00+00:00\",\"check_calls_count\":1138},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T12:00:00+00:00\",\"check_calls_count\":1169},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T13:00:00+00:00\",\"check_calls_count\":1161},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T14:00:00+00:00\",\"check_calls_count\":1165},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T15:00:00+00:00\",\"check_calls_count\":1155},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T16:00:00+00:00\",\"check_calls_count\":1157},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T17:00:00+00:00\",\"check_calls_count\":1173},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T18:00:00+00:00\",\"check_calls_count\":567},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T19:00:00+00:00\",\"check_calls_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T20:00:00+00:00\",\"check_calls_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T21:00:00+00:00\",\"check_calls_count\":49},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T22:00:00+00:00\",\"check_calls_count\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"browser_check_calls_count\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T23:00:00+00:00\",\"check_calls_count\":0}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"check_calls_count\":null,\"browser_check_calls_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:28 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:53 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-Bad-Request-response.frozen index 69dd8e44f..38db825ca 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:30.286Z \ No newline at end of file +2025-05-12T11:35:54.359Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-Bad-Request-response.json index 60a34ac02..1314e9e6a 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/analyzed_logs?start_hr=2022-01-28T09%3A34%3A30.286Z&end_hr=2022-01-26T09%3A34%3A30.286Z" + "uri": "https://api.datadoghq.com/api/v1/usage/analyzed_logs?start_hr=2025-05-09T11%3A35%3A54.359Z&end_hr=2025-05-07T11%3A35%3A54.359Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:30 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:54 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-OK-response.frozen index b02b2f695..db2680a5c 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-OK-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:30.705Z \ No newline at end of file +2025-05-12T11:35:54.741Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-OK-response.json index 5034f767f..d7e7dfcfc 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-analyzed-logs-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/analyzed_logs?start_hr=2022-01-26T09%3A34%3A30.705Z&end_hr=2022-01-28T09%3A34%3A30.705Z" + "uri": "https://api.datadoghq.com/api/v1/usage/analyzed_logs?start_hr=2025-05-07T11%3A35%3A54.741Z&end_hr=2025-05-09T11%3A35%3A54.741Z" }, "response": { "body": { - "string": "{\"usage\":[{\"hour\":\"2022-01-26T09:00:00+00:00\",\"analyzed_logs\":200},{\"hour\":\"2022-01-26T10:00:00+00:00\",\"analyzed_logs\":0},{\"hour\":\"2022-01-26T11:00:00+00:00\",\"analyzed_logs\":412},{\"hour\":\"2022-01-26T12:00:00+00:00\",\"analyzed_logs\":0},{\"hour\":\"2022-01-26T13:00:00+00:00\",\"analyzed_logs\":200},{\"hour\":\"2022-01-26T14:00:00+00:00\",\"analyzed_logs\":1014},{\"hour\":\"2022-01-26T15:00:00+00:00\",\"analyzed_logs\":200},{\"hour\":\"2022-01-26T16:00:00+00:00\",\"analyzed_logs\":0},{\"hour\":\"2022-01-26T17:00:00+00:00\",\"analyzed_logs\":200},{\"hour\":\"2022-01-26T18:00:00+00:00\",\"analyzed_logs\":0},{\"hour\":\"2022-01-26T19:00:00+00:00\",\"analyzed_logs\":200},{\"hour\":\"2022-01-26T20:00:00+00:00\",\"analyzed_logs\":0},{\"hour\":\"2022-01-26T21:00:00+00:00\",\"analyzed_logs\":200},{\"hour\":\"2022-01-26T22:00:00+00:00\",\"analyzed_logs\":403786},{\"hour\":\"2022-01-26T23:00:00+00:00\",\"analyzed_logs\":1500564},{\"hour\":\"2022-01-27T00:00:00+00:00\",\"analyzed_logs\":2420},{\"hour\":\"2022-01-27T01:00:00+00:00\",\"analyzed_logs\":1217},{\"hour\":\"2022-01-27T02:00:00+00:00\",\"analyzed_logs\":978},{\"hour\":\"2022-01-27T03:00:00+00:00\",\"analyzed_logs\":1178},{\"hour\":\"2022-01-27T04:00:00+00:00\",\"analyzed_logs\":1014},{\"hour\":\"2022-01-27T05:00:00+00:00\",\"analyzed_logs\":200},{\"hour\":\"2022-01-27T06:00:00+00:00\",\"analyzed_logs\":0},{\"hour\":\"2022-01-27T07:00:00+00:00\",\"analyzed_logs\":200},{\"hour\":\"2022-01-27T08:00:00+00:00\",\"analyzed_logs\":0},{\"hour\":\"2022-01-27T09:00:00+00:00\",\"analyzed_logs\":200},{\"hour\":\"2022-01-27T10:00:00+00:00\",\"analyzed_logs\":0},{\"hour\":\"2022-01-27T11:00:00+00:00\",\"analyzed_logs\":412},{\"hour\":\"2022-01-27T12:00:00+00:00\",\"analyzed_logs\":194874},{\"hour\":\"2022-01-27T13:00:00+00:00\",\"analyzed_logs\":1742486},{\"hour\":\"2022-01-27T14:00:00+00:00\",\"analyzed_logs\":992448},{\"hour\":\"2022-01-27T15:00:00+00:00\",\"analyzed_logs\":8200},{\"hour\":\"2022-01-27T16:00:00+00:00\",\"analyzed_logs\":576000},{\"hour\":\"2022-01-27T17:00:00+00:00\",\"analyzed_logs\":576200},{\"hour\":\"2022-01-27T18:00:00+00:00\",\"analyzed_logs\":571200},{\"hour\":\"2022-01-27T19:00:00+00:00\",\"analyzed_logs\":576200},{\"hour\":\"2022-01-27T20:00:00+00:00\",\"analyzed_logs\":41600},{\"hour\":\"2022-01-27T21:00:00+00:00\",\"analyzed_logs\":200},{\"hour\":\"2022-01-27T22:00:00+00:00\",\"analyzed_logs\":0},{\"hour\":\"2022-01-27T23:00:00+00:00\",\"analyzed_logs\":200},{\"hour\":\"2022-01-28T00:00:00+00:00\",\"analyzed_logs\":2420},{\"hour\":\"2022-01-28T01:00:00+00:00\",\"analyzed_logs\":1217},{\"hour\":\"2022-01-28T02:00:00+00:00\",\"analyzed_logs\":978},{\"hour\":\"2022-01-28T03:00:00+00:00\",\"analyzed_logs\":1178},{\"hour\":\"2022-01-28T04:00:00+00:00\",\"analyzed_logs\":1014},{\"hour\":\"2022-01-28T05:00:00+00:00\",\"analyzed_logs\":200},{\"hour\":\"2022-01-28T06:00:00+00:00\",\"analyzed_logs\":0},{\"hour\":\"2022-01-28T07:00:00+00:00\",\"analyzed_logs\":200},{\"hour\":\"2022-01-28T08:00:00+00:00\",\"analyzed_logs\":0}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"analyzed_logs\":405},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"analyzed_logs\":404},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"analyzed_logs\":384},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"analyzed_logs\":959},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"analyzed_logs\":981},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"analyzed_logs\":404},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"analyzed_logs\":3018},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"analyzed_logs\":1171},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"analyzed_logs\":1611},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"analyzed_logs\":1171},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"analyzed_logs\":404},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"analyzed_logs\":405},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"analyzed_logs\":404},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"analyzed_logs\":404},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"analyzed_logs\":404},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"analyzed_logs\":3018},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"analyzed_logs\":1171},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"analyzed_logs\":1611},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"analyzed_logs\":404},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"analyzed_logs\":null},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"analyzed_logs\":null}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:30 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:54 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-audit-logs-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-audit-logs-returns-OK-response.frozen index 6074c793c..33690e234 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-audit-logs-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-audit-logs-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:28.687Z \ No newline at end of file +2025-05-12T11:35:55.571Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-audit-logs-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-audit-logs-returns-OK-response.json index 497e1097a..f6d6ec628 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-audit-logs-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-audit-logs-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/audit_logs?start_hr=2022-03-27T00%3A41%3A28.687Z&end_hr=2022-03-29T00%3A41%3A28.687Z" + "uri": "https://api.datadoghq.com/api/v1/usage/audit_logs?start_hr=2025-05-07T11%3A35%3A55.571Z&end_hr=2025-05-09T11%3A35%3A55.571Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T00:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T01:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T02:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T03:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T04:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T05:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T06:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T07:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T08:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T09:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T10:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T11:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T12:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T13:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T14:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T15:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T16:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T17:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T18:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T19:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T20:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T21:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T22:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T23:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T00:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T01:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T02:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T03:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T04:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T05:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T06:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T07:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T08:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T09:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T10:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T11:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T12:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T13:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T14:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T15:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T16:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T17:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T18:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T19:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T20:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T21:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T22:00:00+00:00\",\"lines_indexed\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T23:00:00+00:00\",\"lines_indexed\":0}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"lines_indexed\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:28 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:55 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-cloud-workload-security-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-cloud-workload-security-returns-OK-response.frozen index c0f9c5d68..a0e88b68c 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-cloud-workload-security-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-cloud-workload-security-returns-OK-response.frozen @@ -1 +1 @@ -2023-09-25T19:19:28.364Z \ No newline at end of file +2025-05-12T11:35:56.405Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-cloud-workload-security-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-cloud-workload-security-returns-OK-response.json index f284ec6f3..1e1342fe6 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-cloud-workload-security-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-cloud-workload-security-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/cws?start_hr=2023-09-20T19%3A19%3A28.364Z&end_hr=2023-09-22T19%3A19%3A28.364Z" + "uri": "https://api.datadoghq.com/api/v1/usage/cws?start_hr=2025-05-07T11%3A35%3A56.405Z&end_hr=2025-05-09T11%3A35%3A56.405Z" }, "response": { "body": { - "string": "{\"usage\":[{\"hour\":\"2023-09-20T19:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-20T20:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-20T21:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-20T22:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-20T23:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T00:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T01:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T02:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T03:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T04:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T05:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T06:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T07:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T08:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T09:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T10:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T11:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T12:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T13:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T14:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T15:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T16:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T17:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T18:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T19:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T20:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T21:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T22:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-21T23:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T00:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T01:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T02:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T03:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T04:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T05:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T06:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T07:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T08:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T09:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T10:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T11:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T12:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T13:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T14:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T15:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T16:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T17:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2023-09-22T18:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"cws_host_count\":null,\"cws_container_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Mon, 25 Sep 2023 19:19:28 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:56 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-Bad-Request-response.frozen index b86a1d833..57afde362 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:29.079Z \ No newline at end of file +2025-05-12T11:35:57.279Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-Bad-Request-response.json index e14f87e5d..870255c1a 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/timeseries?start_hr=2022-03-29T00%3A41%3A29.079Z&end_hr=2022-03-27T00%3A41%3A29.079Z" + "uri": "https://api.datadoghq.com/api/v1/usage/timeseries?start_hr=2025-05-09T11%3A35%3A57.279Z&end_hr=2025-05-07T11%3A35%3A57.279Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:29 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:57 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-OK-response.frozen index 289d792f4..c4aed1fab 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:29.168Z \ No newline at end of file +2025-05-12T11:35:57.642Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-OK-response.json index 8bd3d7b74..ffc0062ab 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-custom-metrics-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/timeseries?start_hr=2022-03-27T00%3A41%3A29.168Z&end_hr=2022-03-29T00%3A41%3A29.168Z" + "uri": "https://api.datadoghq.com/api/v1/usage/timeseries?start_hr=2025-05-07T11%3A35%3A57.642Z&end_hr=2025-05-09T11%3A35%3A57.642Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":93,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":1,\"hour\":\"2022-03-27T00:00:00+00:00\",\"num_standard_timeseries\":36425,\"num_custom_output_timeseries\":83,\"num_custom_timeseries\":96,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":93,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T01:00:00+00:00\",\"num_standard_timeseries\":36424,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":93,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T02:00:00+00:00\",\"num_standard_timeseries\":36359,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":93,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T03:00:00+00:00\",\"num_standard_timeseries\":36368,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":95,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":93,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T04:00:00+00:00\",\"num_standard_timeseries\":36372,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T05:00:00+00:00\",\"num_standard_timeseries\":36372,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T06:00:00+00:00\",\"num_standard_timeseries\":36301,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T07:00:00+00:00\",\"num_standard_timeseries\":36308,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T08:00:00+00:00\",\"num_standard_timeseries\":36293,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T09:00:00+00:00\",\"num_standard_timeseries\":36365,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T10:00:00+00:00\",\"num_standard_timeseries\":36295,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T11:00:00+00:00\",\"num_standard_timeseries\":36304,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":87,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":1,\"hour\":\"2022-03-27T12:00:00+00:00\",\"num_standard_timeseries\":36363,\"num_custom_output_timeseries\":83,\"num_custom_timeseries\":94,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T13:00:00+00:00\",\"num_standard_timeseries\":36358,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T14:00:00+00:00\",\"num_standard_timeseries\":36298,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T15:00:00+00:00\",\"num_standard_timeseries\":36306,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T16:00:00+00:00\",\"num_standard_timeseries\":36295,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T17:00:00+00:00\",\"num_standard_timeseries\":36364,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T18:00:00+00:00\",\"num_standard_timeseries\":36300,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T19:00:00+00:00\",\"num_standard_timeseries\":36289,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T20:00:00+00:00\",\"num_standard_timeseries\":36294,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T21:00:00+00:00\",\"num_standard_timeseries\":36372,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T22:00:00+00:00\",\"num_standard_timeseries\":36327,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-27T23:00:00+00:00\",\"num_standard_timeseries\":36295,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":103,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":1,\"hour\":\"2022-03-28T00:00:00+00:00\",\"num_standard_timeseries\":36417,\"num_custom_output_timeseries\":83,\"num_custom_timeseries\":96,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":93,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T01:00:00+00:00\",\"num_standard_timeseries\":36427,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":93,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T02:00:00+00:00\",\"num_standard_timeseries\":36370,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":93,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T03:00:00+00:00\",\"num_standard_timeseries\":36366,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":95,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":93,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T04:00:00+00:00\",\"num_standard_timeseries\":36361,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T05:00:00+00:00\",\"num_standard_timeseries\":36371,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T06:00:00+00:00\",\"num_standard_timeseries\":36292,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T07:00:00+00:00\",\"num_standard_timeseries\":36304,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T08:00:00+00:00\",\"num_standard_timeseries\":36308,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T09:00:00+00:00\",\"num_standard_timeseries\":36378,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T10:00:00+00:00\",\"num_standard_timeseries\":36304,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T11:00:00+00:00\",\"num_standard_timeseries\":36307,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":1,\"hour\":\"2022-03-28T12:00:00+00:00\",\"num_standard_timeseries\":36363,\"num_custom_output_timeseries\":83,\"num_custom_timeseries\":94,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T13:00:00+00:00\",\"num_standard_timeseries\":36382,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":94,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T14:00:00+00:00\",\"num_standard_timeseries\":36293,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":94,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T15:00:00+00:00\",\"num_standard_timeseries\":36295,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T16:00:00+00:00\",\"num_standard_timeseries\":36299,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T17:00:00+00:00\",\"num_standard_timeseries\":36356,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":1,\"hour\":\"2022-03-28T18:00:00+00:00\",\"num_standard_timeseries\":36387,\"num_custom_output_timeseries\":87,\"num_custom_timeseries\":105,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T19:00:00+00:00\",\"num_standard_timeseries\":36083,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":2,\"hour\":\"2022-03-28T20:00:00+00:00\",\"num_standard_timeseries\":36082,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":101,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":93,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T21:00:00+00:00\",\"num_standard_timeseries\":36312,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T22:00:00+00:00\",\"num_standard_timeseries\":36073,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0},{\"org_name\":\"DD Integration Tests (321813)\",\"num_standard_output_timeseries\":77,\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_input_timeseries\":0,\"hour\":\"2022-03-28T23:00:00+00:00\",\"num_standard_timeseries\":36078,\"num_custom_output_timeseries\":82,\"num_custom_timeseries\":93,\"num_standard_input_timeseries\":0}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":85},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":1,\"num_custom_output_timeseries\":86,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":87},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":85},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":85},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":86},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":86},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":85},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":1,\"num_custom_output_timeseries\":89,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":91},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":1,\"num_custom_output_timeseries\":86,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":87},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":86},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":86},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":86},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":85},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":1,\"num_custom_output_timeseries\":86,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":87},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":86},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":86},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":85},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":1,\"num_custom_output_timeseries\":89,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":91},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":1,\"num_custom_output_timeseries\":86,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":87},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":86},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":85,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":86},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"num_custom_input_timeseries\":0,\"num_custom_output_timeseries\":0,\"num_custom_historical_timeseries\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"num_custom_timeseries\":0}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:29 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:57 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-Bad-Request-response.frozen index 72182ad12..c1319dcae 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:30.106Z \ No newline at end of file +2025-05-12T11:35:58.489Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-Bad-Request-response.json index 7547c31ac..aa4b30d37 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/hosts?start_hr=2022-03-29T00%3A41%3A30.106Z&end_hr=2022-03-27T00%3A41%3A30.106Z" + "uri": "https://api.datadoghq.com/api/v1/usage/hosts?start_hr=2025-05-09T11%3A35%3A58.489Z&end_hr=2025-05-07T11%3A35%3A58.489Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:30 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:58 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-OK-response.frozen index 82d7f7b67..fb199415c 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-OK-response.frozen @@ -1 +1 @@ -2022-04-01T00:41:30.234Z \ No newline at end of file +2025-05-12T11:35:58.852Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-OK-response.json index f17004713..25bc2903f 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-hosts-and-containers-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/hosts?start_hr=2022-03-27T00%3A41%3A30.234Z&end_hr=2022-03-29T00%3A41%3A30.234Z" + "uri": "https://api.datadoghq.com/api/v1/usage/hosts?start_hr=2025-05-07T11%3A35%3A58.852Z&end_hr=2025-05-09T11%3A35%3A58.852Z" }, "response": { "body": { - "string": "{\"usage\":[{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T00:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T01:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T02:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T03:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T04:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T05:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T06:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T07:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T08:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T09:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T10:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T11:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T12:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T13:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T14:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T15:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T16:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T17:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T18:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T19:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T20:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T21:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T22:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-27T23:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T00:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T01:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T02:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T03:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T04:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T05:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T06:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T07:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T08:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T09:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T10:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T11:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T12:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T13:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T14:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T15:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T16:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T17:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T18:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T19:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T20:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T21:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T22:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0},{\"host_count\":14,\"org_name\":\"DD Integration Tests (321813)\",\"container_count\":null,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-03-28T23:00:00+00:00\",\"alibaba_host_count\":0,\"agent_host_count\":14,\"apm_host_count\":8,\"org_id\":321813,\"apm_trace_count\":0,\"npm_host_count\":null,\"vsphere_host_count\":0,\"azure_host_count\":0,\"apm_azure_app_service_host_count\":0,\"gcp_host_count\":0,\"heroku_host_count\":0,\"infra_azure_app_service\":0,\"aws_host_count\":0,\"opentelemetry_host_count\":0,\"unbillable_host_count\":0}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"host_count\":2,\"agent_host_count\":2,\"aws_host_count\":0,\"gcp_host_count\":0,\"azure_host_count\":0,\"alibaba_host_count\":0,\"infra_azure_app_service\":0,\"apm_host_count\":null,\"apm_host_count_incl_usm\":null,\"apm_azure_app_service_host_count\":null,\"apm_uncategorized_host_count\":null,\"apm_trace_count\":0,\"npm_host_count\":null,\"unbillable_host_count\":0,\"container_count\":null,\"container_max_container_count_excl_agent\":null,\"opentelemetry_host_count\":0,\"opentelemetry_apm_host_count\":0,\"heroku_host_count\":0,\"vsphere_host_count\":0,\"data_stream_monitoring_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Fri, 01 Apr 2022 00:41:30 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:58 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-Bad-Request-response.frozen index 4fe9e3998..f3a5aa7e0 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:31.364Z \ No newline at end of file +2025-05-12T11:35:59.822Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-Bad-Request-response.json index ccc4e66ff..97d1af82c 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/incident-management?start_hr=2022-01-28T09%3A34%3A31.364Z&end_hr=2022-01-26T09%3A34%3A31.364Z" + "uri": "https://api.datadoghq.com/api/v1/usage/incident-management?start_hr=2025-05-09T11%3A35%3A59.822Z&end_hr=2025-05-07T11%3A35%3A59.822Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:31 GMT" + "recorded_at": "Mon, 12 May 2025 11:35:59 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-OK-response.frozen index 9427c84bf..5c6614865 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-OK-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:31.797Z \ No newline at end of file +2025-05-12T11:36:00.174Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-OK-response.json index bc814d7df..fe2903ce1 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-incident-management-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/incident-management?start_hr=2022-01-26T09%3A34%3A31.797Z&end_hr=2022-01-28T09%3A34%3A31.797Z" + "uri": "https://api.datadoghq.com/api/v1/usage/incident-management?start_hr=2025-05-07T11%3A36%3A00.174Z&end_hr=2025-05-09T11%3A36%3A00.174Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T14:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-26T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T08:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T14:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-27T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-28T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-28T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-28T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-28T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-28T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-28T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-28T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-28T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"monthly_active_users\":1,\"hour\":\"2022-01-28T08:00:00+00:00\"}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"monthly_active_users\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:31 GMT" + "recorded_at": "Mon, 12 May 2025 11:36:00 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-Bad-Request-response.frozen index df946f775..1b66a50fd 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:32.316Z \ No newline at end of file +2025-05-12T11:36:00.901Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-Bad-Request-response.json index dc2c5ef57..fdb0bab98 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/indexed-spans?start_hr=2022-01-28T09%3A34%3A32.316Z&end_hr=2022-01-26T09%3A34%3A32.316Z" + "uri": "https://api.datadoghq.com/api/v1/usage/indexed-spans?start_hr=2025-05-09T11%3A36%3A00.901Z&end_hr=2025-05-07T11%3A36%3A00.901Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:32 GMT" + "recorded_at": "Mon, 12 May 2025 11:36:00 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-OK-response.frozen index 9fb62f6e0..514d529de 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-OK-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:32.749Z \ No newline at end of file +2025-05-12T11:36:01.286Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-OK-response.json index 3b1601ec2..d6bf26af7 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-indexed-spans-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/indexed-spans?start_hr=2022-01-26T09%3A34%3A32.749Z&end_hr=2022-01-28T09%3A34%3A32.749Z" + "uri": "https://api.datadoghq.com/api/v1/usage/indexed-spans?start_hr=2025-05-07T11%3A36%3A01.286Z&end_hr=2025-05-09T11%3A36%3A01.286Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T14:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-26T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T08:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T14:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-27T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-28T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-28T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-28T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-28T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-28T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-28T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-28T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-28T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"indexed_events_count\":0,\"hour\":\"2022-01-28T08:00:00+00:00\"}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"indexed_events_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:32 GMT" + "recorded_at": "Mon, 12 May 2025 11:36:01 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-Bad-Request-response.frozen index df831d179..5c5e5f433 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:33.304Z \ No newline at end of file +2025-05-12T11:36:02.152Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-Bad-Request-response.json index 1cbda382f..8f5914b28 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/ingested-spans?start_hr=2022-01-28T09%3A34%3A33.304Z&end_hr=2022-01-26T09%3A34%3A33.304Z" + "uri": "https://api.datadoghq.com/api/v1/usage/ingested-spans?start_hr=2025-05-09T11%3A36%3A02.152Z&end_hr=2025-05-07T11%3A36%3A02.152Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:33 GMT" + "recorded_at": "Mon, 12 May 2025 11:36:02 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-OK-response.frozen index 64f72f27a..5f413ac91 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-OK-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:33.739Z \ No newline at end of file +2025-05-12T11:36:02.534Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-OK-response.json index 80df9d65b..b0e3b8c9b 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-ingested-spans-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/ingested-spans?start_hr=2022-01-26T09%3A34%3A33.739Z&end_hr=2022-01-28T09%3A34%3A33.739Z" + "uri": "https://api.datadoghq.com/api/v1/usage/ingested-spans?start_hr=2025-05-07T11%3A36%3A02.534Z&end_hr=2025-05-09T11%3A36%3A02.534Z" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T14:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":569960,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":2118720,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T08:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T09:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T10:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T11:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":275263,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T12:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":2450015,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T13:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":1381529,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T14:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":10595,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T15:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":748763,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T16:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":748738,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T17:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":741902,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T18:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":748746,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T19:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":54279,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T20:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T21:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T22:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T23:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T00:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T01:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T02:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T03:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T04:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T05:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T06:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T07:00:00+00:00\"},{\"org_name\":\"DD Integration Tests (321813)\",\"ingested_events_bytes\":0,\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T08:00:00+00:00\"}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"ingested_events_bytes\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:33 GMT" + "recorded_at": "Mon, 12 May 2025 11:36:02 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-Bad-Request-response.frozen index 7a1e60b4a..f44d2c301 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:34.396Z \ No newline at end of file +2025-05-12T11:36:03.392Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-Bad-Request-response.json index de94af88c..7afdc49b1 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/profiling?start_hr=2022-01-28T09%3A34%3A34.396Z&end_hr=2022-01-26T09%3A34%3A34.396Z" + "uri": "https://api.datadoghq.com/api/v1/usage/profiling?start_hr=2025-05-09T11%3A36%3A03.392Z&end_hr=2025-05-07T11%3A36%3A03.392Z" }, "response": { "body": { - "string": "{\"errors\": [\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:34 GMT" + "recorded_at": "Mon, 12 May 2025 11:36:03 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-OK-response.frozen index 4650b4a19..d4a16ff23 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-OK-response.frozen @@ -1 +1 @@ -2022-01-31T09:34:34.802Z \ No newline at end of file +2025-05-12T11:36:03.746Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-OK-response.json index db376eb44..49da005f2 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-hourly-usage-for-profiled-hosts-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/profiling?start_hr=2022-01-26T09%3A34%3A34.802Z&end_hr=2022-01-28T09%3A34%3A34.802Z" + "uri": "https://api.datadoghq.com/api/v1/usage/profiling?start_hr=2025-05-07T11%3A36%3A03.746Z&end_hr=2025-05-09T11%3A36%3A03.746Z" }, "response": { "body": { - "string": "{\"usage\":[{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T09:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T10:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T11:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T12:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T13:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T14:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T15:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T16:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T17:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T18:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T19:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T20:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T21:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T22:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-26T23:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T00:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T01:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T02:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T03:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T04:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T05:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T06:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T07:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T08:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T09:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T10:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T11:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T12:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T13:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T14:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T15:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T16:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T17:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T18:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T19:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T20:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T21:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T22:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-27T23:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T00:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T01:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T02:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T03:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T04:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T05:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T06:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T07:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null},{\"host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-01-28T08:00:00+00:00\",\"avg_container_agent_count\":null,\"avg_container_agentless_count\":null}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T11:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T12:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T13:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"host_count\":null,\"avg_container_agent_count\":null,\"aas_count\":null,\"uncategorized_host_count\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Mon, 31 Jan 2022 09:34:34 GMT" + "recorded_at": "Mon, 12 May 2025 11:36:03 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-mobile-hourly-usage-for-RUM-Sessions-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-mobile-hourly-usage-for-RUM-Sessions-returns-OK-response.frozen index 3c9df95c2..4eadcc8ea 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-mobile-hourly-usage-for-RUM-Sessions-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-mobile-hourly-usage-for-RUM-Sessions-returns-OK-response.frozen @@ -1 +1 @@ -2022-05-10T15:31:42.562Z \ No newline at end of file +2025-05-12T14:02:23.417Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-mobile-hourly-usage-for-RUM-Sessions-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-mobile-hourly-usage-for-RUM-Sessions-returns-OK-response.json index 9a1faa618..45f527532 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-mobile-hourly-usage-for-RUM-Sessions-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-mobile-hourly-usage-for-RUM-Sessions-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/rum_sessions?start_hr=2022-05-05T15%3A31%3A42.562Z&end_hr=2022-05-07T15%3A31%3A42.562Z&type=mobile" + "uri": "https://api.datadoghq.com/api/v1/usage/rum_sessions?start_hr=2025-05-07T14%3A02%3A23.417Z&end_hr=2025-05-09T14%3A02%3A23.417Z&type=mobile" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-05T15:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-05T16:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-05T17:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-05T18:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-05T19:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-05T20:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-05T21:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-05T22:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-05T23:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T00:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T01:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T02:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T03:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T04:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T05:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T06:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T07:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T08:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T09:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T10:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T11:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T12:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T13:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T14:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T15:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T16:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T17:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T18:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T19:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T20:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T21:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T22:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-06T23:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T00:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T01:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T02:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T03:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T04:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T05:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T06:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T07:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T08:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T09:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T10:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T11:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T12:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T13:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null},{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"hour\":\"2022-05-07T14:00:00+00:00\",\"session_count_android\":null,\"session_count\":null,\"session_count_ios\":null,\"session_count_reactnative\":null}]}", + "string": "{\"usage\":[{\"hour\":\"2025-05-07T14:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T15:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T16:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T17:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T18:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T19:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T20:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T21:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T22:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-07T23:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T00:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T01:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T02:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T03:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T04:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T05:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T06:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T07:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T08:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T09:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T10:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T11:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T12:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T13:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T14:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T15:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T16:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T17:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T18:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T19:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T20:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T21:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T22:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-08T23:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T00:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T01:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T02:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T03:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T04:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T05:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T06:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T07:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T08:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T09:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T10:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T11:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T12:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"},{\"hour\":\"2025-05-09T13:00:00+00:00\",\"region\":\"us\",\"session_count\":null,\"session_count_ios\":null,\"session_count_android\":null,\"session_count_reactnative\":null,\"session_count_flutter\":null,\"session_count_roku\":null,\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\"}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Tue, 10 May 2022 15:31:42 GMT" + "recorded_at": "Mon, 12 May 2025 14:02:23 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-monthly-usage-attribution-returns-OK-response.frozen b/tests/scenarios/cassettes/v1/usage_metering/Get-monthly-usage-attribution-returns-OK-response.frozen index 855a71019..0d65b05a4 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-monthly-usage-attribution-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-monthly-usage-attribution-returns-OK-response.frozen @@ -1 +1 @@ -2022-05-23T08:46:27.028Z \ No newline at end of file +2025-05-12T11:36:05.278Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-monthly-usage-attribution-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-monthly-usage-attribution-returns-OK-response.json index 650356935..3c0190998 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-monthly-usage-attribution-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-monthly-usage-attribution-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v1/usage/monthly-attribution?start_month=2022-05-20T08%3A46%3A27.028Z&fields=infra_host_usage" + "uri": "https://api.datadoghq.com/api/v1/usage/monthly-attribution?start_month=2025-05-09T11%3A36%3A05.278Z&fields=infra_host_usage" }, "response": { "body": { - "string": "{\"usage\":[{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::project\",\"tags\":null,\"updated_at\":\"2022-05-22T09:05:00Z\",\"month\":\"2022-05-01T00:00:00+00:00\",\"values\":{\"infra_host_usage\":19}}],\"metadata\":{\"pagination\":{\"next_record_id\":null},\"aggregates\":[{\"field\":\"infra_host_usage\",\"value\":19.0,\"agg_type\":\"sum\"}]}}", + "string": "{\"usage\":[{\"month\":\"2025-05-01T00:00:00+00:00\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":null,\"values\":{\"infra_host_usage\":10},\"updated_at\":\"2025-05-12T10:00:00+00:00\",\"region\":\"us\"},{\"month\":\"2025-05-01T00:00:00+00:00\",\"org_name\":\"kevinzou sandbox\",\"public_id\":\"d218b038-1a46-11ed-b0f8-da7ad0900002\",\"tag_config_source\":\"DD Integration Tests (321813):::cf_instance_ip///project\",\"tags\":null,\"values\":{\"infra_host_usage\":1},\"updated_at\":\"2025-05-12T10:00:00+00:00\",\"region\":\"us\"}],\"metadata\":{\"pagination\":{\"next_record_id\":null},\"aggregates\":[{\"agg_type\":\"sum\",\"field\":\"infra_host_usage\",\"value\":11.0}]}}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Mon, 23 May 2022 08:46:27 GMT" + "recorded_at": "Mon, 12 May 2025 11:36:05 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-specified-daily-custom-reports-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-specified-daily-custom-reports-returns-OK-response.json index fdd5bb809..878fed182 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-specified-daily-custom-reports-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-specified-daily-custom-reports-returns-OK-response.json @@ -5,7 +5,7 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", diff --git a/tests/scenarios/cassettes/v1/usage_metering/Get-specified-monthly-custom-reports-returns-OK-response.json b/tests/scenarios/cassettes/v1/usage_metering/Get-specified-monthly-custom-reports-returns-OK-response.json index 936e1ec38..91a109505 100644 --- a/tests/scenarios/cassettes/v1/usage_metering/Get-specified-monthly-custom-reports-returns-OK-response.json +++ b/tests/scenarios/cassettes/v1/usage_metering/Get-specified-monthly-custom-reports-returns-OK-response.json @@ -5,7 +5,7 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-Bad-Request-response.json index 176195d53..c625b192f 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-Bad-Request-response.json @@ -5,7 +5,7 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-OK-response.json index 79407bc9d..c53e1d452 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-Monthly-Cost-Attribution-returns-OK-response.json @@ -5,7 +5,7 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-active-billing-dimensions-for-cost-attribution-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/usage_metering/Get-active-billing-dimensions-for-cost-attribution-returns-OK-response.frozen index 39059c18a..db344ea8a 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-active-billing-dimensions-for-cost-attribution-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-active-billing-dimensions-for-cost-attribution-returns-OK-response.frozen @@ -1 +1 @@ -2023-11-16T16:03:39.691Z \ No newline at end of file +2025-05-12T12:32:49.248Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-active-billing-dimensions-for-cost-attribution-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-active-billing-dimensions-for-cost-attribution-returns-OK-response.json index 2dc124c19..c32ab8b74 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-active-billing-dimensions-for-cost-attribution-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-active-billing-dimensions-for-cost-attribution-returns-OK-response.json @@ -5,7 +5,7 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", @@ -13,7 +13,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"type\":\"billing_dimensions\",\"id\":\"f145e21e840c6db03f75c179877629eb08531aa6f314f97658261680e49ab1f1\",\"attributes\":{\"values\":[\"apm_fargate\",\"apm_host\",\"apm_host_enterprise\",\"apm_host_no_usm\",\"apm_host_pro\",\"apm_profiler_host\",\"apm_trace_search\",\"application_security_fargate\",\"application_security_host\",\"application_vulnerability_management_oss_host\",\"audit_trail\",\"ci_pipeline\",\"ci_pipeline_indexed_spans\",\"ci_test_indexed_spans\",\"ci_testing\",\"cloud_cost_management\",\"csm_container_enterprise\",\"csm_host_enterprise\",\"csm_host_pro\",\"cspm_container\",\"cspm_host\",\"custom_event\",\"cws_container\",\"cws_host\",\"data_stream_monitoring\",\"dbm_host\",\"dbm_normalized_queries\",\"fargate_container\",\"fargate_container_apm_and_profiler\",\"fargate_container_profiler\",\"incident_management\",\"infra_and_apm_host\",\"infra_container\",\"infra_container_excl_agent\",\"infra_host\",\"ingested_spans\",\"ingested_timeseries\",\"iot\",\"lambda_function\",\"logs_forwarding\",\"logs_indexed_15day\",\"logs_indexed_180day\",\"logs_indexed_30day\",\"logs_indexed_360day\",\"logs_indexed_3day\",\"logs_indexed_45day\",\"logs_indexed_60day\",\"logs_indexed_7day\",\"logs_indexed_90day\",\"logs_indexed_custom_retention\",\"logs_ingested\",\"network_device\",\"npm_host\",\"observability_pipeline\",\"online_archive\",\"premier_support\",\"prof_container\",\"prof_host\",\"rum\",\"rum_lite\",\"rum_replay\",\"sensitive_data_scanner\",\"serverless_apm\",\"serverless_infra\",\"serverless_invocation\",\"siem\",\"standard_timeseries\",\"synthetics_api_tests\",\"synthetics_app_testing\",\"synthetics_browser_checks\",\"timeseries\",\"usm_standalone\",\"usm_within_infra_host\",\"workflow_execution\"],\"month\":\"2023-10-01T00:00:00Z\"}}}\n", + "string": "{\"data\":{\"type\":\"billing_dimensions\",\"id\":\"e4a8ff24785c6327169a72bdbc122133b34fb5797a1232c54dcc1fbc94e9ad1d\",\"attributes\":{\"values\":[\"apm_devsecops\",\"apm_ent_devsecops\",\"apm_fargate\",\"apm_host\",\"apm_host_enterprise\",\"apm_host_pro\",\"apm_pro_devsecops\",\"apm_trace_search\",\"application_security_fargate\",\"application_security_host\",\"application_security_sca_fargate_task\",\"application_vulnerability_management_oss_host\",\"audit_trail\",\"ci_pipeline\",\"ci_pipeline_indexed_spans\",\"ci_test_indexed_spans\",\"ci_testing\",\"cloud_cost_management\",\"code_analysis_sa_committers\",\"code_analysis_sa_sca_bundle\",\"code_analysis_sca_committers\",\"code_security_host\",\"cont_devsecops_ent\",\"cont_devsecops_pro\",\"coscreen_seat\",\"csm_container_enterprise\",\"csm_container_pro\",\"csm_host_enterprise\",\"csm_host_pro\",\"cspm_container\",\"cspm_host\",\"custom_event\",\"cws_container\",\"cws_fargate_task\",\"cws_host\",\"data_jobs_monitoring_host_hr\",\"data_stream_monitoring\",\"dbm_host\",\"dbm_normalized_queries\",\"ent_incident_response\",\"eph_apm_host\",\"eph_infra_host_ent\",\"eph_infra_host_pro\",\"eph_infra_host_proplus\",\"error_tracking\",\"error_tracking_tiered\",\"event_management_correlation\",\"fargate_container\",\"fargate_container_apm_and_profiler\",\"fargate_container_profiler\",\"flex_compute_logs_extra_extra_large\",\"flex_compute_logs_extra_small\",\"flex_compute_logs_large\",\"flex_compute_logs_medium\",\"flex_compute_logs_small\",\"flex_logs_starter\",\"flex_stored_logs\",\"host_devsecops_ent\",\"host_devsecops_pro\",\"host_devsecops_proplus\",\"incident_management\",\"incident_management_seats\",\"infra_and_apm_host\",\"infra_container\",\"infra_container_excl_agent\",\"infra_host\",\"ingested_spans\",\"ingested_timeseries\",\"iot\",\"lambda_function\",\"llm_observability\",\"logs_forwarding\",\"logs_indexed_15day\",\"logs_indexed_180day\",\"logs_indexed_1day\",\"logs_indexed_30day\",\"logs_indexed_360day\",\"logs_indexed_3day\",\"logs_indexed_45day\",\"logs_indexed_60day\",\"logs_indexed_7day\",\"logs_indexed_90day\",\"logs_indexed_custom_retention\",\"logs_ingested\",\"netflow_monitoring\",\"network_device\",\"npm_host\",\"observability_pipeline\",\"observability_pipeline_vcpu\",\"observability_pipelines_plus\",\"on_call_seat\",\"online_archive\",\"premier_support\",\"product_analytics\",\"prof_container\",\"prof_host\",\"published_app\",\"rum\",\"rum_ingested\",\"rum_investigate\",\"rum_lite\",\"rum_replay\",\"sensitive_data_scanner\",\"serverless_apm\",\"serverless_apps\",\"serverless_apps_excl_fargate\",\"serverless_asm\",\"serverless_infra\",\"serverless_invocation\",\"siem\",\"siem_analyzed_logs_add_on\",\"siem_indexed\",\"standard_timeseries\",\"synthetics_api_tests\",\"synthetics_app_testing\",\"synthetics_browser_checks\",\"synthetics_mobile_app_testing\",\"timeseries\",\"usm_standalone\",\"usm_within_infra_host\",\"workflow_execution\"],\"month\":\"2025-03-01T00:00:00Z\"}}}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Thu, 16 Nov 2023 16:03:39 GMT" + "recorded_at": "Mon, 12 May 2025 12:32:49 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-billing-dimension-mapping-for-usage-endpoints-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/usage_metering/Get-billing-dimension-mapping-for-usage-endpoints-returns-Bad-Request-response.frozen index ccd20a305..a8e401e5c 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-billing-dimension-mapping-for-usage-endpoints-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-billing-dimension-mapping-for-usage-endpoints-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2024-10-28T16:04:40.774Z \ No newline at end of file +2025-05-12T12:32:49.734Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-billing-dimension-mapping-for-usage-endpoints-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-billing-dimension-mapping-for-usage-endpoints-returns-Bad-Request-response.json index eb8c383a1..ee91835be 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-billing-dimension-mapping-for-usage-endpoints-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-billing-dimension-mapping-for-usage-endpoints-returns-Bad-Request-response.json @@ -5,7 +5,7 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Mon, 28 Oct 2024 16:04:40 GMT" + "recorded_at": "Mon, 12 May 2025 12:32:49 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-cost-across-multi-org-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-cost-across-multi-org-account-returns-OK-response.json index 664b03b79..45628f76d 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-cost-across-multi-org-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-cost-across-multi-org-account-returns-OK-response.json @@ -5,7 +5,7 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-historical-cost-across-your-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-historical-cost-across-your-account-returns-OK-response.json index 5c75b9fee..9a0358cc1 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-historical-cost-across-your-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-historical-cost-across-your-account-returns-OK-response.json @@ -5,7 +5,7 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-Bad-Request-response.frozen index ae53da868..1230463fb 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-07-19T14:57:41.335Z \ No newline at end of file +2025-05-12T12:32:50.132Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-Bad-Request-response.json index 0376328bd..044917d72 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v2/usage/hourly_usage?filter%5Btimestamp%5D%5Bstart%5D=2022-07-16T14%3A57%3A41.335Z&filter%5Btimestamp%5D%5Bend%5D=2022-07-14T14%3A57%3A41.335Z&filter%5Bproduct_families%5D=infra_hosts" + "uri": "https://api.datadoghq.com/api/v2/usage/hourly_usage?filter%5Btimestamp%5D%5Bstart%5D=2025-05-09T12%3A32%3A50.132Z&filter%5Btimestamp%5D%5Bend%5D=2025-05-07T12%3A32%3A50.132Z&filter%5Bproduct_families%5D=infra_hosts" }, "response": { "body": { - "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}\n", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Tue, 19 Jul 2022 14:57:41 GMT" + "recorded_at": "Mon, 12 May 2025 12:32:50 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-OK-response.frozen index 306317fb7..d43da3f1d 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-OK-response.frozen @@ -1 +1 @@ -2022-07-19T14:57:41.821Z \ No newline at end of file +2025-05-12T12:32:50.286Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-OK-response.json index 7d8c23b5d..df46040cd 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-by-product-family-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v2/usage/hourly_usage?filter%5Btimestamp%5D%5Bstart%5D=2022-07-16T14%3A57%3A41.821Z&filter%5Bproduct_families%5D=infra_hosts" + "uri": "https://api.datadoghq.com/api/v2/usage/hourly_usage?filter%5Btimestamp%5D%5Bstart%5D=2025-05-09T12%3A32%3A50.286Z&filter%5Bproduct_families%5D=infra_hosts" }, "response": { "body": { - "string": "{\"data\":[{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-16T14:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"c2d81d3ab0e2330402ba194f525ac02b0e561dbaf1e30fdc9d900551ca104e6c\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-16T15:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"aab388e6fa569317272aec7a7b8769bf6400c8b3e3163e34c5ba8fc8b1ea962c\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-16T16:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"a7480a9641c6bb5609a623c24f9be58f6bd0e0f8b39c23813be2e5e9f37465df\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-16T17:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"3ece398146b5e6863932aaabb340a35dc3f678a10b8731dd1aa6cefb01a05a50\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-16T18:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"db5610645e040ceb1e34726488331e256688b629700b0fab78c62ed4e681232e\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-16T19:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"317972994b0ef9e9c7b003ab0f1a28db970c738229bc8eb99b5f40863bd31ae7\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-16T20:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"7b4af48ad0743367a787bff94d6fb23dc4f6bd1721846b656aefcaa0c97094af\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-16T21:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"a26d4f98ebefc52c3e3ff41947df05bf792c12fff32a450c208b8a5579ea636c\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-16T22:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"284445d0d64b997e3a799f9a9c0b37a75979f17da92d3b87c102b334ff2e8c55\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-16T23:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"27cd01fcc3390288a50d1e9bd56fdf2e65db299ff59fd167eae5dcc6afefacbe\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T00:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"31c2b4d1ad3e227ee84c29aca58c3a82fa29d334434d9192c7c488ab125a831c\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T01:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"773dd70bab3e291c460d1263d4b8f2fed2f649b5c31227acd34819b6b8fa93cf\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T02:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"adda5d505c6d83890ca97ecdfd9d0dab915da014b4b87abd43a909c3453cb60d\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T03:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"d7b5724fb49109e31700bf34aa6527e0a097359f3917288c351617d5042e6930\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T04:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"826bc80a5789a931a674eecf3491b3aea9cf11a01749f57ae45496c7bede96a7\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T05:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"b8f4c50da05e3413a2618ec30ae193482b28ef2eb318541de68751ad32f267d0\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T06:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"bc403917f58538e7cc57934de186bb0975e1667780030e77464c46bcc07a108e\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T07:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"15aff389986ebee357e66194ba015afcf4ce87f262e0cbe635fda457abf36bbb\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T08:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"a92fa8990a961de5fbc1813a004587fc01eba595bd382d75b85fe88e63bafea6\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T09:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"a8c6b8633bb710eb4eff1bdb6046354635b9bb1e99c3de3fd2f4efab6a5c177f\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T10:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"6623ba9e88fb7491794d262f121dec195afb88ac8a85653805c8dff1b604da1c\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T11:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"b690150b84610dbc7a4fd2c37da96e69bc43ce8ce7ee51af7d47c32054c6df44\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T12:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"a03a5f4b9967b962f1de6cc80b696e3a1562ff733834b8cec6540f9cb884236b\"},{\"attributes\":{\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"timestamp\":\"2022-07-17T13:00:00+00:00\",\"region\":\"us\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":14},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":0},{\"usage_type\":\"apm_host_count\",\"value\":4},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":14},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"vsphere_host_count\",\"value\":0}],\"product_family\":\"infra_hosts\"},\"type\":\"usage_timeseries\",\"id\":\"07e22e70cfb7efe81ffdd0265cdea8417b0fbf4d9e8cb9f862bbff581fe7e5ac\"}]}\n", + "string": "{\"data\":[{\"id\":\"95e6860655fe3830ed86fae333ff8c373a4fb260188b28af92ac7979d420c3c6\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-09T12:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"58d00807feb09f3689400980538b74ebfc7f9a5a188420cd5cf02754e1807a05\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-09T13:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"139b92a4f6b06de5454301120a17ff102cbd903b879551909add7188cbacb03a\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-09T14:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"f19727d7c2f305319be2791f360801f2e98bd2a74990a483a5dbccdaeaed04a3\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-09T15:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"0dcc635e4c3f3804f76a2a88a9178411f5a501927bea22e541648e759dcac07e\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-09T16:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"713877bbdcff29a7ac72a025948aca3e3821ea3ecb5d5c60742680f27ee42187\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-09T17:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"f6c28a9050e801b5f1b83fffce0da28f208b2f75dd463906d755c317c30c3085\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-09T18:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"f3a7f0862585df8f61cbe986a80a08cf383cba9965e0a16eb88954a7cdab9840\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-09T19:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"f0593dbaeb0166bedea60fd863ea60f5e04b7055a73987045dd82a45ae6a86a2\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-09T20:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"a9771c538c887d88a3981683e2a9b92712c8bb2f5b4bbd9271e7af107890dd17\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-09T21:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"dbd066b38d0ad983269fdc2d8c55b811b307e0ddd6d538327f7b19a3a1af5e61\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-09T22:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"c90ca34810306202e37ddc6a7ce437744be8b23c19c34549caac56c8cfcc8475\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-09T23:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"a8834d066c1f02047258926910fe45447b1d12ea23ce6cacd3c6a1c064bc4954\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-10T00:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"4636cb91e5505be393f1d3fdafbabaf129def13f2c85d1054f5f4f9a90687301\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-10T01:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"286cfaf176c8196c7aa8bab121cfd55833b39c0279b835b931d6bb0cf32955a3\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-10T02:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"c3a9c7ed88d3384726743d7dd52ee8f32631449e131344535b3a4f6524e12b51\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-10T03:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"a4d8d7513cdf75927a8bf240a77489af347b994b7aceecf74313981eb9fc89d9\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-10T04:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"bffde443be0d88f7e23f5b27cd07f4e3ecccd3d26915140f5367616633504bc0\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-10T05:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"4e6dcbe731a0e56e14b94451d0061619f1a195a61030da6a7dc2dbd2e43324c2\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-10T06:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"8c004adbadb82106bccee1b1cda12ce95fa806372bd487a6dd783713d0d808ef\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-10T07:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"a18cd19be7f9ab8d233a83127ee1068a6c1f59a3bf587326f6caea0c6a7e4aab\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-10T08:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"c88ece72c68cdc4074e3348dbf7998a96d4b61ab8f2b210cff212afb8e11b185\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-10T09:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"c5698022d11eb61de2c53d9d01923270365d8a112309d94639fd7faf3cc23379\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-10T10:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}},{\"id\":\"795e1ab3e3422d26901f18f17f0167f01cdc701ac6577affc8c8fa1218cdf302\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"infra_hosts\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"account_name\":\"Scott's dogfood acct (102260)\",\"account_public_id\":\"806e82667\",\"region\":\"us\",\"timestamp\":\"2025-05-10T11:00:00+00:00\",\"measurements\":[{\"usage_type\":\"agent_host_count\",\"value\":2},{\"usage_type\":\"alibaba_host_count\",\"value\":0},{\"usage_type\":\"apm_azure_app_service_host_count\",\"value\":null},{\"usage_type\":\"apm_devsecops_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count\",\"value\":null},{\"usage_type\":\"apm_host_count_incl_usm\",\"value\":null},{\"usage_type\":\"apm_uncategorized_host_count\",\"value\":null},{\"usage_type\":\"aws_host_count\",\"value\":0},{\"usage_type\":\"azure_host_count\",\"value\":0},{\"usage_type\":\"container_count\",\"value\":null},{\"usage_type\":\"container_count_excl_agent\",\"value\":null},{\"usage_type\":\"data_stream_monitoring_host_count\",\"value\":null},{\"usage_type\":\"gcp_host_count\",\"value\":0},{\"usage_type\":\"heroku_host_count\",\"value\":0},{\"usage_type\":\"host_count\",\"value\":2},{\"usage_type\":\"infra_azure_app_service\",\"value\":0},{\"usage_type\":\"oci_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_apm_host_count\",\"value\":0},{\"usage_type\":\"opentelemetry_host_count\",\"value\":0},{\"usage_type\":\"universal_service_monitoring_host_count\",\"value\":null},{\"usage_type\":\"vsphere_host_count\",\"value\":0}]}}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Tue, 19 Jul 2022 14:57:41 GMT" + "recorded_at": "Mon, 12 May 2025 12:32:50 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Application-Security-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Application-Security-returns-Bad-Request-response.frozen index 9173d4890..fc21d3cae 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Application-Security-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Application-Security-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-05-02T16:40:49.302Z \ No newline at end of file +2025-05-12T12:32:51.415Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Application-Security-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Application-Security-returns-Bad-Request-response.json index a0441cad7..93dfd4e27 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Application-Security-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Application-Security-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v2/usage/application_security?start_hr=2022-04-29T16%3A40%3A49.302Z&end_hr=2022-04-27T16%3A40%3A49.302Z" + "uri": "https://api.datadoghq.com/api/v2/usage/application_security?start_hr=2025-05-09T12%3A32%3A51.415Z&end_hr=2025-05-07T12%3A32%3A51.415Z" }, "response": { "body": { - "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}\n", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Mon, 02 May 2022 16:40:49 GMT" + "recorded_at": "Mon, 12 May 2025 12:32:51 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-Bad-Request-response.frozen index 79cf778bd..88b2ea81e 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2024-01-24T20:56:23.911Z \ No newline at end of file +2025-05-12T12:32:51.888Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-Bad-Request-response.json index 031b03b37..04af7de4f 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-Bad-Request-response.json @@ -5,11 +5,11 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v2/usage/lambda_traced_invocations?start_hr=2024-01-21T20%3A56%3A23.911Z&end_hr=2024-01-19T20%3A56%3A23.911Z" + "uri": "https://api.datadoghq.com/api/v2/usage/lambda_traced_invocations?start_hr=2025-05-09T12%3A32%3A51.888Z&end_hr=2025-05-07T12%3A32%3A51.888Z" }, "response": { "body": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Wed, 24 Jan 2024 20:56:23 GMT" + "recorded_at": "Mon, 12 May 2025 12:32:51 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-OK-response.frozen index 059c2884e..fd2749064 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-OK-response.frozen @@ -1 +1 @@ -2024-01-24T20:54:39.781Z \ No newline at end of file +2025-05-12T12:32:52.291Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-OK-response.json index b1f85d1eb..836198f25 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Lambda-traced-invocations-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v2/usage/lambda_traced_invocations?start_hr=2024-01-19T20%3A54%3A39.781Z&end_hr=2024-01-21T20%3A54%3A39.781Z" + "uri": "https://api.datadoghq.com/api/v2/usage/lambda_traced_invocations?start_hr=2025-05-07T12%3A32%3A52.291Z&end_hr=2025-05-09T12%3A32%3A52.291Z" }, "response": { "body": { - "string": "{\"data\":[{\"id\":\"41945ceef2349387d82c498d0d83cb88b2c57e90d273d9cfa0826d3cac2ecc45\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"lambda-traced-invocations\",\"usage_type\":\"lambda_traced_invocations_count\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"timeseries\":[{\"timestamp\":\"2024-01-19T20:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-19T21:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-19T22:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-19T23:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T00:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T01:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T02:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T03:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T04:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T05:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T06:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T07:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T08:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T09:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T10:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T11:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T12:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T13:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T14:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T15:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T16:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T17:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T18:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T19:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T20:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T21:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T22:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-20T23:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T00:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T01:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T02:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T03:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T04:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T05:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T06:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T07:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T08:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T09:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T10:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T11:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T12:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T13:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T14:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T15:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T16:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T17:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T18:00:00+00:00\",\"value\":null},{\"timestamp\":\"2024-01-21T19:00:00+00:00\",\"value\":null}]}}]}\n", + "string": "{\"data\":[{\"id\":\"0b2d2a111285143192094564fdd62a2d93e245d25b46d3ea59d798d2b66f3909\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"lambda-traced-invocations\",\"usage_type\":\"lambda_traced_invocations_count\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"timeseries\":[{\"timestamp\":\"2025-05-07T12:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T13:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T14:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T15:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T16:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T17:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T18:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T19:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T20:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T21:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T22:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T23:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T00:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T01:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T02:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T03:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T04:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T05:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T06:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T07:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T08:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T09:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T10:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T11:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T12:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T13:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T14:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T15:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T16:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T17:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T18:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T19:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T20:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T21:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T22:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T23:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T00:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T01:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T02:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T03:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T04:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T05:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T06:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T07:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T08:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T09:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T10:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T11:00:00+00:00\",\"value\":null}]}}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Wed, 24 Jan 2024 20:54:39 GMT" + "recorded_at": "Mon, 12 May 2025 12:32:52 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Observability-Pipelines-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Observability-Pipelines-returns-Bad-Request-response.frozen index 497111cfb..ad90dcde7 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Observability-Pipelines-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Observability-Pipelines-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-04-20T18:23:39.831Z \ No newline at end of file +2025-05-12T12:32:52.982Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Observability-Pipelines-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Observability-Pipelines-returns-Bad-Request-response.json index c8a807a5b..a4e3e34d1 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Observability-Pipelines-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-Observability-Pipelines-returns-Bad-Request-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v2/usage/observability_pipelines?start_hr=2022-04-17T18%3A23%3A39.831Z&end_hr=2022-04-15T18%3A23%3A39.831Z" + "uri": "https://api.datadoghq.com/api/v2/usage/observability_pipelines?start_hr=2025-05-09T12%3A32%3A52.982Z&end_hr=2025-05-07T12%3A32%3A52.982Z" }, "response": { "body": { - "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}\n", + "string": "{\"errors\":[\"start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]\"]}", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Wed, 20 Apr 2022 18:23:39 GMT" + "recorded_at": "Mon, 12 May 2025 12:32:52 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-application-security-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-application-security-returns-OK-response.frozen index b971b4067..4fe5833c5 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-application-security-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-application-security-returns-OK-response.frozen @@ -1 +1 @@ -2023-10-16T15:16:50.772Z \ No newline at end of file +2025-05-12T12:32:53.445Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-application-security-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-application-security-returns-OK-response.json index baa8a1440..5186b9697 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-application-security-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-application-security-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v2/usage/application_security?start_hr=2023-10-11T15%3A16%3A50.772Z&end_hr=2023-10-13T15%3A16%3A50.772Z" + "uri": "https://api.datadoghq.com/api/v2/usage/application_security?start_hr=2025-05-07T12%3A32%3A53.445Z&end_hr=2025-05-09T12%3A32%3A53.445Z" }, "response": { "body": { - "string": "{\"data\":[{\"id\":\"f9835e00af7d43da5fa029132bb2227473df0f5dc80bf2cc1eb51ddb372f47d5\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"app-sec\",\"usage_type\":\"app_sec_host_count\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"timeseries\":[{\"timestamp\":\"2023-10-11T15:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T16:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T17:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T18:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T19:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T20:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T21:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T22:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T23:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T00:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T01:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T02:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T03:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T04:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T05:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T06:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T07:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T08:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T09:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T10:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T11:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T12:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T13:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T14:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T15:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T16:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T17:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T18:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T19:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T20:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T21:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T22:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T23:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T00:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T01:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T02:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T03:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T04:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T05:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T06:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T07:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T08:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T09:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T10:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T11:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T12:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T13:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T14:00:00+00:00\",\"value\":null}]}}]}\n", + "string": "{\"data\":[{\"id\":\"d102f037cf2e5fefcb5c41bfe232cda020236a44536bf3ef693431f9beb6ace8\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"app-sec\",\"usage_type\":\"app_sec_host_count\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"timeseries\":[{\"timestamp\":\"2025-05-07T12:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T13:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T14:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T15:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T16:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T17:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T18:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T19:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T20:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T21:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T22:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T23:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T00:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T01:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T02:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T03:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T04:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T05:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T06:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T07:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T08:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T09:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T10:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T11:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T12:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T13:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T14:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T15:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T16:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T17:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T18:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T19:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T20:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T21:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T22:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T23:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T00:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T01:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T02:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T03:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T04:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T05:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T06:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T07:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T08:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T09:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T10:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T11:00:00+00:00\",\"value\":null}]}}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Mon, 16 Oct 2023 15:16:50 GMT" + "recorded_at": "Mon, 12 May 2025 12:32:53 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-observability-pipelines-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-observability-pipelines-returns-OK-response.frozen index 1bf44591b..c87584c61 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-observability-pipelines-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-observability-pipelines-returns-OK-response.frozen @@ -1 +1 @@ -2023-10-16T15:14:35.114Z \ No newline at end of file +2025-05-12T12:32:54.286Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-observability-pipelines-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-observability-pipelines-returns-OK-response.json index a4cb56e24..ff2887769 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-observability-pipelines-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-hourly-usage-for-observability-pipelines-returns-OK-response.json @@ -5,15 +5,15 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v2/usage/observability_pipelines?start_hr=2023-10-11T15%3A14%3A35.114Z&end_hr=2023-10-13T15%3A14%3A35.114Z" + "uri": "https://api.datadoghq.com/api/v2/usage/observability_pipelines?start_hr=2025-05-07T12%3A32%3A54.286Z&end_hr=2025-05-09T12%3A32%3A54.286Z" }, "response": { "body": { - "string": "{\"data\":[{\"id\":\"b2fd311762e6a3cf23ce2e3dbd80e786a13193c6b28f01b296042c0e2f1264f9\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"observability-pipelines\",\"usage_type\":\"observability_pipelines_bytes_processed\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"timeseries\":[{\"timestamp\":\"2023-10-11T15:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T16:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T17:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T18:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T19:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T20:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T21:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T22:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-11T23:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T00:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T01:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T02:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T03:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T04:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T05:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T06:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T07:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T08:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T09:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T10:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T11:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T12:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T13:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T14:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T15:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T16:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T17:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T18:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T19:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T20:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T21:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T22:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-12T23:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T00:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T01:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T02:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T03:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T04:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T05:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T06:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T07:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T08:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T09:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T10:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T11:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T12:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T13:00:00+00:00\",\"value\":null},{\"timestamp\":\"2023-10-13T14:00:00+00:00\",\"value\":null}]}}]}\n", + "string": "{\"data\":[{\"id\":\"f07b3425278d54ceb000a2b31d0b1268515fc1684d57e39bd567b9d4752c2072\",\"type\":\"usage_timeseries\",\"attributes\":{\"product_family\":\"observability-pipelines\",\"usage_type\":\"observability_pipelines_bytes_processed\",\"org_name\":\"DD Integration Tests (321813)\",\"public_id\":\"fasjyydbcgwwc2uc\",\"region\":\"us\",\"timeseries\":[{\"timestamp\":\"2025-05-07T12:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T13:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T14:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T15:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T16:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T17:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T18:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T19:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T20:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T21:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T22:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-07T23:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T00:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T01:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T02:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T03:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T04:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T05:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T06:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T07:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T08:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T09:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T10:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T11:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T12:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T13:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T14:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T15:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T16:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T17:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T18:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T19:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T20:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T21:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T22:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-08T23:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T00:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T01:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T02:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T03:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T04:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T05:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T06:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T07:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T08:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T09:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T10:00:00+00:00\",\"value\":null},{\"timestamp\":\"2025-05-09T11:00:00+00:00\",\"value\":null}]}}]}\n", "encoding": null }, "headers": { @@ -26,7 +26,7 @@ "message": "OK" } }, - "recorded_at": "Mon, 16 Oct 2023 15:14:35 GMT" + "recorded_at": "Mon, 12 May 2025 12:32:54 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/usage_metering/Get-projected-cost-across-your-account-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/Get-projected-cost-across-your-account-returns-OK-response.json index 367a6c6a3..3b3be3815 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/Get-projected-cost-across-your-account-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/Get-projected-cost-across-your-account-returns-OK-response.json @@ -5,7 +5,7 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", diff --git a/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-both-start-month-and-start-date-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-both-start-month-and-start-date-returns-Bad-Request-response.frozen index 0428b0666..417eb6677 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-both-start-month-and-start-date-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-both-start-month-and-start-date-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2022-11-03T21:08:41.229Z \ No newline at end of file +2025-05-12T12:32:55.283Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-both-start-month-and-start-date-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-both-start-month-and-start-date-returns-Bad-Request-response.json index 30bc30528..be43b245d 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-both-start-month-and-start-date-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-both-start-month-and-start-date-returns-Bad-Request-response.json @@ -5,11 +5,11 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v2/usage/estimated_cost?view=sub-org&start_month=2022-11-03T21%3A08%3A41.229Z&start_date=2022-10-31T21%3A08%3A41.229Z" + "uri": "https://api.datadoghq.com/api/v2/usage/estimated_cost?view=sub-org&start_month=2025-05-12T12%3A32%3A55.283Z&start_date=2025-05-09T12%3A32%3A55.283Z" }, "response": { "body": { @@ -26,7 +26,7 @@ "message": "Bad Request" } }, - "recorded_at": "Thu, 03 Nov 2022 21:08:41 GMT" + "recorded_at": "Mon, 12 May 2025 12:32:55 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-start-month-returns-OK-response.json b/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-start-month-returns-OK-response.json index 26f1e4132..a4ca52502 100644 --- a/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-start-month-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/usage_metering/GetEstimatedCostByOrg-with-start-month-returns-OK-response.json @@ -5,7 +5,7 @@ "body": "", "headers": { "Accept": [ - "application/json;datetime-format=rfc3339" + "application/json;datetime-format=rfc3339, application/json" ] }, "method": "get",