From 1382157ec886b22c60905f7cda09c5815fa89c55 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 9 Mar 2022 11:40:06 +0000 Subject: [PATCH] Regenerate client from commit b5bc30a4 of spec repo --- .apigentools-info | 8 +- .generator/schemas/v1/openapi.yaml | 100 ++++++++++++ ...rchive-returns-Bad-Request-response.frozen | 1 + ...e-Archive-returns-Bad-Request-response.yml | 17 ++ ...-Online-Archive-returns-OK-response.frozen | 1 + ...for-Online-Archive-returns-OK-response.yml | 64 ++++++++ .../usage-metering/GetUsageOnlineArchive.rb | 8 + features/v1/undo.json | 6 + features/v1/usage_metering.feature | 16 ++ lib/datadog_api_client/v1.rb | 2 + .../v1/api/usage_metering_api.rb | 77 +++++++++ .../v1/models/usage_online_archive_hour.rb | 149 ++++++++++++++++++ .../models/usage_online_archive_response.rb | 121 ++++++++++++++ .../v1/models/usage_summary_date.rb | 12 +- .../v1/models/usage_summary_date_org.rb | 12 +- .../v1/models/usage_summary_response.rb | 12 +- 16 files changed, 599 insertions(+), 7 deletions(-) create mode 100644 cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.frozen create mode 100644 cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.yml create mode 100644 cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.frozen create mode 100644 cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.yml create mode 100644 examples/v1/usage-metering/GetUsageOnlineArchive.rb create mode 100644 lib/datadog_api_client/v1/models/usage_online_archive_hour.rb create mode 100644 lib/datadog_api_client/v1/models/usage_online_archive_response.rb diff --git a/.apigentools-info b/.apigentools-info index d9b5d3bef28d..7ff0e481bfc2 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.2", - "regenerated": "2022-03-09 10:47:04.862600", - "spec_repo_commit": "1124bbef" + "regenerated": "2022-03-09 11:38:32.619758", + "spec_repo_commit": "b5bc30a4" }, "v2": { "apigentools_version": "1.6.2", - "regenerated": "2022-03-09 10:47:04.884613", - "spec_repo_commit": "1124bbef" + "regenerated": "2022-03-09 11:38:32.643014", + "spec_repo_commit": "b5bc30a4" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index e4fab3f49870..3ff0bcc5bd40 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -14060,6 +14060,32 @@ components: $ref: '#/components/schemas/UsageNetworkHostsHour' type: array type: object + UsageOnlineArchiveHour: + description: Online Archive usage in a given hour. + properties: + hour: + description: The hour for the usage. + format: date-time + type: string + online_archive_events_count: + description: Total count of online archived events within the hour. + type: integer + org_name: + description: The organization name. + type: string + public_id: + description: The organization public ID. + type: string + type: object + UsageOnlineArchiveResponse: + description: Online Archive usage response. + properties: + usage: + description: Response containing Online Archive usage. + items: + $ref: '#/components/schemas/UsageOnlineArchiveHour' + type: array + type: object UsageProfilingHour: description: The number of profiled hosts for each hour for a given organization. properties: @@ -14565,6 +14591,11 @@ components: all hours in the current date for all organizations. format: int64 type: integer + online_archive_events_count_sum: + description: Sum of all online archived events over all hours in the current + date for all organizations. + format: int64 + type: integer opentelemetry_host_top99p: description: Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current @@ -14877,6 +14908,11 @@ components: all hours in the current date for the given org. format: int64 type: integer + online_archive_events_count_sum: + description: Sum of all online archived events over all hours in the current + date for the given org. + format: int64 + type: integer opentelemetry_host_top99p: description: Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current @@ -15213,6 +15249,11 @@ components: all hours in the current months for all organizations. format: int64 type: integer + online_archive_events_count_agg_sum: + description: Sum of all online archived events over all hours in the current + months for all organizations. + format: int64 + type: integer opentelemetry_host_top99p_sum: description: Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current @@ -26780,6 +26821,65 @@ paths: x-menu-order: 14 x-undo: type: safe + /api/v1/usage/online-archive: + get: + description: Get hourly usage for Online Archive. + operationId: GetUsageOnlineArchive + parameters: + - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` + for usage beginning at this hour.' + in: query + name: start_hr + required: true + schema: + format: date-time + type: string + - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` + for usage ending + + **before** this hour.' + in: query + name: end_hr + required: false + schema: + format: date-time + type: string + responses: + '200': + content: + application/json;datetime-format=rfc3339: + schema: + $ref: '#/components/schemas/UsageOnlineArchiveResponse' + description: OK + '400': + content: + application/json;datetime-format=rfc3339: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: Bad Request + '403': + content: + application/json;datetime-format=rfc3339: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: Forbidden - User is not authorized + '429': + content: + application/json;datetime-format=rfc3339: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: Too many requests + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - usage_read + summary: Get hourly usage for Online Archive + tags: + - Usage Metering + x-menu-order: 38 + x-undo: + type: safe /api/v1/usage/profiling: get: description: Get hourly usage for profiled hosts. diff --git a/cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.frozen b/cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.frozen new file mode 100644 index 000000000000..7d0fbd7b356f --- /dev/null +++ b/cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.frozen @@ -0,0 +1 @@ +2022-03-08T15:58:31.986Z \ No newline at end of file diff --git a/cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.yml b/cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.yml new file mode 100644 index 000000000000..0368241c392c --- /dev/null +++ b/cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-Bad-Request-response.yml @@ -0,0 +1,17 @@ +http_interactions: +- recorded_at: Tue, 08 Mar 2022 15:58:31 GMT + request: + body: null + headers: + Content-Type: + - 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 + response: + body: + encoding: UTF-8 + string: '{"errors": ["start_hr [YYYY-MM-DDThh] must be before end_hr [YYYY-MM-DDThh]"]}' + status: + code: 400 + message: Bad Request +recorded_with: VCR 6.0.0 diff --git a/cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.frozen b/cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.frozen new file mode 100644 index 000000000000..c2b0dd7d1573 --- /dev/null +++ b/cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.frozen @@ -0,0 +1 @@ +2022-03-08T15:58:32.586Z \ No newline at end of file diff --git a/cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.yml b/cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.yml new file mode 100644 index 000000000000..79c82711d437 --- /dev/null +++ b/cassettes/features/v1/usage_metering/Get-hourly-usage-for-Online-Archive-returns-OK-response.yml @@ -0,0 +1,64 @@ +http_interactions: +- recorded_at: Tue, 08 Mar 2022 15:58:32 GMT + request: + body: null + headers: + Content-Type: + - 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 + response: + body: + encoding: UTF-8 + 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"}]}' + status: + code: 200 + message: OK +recorded_with: VCR 6.0.0 diff --git a/examples/v1/usage-metering/GetUsageOnlineArchive.rb b/examples/v1/usage-metering/GetUsageOnlineArchive.rb new file mode 100644 index 000000000000..dcd8fc47312e --- /dev/null +++ b/examples/v1/usage-metering/GetUsageOnlineArchive.rb @@ -0,0 +1,8 @@ +# Get hourly usage for Online Archive returns "OK" response + +require "datadog_api_client" +api_instance = DatadogAPIClient::V1::UsageMeteringAPI.new +opts = { + end_hr: (Time.now + -3 * 86400), +} +p api_instance.get_usage_online_archive((Time.now + -5 * 86400), opts) diff --git a/features/v1/undo.json b/features/v1/undo.json index 1bdcd37f9ddb..33d5823521b5 100644 --- a/features/v1/undo.json +++ b/features/v1/undo.json @@ -1296,6 +1296,12 @@ "type": "safe" } }, + "GetUsageOnlineArchive": { + "tag": "Usage Metering", + "undo": { + "type": "safe" + } + }, "GetUsageProfiling": { "tag": "Usage Metering", "undo": { diff --git a/features/v1/usage_metering.feature b/features/v1/usage_metering.feature index ac6b947425f0..68b5954dc5e6 100644 --- a/features/v1/usage_metering.feature +++ b/features/v1/usage_metering.feature @@ -238,6 +238,22 @@ Feature: Usage Metering When the request is sent Then the response status is 200 OK + @team:DataDog/red-zone-revenue-query + Scenario: Get hourly usage for Online Archive returns "Bad Request" response + Given new "GetUsageOnlineArchive" request + And request contains "start_hr" parameter with value "{{ timeISO('now - 3d') }}" + And request contains "end_hr" parameter with value "{{ timeISO('now - 5d') }}" + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/red-zone-revenue-query + Scenario: Get hourly usage for Online Archive returns "OK" response + Given new "GetUsageOnlineArchive" request + And request contains "start_hr" parameter with value "{{ timeISO('now - 5d') }}" + And request contains "end_hr" parameter with value "{{ timeISO('now - 3d') }}" + When the request is sent + Then the response status is 200 OK + @generated @skip @team:DataDog/red-zone-revenue-query Scenario: Get hourly usage for RUM Sessions returns "Bad Request" response Given new "GetUsageRumSessions" request diff --git a/lib/datadog_api_client/v1.rb b/lib/datadog_api_client/v1.rb index b9fc6ba6610f..29bc7ceae60f 100644 --- a/lib/datadog_api_client/v1.rb +++ b/lib/datadog_api_client/v1.rb @@ -621,6 +621,8 @@ require 'datadog_api_client/v1/models/usage_network_flows_response' require 'datadog_api_client/v1/models/usage_network_hosts_hour' require 'datadog_api_client/v1/models/usage_network_hosts_response' +require 'datadog_api_client/v1/models/usage_online_archive_hour' +require 'datadog_api_client/v1/models/usage_online_archive_response' require 'datadog_api_client/v1/models/usage_profiling_hour' require 'datadog_api_client/v1/models/usage_profiling_response' require 'datadog_api_client/v1/models/usage_reports_type' diff --git a/lib/datadog_api_client/v1/api/usage_metering_api.rb b/lib/datadog_api_client/v1/api/usage_metering_api.rb index 9a21ae5801ec..73ebe80c7a9f 100644 --- a/lib/datadog_api_client/v1/api/usage_metering_api.rb +++ b/lib/datadog_api_client/v1/api/usage_metering_api.rb @@ -2118,6 +2118,83 @@ def get_usage_network_hosts_with_http_info(start_hr, opts = {}) return data, status_code, headers end + # Get hourly usage for Online Archive + # Get hourly usage for Online Archive. + # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour. + # @param opts [Hash] the optional parameters + # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour. + # @return [UsageOnlineArchiveResponse] + def get_usage_online_archive(start_hr, opts = {}) + data, _status_code, _headers = get_usage_online_archive_with_http_info(start_hr, opts) + data + end + + # Get hourly usage for Online Archive + # Get hourly usage for Online Archive. + # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour. + # @param opts [Hash] the optional parameters + # @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour. + # @return [Array<(UsageOnlineArchiveResponse, Integer, Hash)>] UsageOnlineArchiveResponse data, response status code and response headers + def get_usage_online_archive_with_http_info(start_hr, opts = {}) + + if @api_client.config.unstable_operations.has_key?(:get_usage_online_archive) + unstable_enabled = @api_client.config.unstable_operations[:get_usage_online_archive] + if unstable_enabled + @api_client.config.logger.warn format("Using unstable operation '%s'", "get_usage_online_archive") + else + raise APIError.new(message: format("Unstable operation '%s' is disabled", "get_usage_online_archive")) + end + end + + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: UsageMeteringAPI.get_usage_online_archive ...' + end + # verify the required parameter 'start_hr' is set + if @api_client.config.client_side_validation && start_hr.nil? + fail ArgumentError, "Missing the required parameter 'start_hr' when calling UsageMeteringAPI.get_usage_online_archive" + end + # resource path + local_var_path = '/api/v1/usage/online-archive' + + # query parameters + query_params = opts[:query_params] || {} + query_params[:'start_hr'] = start_hr + query_params[:'end_hr'] = opts[:'end_hr'] if !opts[:'end_hr'].nil? + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json;datetime-format=rfc3339']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'UsageOnlineArchiveResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] + + new_options = opts.merge( + :operation => :get_usage_online_archive, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: UsageMeteringAPI#get_usage_online_archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Get hourly usage for profiled hosts # Get hourly usage for profiled hosts. # @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour. diff --git a/lib/datadog_api_client/v1/models/usage_online_archive_hour.rb b/lib/datadog_api_client/v1/models/usage_online_archive_hour.rb new file mode 100644 index 000000000000..3ae93baa9e7b --- /dev/null +++ b/lib/datadog_api_client/v1/models/usage_online_archive_hour.rb @@ -0,0 +1,149 @@ +=begin +#Datadog API V1 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V1 + # Online Archive usage in a given hour. + class UsageOnlineArchiveHour + include BaseGenericModel + + # Whether the object has unparsed attributes + # @!visibility private + attr_accessor :_unparsed + + # The hour for the usage. + attr_accessor :hour + + # Total count of online archived events within the hour. + attr_accessor :online_archive_events_count + + # The organization name. + attr_accessor :org_name + + # The organization public ID. + attr_accessor :public_id + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'hour' => :'hour', + :'online_archive_events_count' => :'online_archive_events_count', + :'org_name' => :'org_name', + :'public_id' => :'public_id' + } + end + + # Returns all the JSON keys this model knows about + # @!visibility private + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'hour' => :'Time', + :'online_archive_events_count' => :'Integer', + :'org_name' => :'String', + :'public_id' => :'String' + } + end + + # List of attributes with nullable: true + # @!visibility private + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::UsageOnlineArchiveHour` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::UsageOnlineArchiveHour`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'hour') + self.hour = attributes[:'hour'] + end + + if attributes.key?(:'online_archive_events_count') + self.online_archive_events_count = attributes[:'online_archive_events_count'] + end + + if attributes.key?(:'org_name') + self.org_name = attributes[:'org_name'] + end + + if attributes.key?(:'public_id') + self.public_id = attributes[:'public_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + # @!visibility private + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + hour == o.hour && + online_archive_events_count == o.online_archive_events_count && + org_name == o.org_name && + public_id == o.public_id + end + + # @see the `==` method + # @param o [Object] Object to be compared + # @!visibility private + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [hour, online_archive_events_count, org_name, public_id].hash + end + end +end diff --git a/lib/datadog_api_client/v1/models/usage_online_archive_response.rb b/lib/datadog_api_client/v1/models/usage_online_archive_response.rb new file mode 100644 index 000000000000..dc9d8519690c --- /dev/null +++ b/lib/datadog_api_client/v1/models/usage_online_archive_response.rb @@ -0,0 +1,121 @@ +=begin +#Datadog API V1 Collection + +#Collection of all Datadog Public endpoints. + +The version of the OpenAPI document: 1.0 +Contact: support@datadoghq.com +Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator + + Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + This product includes software developed at Datadog (https://www.datadoghq.com/). + Copyright 2020-Present Datadog, Inc. + +=end + +require 'date' +require 'time' + +module DatadogAPIClient::V1 + # Online Archive usage response. + class UsageOnlineArchiveResponse + include BaseGenericModel + + # Whether the object has unparsed attributes + # @!visibility private + attr_accessor :_unparsed + + # Response containing Online Archive usage. + attr_accessor :usage + + # Attribute mapping from ruby-style variable name to JSON key. + # @!visibility private + def self.attribute_map + { + :'usage' => :'usage' + } + end + + # Returns all the JSON keys this model knows about + # @!visibility private + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + # @!visibility private + def self.openapi_types + { + :'usage' => :'Array' + } + end + + # List of attributes with nullable: true + # @!visibility private + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param attributes [Hash] Model attributes in the form of hash + # @!visibility private + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::UsageOnlineArchiveResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::UsageOnlineArchiveResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'usage') + if (value = attributes[:'usage']).is_a?(Array) + self.usage = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + # @!visibility private + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + # @!visibility private + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param o [Object] Object to be compared + # @!visibility private + def ==(o) + return true if self.equal?(o) + self.class == o.class && + usage == o.usage + end + + # @see the `==` method + # @param o [Object] Object to be compared + # @!visibility private + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + # @!visibility private + def hash + [usage].hash + end + end +end diff --git a/lib/datadog_api_client/v1/models/usage_summary_date.rb b/lib/datadog_api_client/v1/models/usage_summary_date.rb index 7ce4dca6da66..ac8163920c76 100644 --- a/lib/datadog_api_client/v1/models/usage_summary_date.rb +++ b/lib/datadog_api_client/v1/models/usage_summary_date.rb @@ -166,6 +166,9 @@ class UsageSummaryDate # Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for all organizations. attr_accessor :npm_host_top99p + # Sum of all online archived events over all hours in the current date for all organizations. + attr_accessor :online_archive_events_count_sum + # Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for all organizations. attr_accessor :opentelemetry_host_top99p @@ -259,6 +262,7 @@ def self.attribute_map :'mobile_rum_units_sum' => :'mobile_rum_units_sum', :'netflow_indexed_events_count_sum' => :'netflow_indexed_events_count_sum', :'npm_host_top99p' => :'npm_host_top99p', + :'online_archive_events_count_sum' => :'online_archive_events_count_sum', :'opentelemetry_host_top99p' => :'opentelemetry_host_top99p', :'orgs' => :'orgs', :'profiling_host_top99p' => :'profiling_host_top99p', @@ -333,6 +337,7 @@ def self.openapi_types :'mobile_rum_units_sum' => :'Integer', :'netflow_indexed_events_count_sum' => :'Integer', :'npm_host_top99p' => :'Integer', + :'online_archive_events_count_sum' => :'Integer', :'opentelemetry_host_top99p' => :'Integer', :'orgs' => :'Array', :'profiling_host_top99p' => :'Integer', @@ -561,6 +566,10 @@ def initialize(attributes = {}) self.npm_host_top99p = attributes[:'npm_host_top99p'] end + if attributes.key?(:'online_archive_events_count_sum') + self.online_archive_events_count_sum = attributes[:'online_archive_events_count_sum'] + end + if attributes.key?(:'opentelemetry_host_top99p') self.opentelemetry_host_top99p = attributes[:'opentelemetry_host_top99p'] end @@ -688,6 +697,7 @@ def ==(o) mobile_rum_units_sum == o.mobile_rum_units_sum && netflow_indexed_events_count_sum == o.netflow_indexed_events_count_sum && npm_host_top99p == o.npm_host_top99p && + online_archive_events_count_sum == o.online_archive_events_count_sum && opentelemetry_host_top99p == o.opentelemetry_host_top99p && orgs == o.orgs && profiling_host_top99p == o.profiling_host_top99p && @@ -715,7 +725,7 @@ def eql?(o) # @return [Integer] Hash code # @!visibility private def hash - [agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, container_avg, container_hwm, cspm_aas_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, netflow_indexed_events_count_sum, npm_host_top99p, opentelemetry_host_top99p, orgs, profiling_host_top99p, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_logs_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash + [agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, container_avg, container_hwm, cspm_aas_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, netflow_indexed_events_count_sum, npm_host_top99p, online_archive_events_count_sum, opentelemetry_host_top99p, orgs, profiling_host_top99p, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_logs_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash end end end diff --git a/lib/datadog_api_client/v1/models/usage_summary_date_org.rb b/lib/datadog_api_client/v1/models/usage_summary_date_org.rb index d8329a5d778f..066a1f7477a6 100644 --- a/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +++ b/lib/datadog_api_client/v1/models/usage_summary_date_org.rb @@ -169,6 +169,9 @@ class UsageSummaryDateOrg # Shows the 99th percentile of all distinct Networks hosts over all hours in the current date for the given org. attr_accessor :npm_host_top99p + # Sum of all online archived events over all hours in the current date for the given org. + attr_accessor :online_archive_events_count_sum + # Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for the given org. attr_accessor :opentelemetry_host_top99p @@ -263,6 +266,7 @@ def self.attribute_map :'name' => :'name', :'netflow_indexed_events_count_sum' => :'netflow_indexed_events_count_sum', :'npm_host_top99p' => :'npm_host_top99p', + :'online_archive_events_count_sum' => :'online_archive_events_count_sum', :'opentelemetry_host_top99p' => :'opentelemetry_host_top99p', :'profiling_host_top99p' => :'profiling_host_top99p', :'public_id' => :'public_id', @@ -338,6 +342,7 @@ def self.openapi_types :'name' => :'String', :'netflow_indexed_events_count_sum' => :'Integer', :'npm_host_top99p' => :'Integer', + :'online_archive_events_count_sum' => :'Integer', :'opentelemetry_host_top99p' => :'Integer', :'profiling_host_top99p' => :'Integer', :'public_id' => :'String', @@ -570,6 +575,10 @@ def initialize(attributes = {}) self.npm_host_top99p = attributes[:'npm_host_top99p'] end + if attributes.key?(:'online_archive_events_count_sum') + self.online_archive_events_count_sum = attributes[:'online_archive_events_count_sum'] + end + if attributes.key?(:'opentelemetry_host_top99p') self.opentelemetry_host_top99p = attributes[:'opentelemetry_host_top99p'] end @@ -696,6 +705,7 @@ def ==(o) name == o.name && netflow_indexed_events_count_sum == o.netflow_indexed_events_count_sum && npm_host_top99p == o.npm_host_top99p && + online_archive_events_count_sum == o.online_archive_events_count_sum && opentelemetry_host_top99p == o.opentelemetry_host_top99p && profiling_host_top99p == o.profiling_host_top99p && public_id == o.public_id && @@ -723,7 +733,7 @@ def eql?(o) # @return [Integer] Hash code # @!visibility private def hash - [agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, container_avg, container_hwm, cspm_aas_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_avg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, name, netflow_indexed_events_count_sum, npm_host_top99p, opentelemetry_host_top99p, profiling_host_top99p, public_id, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_logs_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash + [agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, container_avg, container_hwm, cspm_aas_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_avg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, name, netflow_indexed_events_count_sum, npm_host_top99p, online_archive_events_count_sum, opentelemetry_host_top99p, profiling_host_top99p, public_id, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_logs_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash end end end diff --git a/lib/datadog_api_client/v1/models/usage_summary_response.rb b/lib/datadog_api_client/v1/models/usage_summary_response.rb index 885a726ae790..7debbedf23e0 100644 --- a/lib/datadog_api_client/v1/models/usage_summary_response.rb +++ b/lib/datadog_api_client/v1/models/usage_summary_response.rb @@ -181,6 +181,9 @@ class UsageSummaryResponse # Shows the 99th percentile of all distinct Networks hosts over all hours in the current months for all organizations. attr_accessor :npm_host_top99p_sum + # Sum of all online archived events over all hours in the current months for all organizations. + attr_accessor :online_archive_events_count_agg_sum + # Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current months for all organizations. attr_accessor :opentelemetry_host_top99p_sum @@ -291,6 +294,7 @@ def self.attribute_map :'mobile_rum_units_agg_sum' => :'mobile_rum_units_agg_sum', :'netflow_indexed_events_count_agg_sum' => :'netflow_indexed_events_count_agg_sum', :'npm_host_top99p_sum' => :'npm_host_top99p_sum', + :'online_archive_events_count_agg_sum' => :'online_archive_events_count_agg_sum', :'opentelemetry_host_top99p_sum' => :'opentelemetry_host_top99p_sum', :'profiling_container_agent_count_avg' => :'profiling_container_agent_count_avg', :'profiling_host_count_top99p_sum' => :'profiling_host_count_top99p_sum', @@ -374,6 +378,7 @@ def self.openapi_types :'mobile_rum_units_agg_sum' => :'Integer', :'netflow_indexed_events_count_agg_sum' => :'Integer', :'npm_host_top99p_sum' => :'Integer', + :'online_archive_events_count_agg_sum' => :'Integer', :'opentelemetry_host_top99p_sum' => :'Integer', :'profiling_container_agent_count_avg' => :'Integer', :'profiling_host_count_top99p_sum' => :'Integer', @@ -626,6 +631,10 @@ def initialize(attributes = {}) self.npm_host_top99p_sum = attributes[:'npm_host_top99p_sum'] end + if attributes.key?(:'online_archive_events_count_agg_sum') + self.online_archive_events_count_agg_sum = attributes[:'online_archive_events_count_agg_sum'] + end + if attributes.key?(:'opentelemetry_host_top99p_sum') self.opentelemetry_host_top99p_sum = attributes[:'opentelemetry_host_top99p_sum'] end @@ -774,6 +783,7 @@ def ==(o) mobile_rum_units_agg_sum == o.mobile_rum_units_agg_sum && netflow_indexed_events_count_agg_sum == o.netflow_indexed_events_count_agg_sum && npm_host_top99p_sum == o.npm_host_top99p_sum && + online_archive_events_count_agg_sum == o.online_archive_events_count_agg_sum && opentelemetry_host_top99p_sum == o.opentelemetry_host_top99p_sum && profiling_container_agent_count_avg == o.profiling_container_agent_count_avg && profiling_host_count_top99p_sum == o.profiling_host_count_top99p_sum && @@ -805,7 +815,7 @@ def eql?(o) # @return [Integer] Hash code # @!visibility private def hash - [agent_host_top99p_sum, apm_azure_app_service_host_top99p_sum, apm_host_top99p_sum, audit_logs_lines_indexed_agg_sum, avg_profiled_fargate_tasks_sum, aws_host_top99p_sum, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p_sum, azure_host_top99p_sum, billable_ingested_bytes_agg_sum, browser_rum_lite_session_count_agg_sum, browser_rum_replay_session_count_agg_sum, browser_rum_units_agg_sum, ci_pipeline_indexed_spans_agg_sum, ci_test_indexed_spans_agg_sum, ci_visibility_pipeline_committers_hwm_sum, ci_visibility_test_committers_hwm_sum, container_avg_sum, container_hwm_sum, cspm_aas_host_top99p_sum, cspm_azure_host_top99p_sum, cspm_container_avg_sum, cspm_container_hwm_sum, cspm_host_top99p_sum, custom_ts_sum, cws_containers_avg_sum, cws_host_top99p_sum, dbm_host_top99p_sum, dbm_queries_avg_sum, end_date, fargate_tasks_count_avg_sum, fargate_tasks_count_hwm_sum, gcp_host_top99p_sum, heroku_host_top99p_sum, incident_management_monthly_active_users_hwm_sum, indexed_events_count_agg_sum, infra_host_top99p_sum, ingested_events_bytes_agg_sum, iot_device_agg_sum, iot_device_top99p_sum, last_updated, live_indexed_events_agg_sum, live_ingested_bytes_agg_sum, logs_by_retention, mobile_rum_lite_session_count_agg_sum, mobile_rum_session_count_agg_sum, mobile_rum_session_count_android_agg_sum, mobile_rum_session_count_ios_agg_sum, mobile_rum_units_agg_sum, netflow_indexed_events_count_agg_sum, npm_host_top99p_sum, opentelemetry_host_top99p_sum, profiling_container_agent_count_avg, profiling_host_count_top99p_sum, rehydrated_indexed_events_agg_sum, rehydrated_ingested_bytes_agg_sum, rum_browser_and_mobile_session_count, rum_session_count_agg_sum, rum_total_session_count_agg_sum, rum_units_agg_sum, sds_logs_scanned_bytes_sum, sds_total_scanned_bytes_sum, start_date, synthetics_browser_check_calls_count_agg_sum, synthetics_check_calls_count_agg_sum, trace_search_indexed_events_count_agg_sum, twol_ingested_events_bytes_agg_sum, usage, vsphere_host_top99p_sum].hash + [agent_host_top99p_sum, apm_azure_app_service_host_top99p_sum, apm_host_top99p_sum, audit_logs_lines_indexed_agg_sum, avg_profiled_fargate_tasks_sum, aws_host_top99p_sum, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p_sum, azure_host_top99p_sum, billable_ingested_bytes_agg_sum, browser_rum_lite_session_count_agg_sum, browser_rum_replay_session_count_agg_sum, browser_rum_units_agg_sum, ci_pipeline_indexed_spans_agg_sum, ci_test_indexed_spans_agg_sum, ci_visibility_pipeline_committers_hwm_sum, ci_visibility_test_committers_hwm_sum, container_avg_sum, container_hwm_sum, cspm_aas_host_top99p_sum, cspm_azure_host_top99p_sum, cspm_container_avg_sum, cspm_container_hwm_sum, cspm_host_top99p_sum, custom_ts_sum, cws_containers_avg_sum, cws_host_top99p_sum, dbm_host_top99p_sum, dbm_queries_avg_sum, end_date, fargate_tasks_count_avg_sum, fargate_tasks_count_hwm_sum, gcp_host_top99p_sum, heroku_host_top99p_sum, incident_management_monthly_active_users_hwm_sum, indexed_events_count_agg_sum, infra_host_top99p_sum, ingested_events_bytes_agg_sum, iot_device_agg_sum, iot_device_top99p_sum, last_updated, live_indexed_events_agg_sum, live_ingested_bytes_agg_sum, logs_by_retention, mobile_rum_lite_session_count_agg_sum, mobile_rum_session_count_agg_sum, mobile_rum_session_count_android_agg_sum, mobile_rum_session_count_ios_agg_sum, mobile_rum_units_agg_sum, netflow_indexed_events_count_agg_sum, npm_host_top99p_sum, online_archive_events_count_agg_sum, opentelemetry_host_top99p_sum, profiling_container_agent_count_avg, profiling_host_count_top99p_sum, rehydrated_indexed_events_agg_sum, rehydrated_ingested_bytes_agg_sum, rum_browser_and_mobile_session_count, rum_session_count_agg_sum, rum_total_session_count_agg_sum, rum_units_agg_sum, sds_logs_scanned_bytes_sum, sds_total_scanned_bytes_sum, start_date, synthetics_browser_check_calls_count_agg_sum, synthetics_check_calls_count_agg_sum, trace_search_indexed_events_count_agg_sum, twol_ingested_events_bytes_agg_sum, usage, vsphere_host_top99p_sum].hash end end end