diff --git a/.apigentools-info b/.apigentools-info index b1d5e78960..375471dbf5 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-22 15:33:35.975887", - "spec_repo_commit": "a79d8d5b" + "regenerated": "2024-02-22 21:46:26.021968", + "spec_repo_commit": "50b6182f" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-02-22 15:33:35.991031", - "spec_repo_commit": "a79d8d5b" + "regenerated": "2024-02-22 21:46:26.062547", + "spec_repo_commit": "50b6182f" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 78833ea773..5258e6f0ff 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -16872,6 +16872,8 @@ components: - estimated_rum_usage_attribution_percentage - asm_serverless_traced_invocations_usage - asm_serverless_traced_invocations_percentage + - error_tracking_usage + - error_tracking_percentage type: string x-enum-varnames: - API_PERCENTAGE @@ -16912,6 +16914,8 @@ components: - ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE - ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE - ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE + - ERROR_TRACKING_USAGE + - ERROR_TRACKING_PERCENTAGE UsageAttributionSupportedMetrics: description: Supported fields for usage attribution requests (valid requests contain one or more metrics, or `*` for all). @@ -16964,6 +16968,8 @@ components: - estimated_rum_usage_attribution_percentage - asm_serverless_traced_invocations_usage - asm_serverless_traced_invocations_percentage + - error_tracking_usage + - error_tracking_percentage - '*' type: string x-enum-varnames: @@ -17015,6 +17021,8 @@ components: - ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE - ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE - ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE + - ERROR_TRACKING_USAGE + - ERROR_TRACKING_PERCENTAGE - ALL UsageAttributionTagNames: additionalProperties: @@ -18820,6 +18828,11 @@ components: given date and given organization. format: int64 type: integer + cloud_cost_management_gcp_host_count_avg: + description: Host count average of Cloud Cost Management for GCP for the + given date and given organization. + format: int64 + type: integer cloud_cost_management_host_count_avg: description: Host count average of Cloud Cost Management for all cloud providers for the given date and given organization. @@ -18967,6 +18980,11 @@ components: over all hours in the current date for all organizations. format: int64 type: integer + error_tracking_events_sum: + description: Shows the sum of all Error Tracking events over all hours in + the current date for the given org. + format: int64 + type: integer fargate_tasks_count_avg: description: Shows the high-watermark of all Fargate tasks over all hours in the current date for all organizations. @@ -18977,6 +18995,31 @@ components: current date for all organizations. format: int64 type: integer + flex_logs_compute_large_avg: + description: Shows the average number of Flex Logs Compute Large Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_logs_compute_medium_avg: + description: Shows the average number of Flex Logs Compute Medium Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_logs_compute_small_avg: + description: Shows the average number of Flex Logs Compute Small Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_logs_compute_xsmall_avg: + description: Shows the average number of Flex Logs Compute Extra Small Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_stored_logs_avg: + description: Shows the average of all Flex Stored Logs over all hours in + the current date for the given org. + format: int64 + type: integer forwarding_events_bytes_sum: description: Shows the sum of all log bytes forwarded over all hours in the current date for all organizations. @@ -19356,6 +19399,11 @@ components: given date and given org. format: int64 type: integer + cloud_cost_management_gcp_host_count_avg: + description: Host count average of Cloud Cost Management for GCP for the + given date and given org. + format: int64 + type: integer cloud_cost_management_host_count_avg: description: Host count average of Cloud Cost Management for all cloud providers for the given date and given org. @@ -19509,6 +19557,11 @@ components: queries over all hours in the current month for the given org. format: int64 type: integer + error_tracking_events_sum: + description: Shows the sum of all Error Tracking events over all hours in + the current date for the given org. + format: int64 + type: integer fargate_tasks_count_avg: description: The average task count for Fargate. format: int64 @@ -19518,6 +19571,31 @@ components: in the current date for the given org. format: int64 type: integer + flex_logs_compute_large_avg: + description: Shows the average number of Flex Logs Compute Large Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_logs_compute_medium_avg: + description: Shows the average number of Flex Logs Compute Medium Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_logs_compute_small_avg: + description: Shows the average number of Flex Logs Compute Small Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_logs_compute_xsmall_avg: + description: Shows the average number of Flex Logs Compute Extra Small Instances + over all hours in the current date for the given org. + format: int64 + type: integer + flex_stored_logs_avg: + description: Shows the average of all Flex Stored Logs over all hours in + the current date for the given org. + format: int64 + type: integer forwarding_events_bytes_sum: description: Shows the sum of all log bytes forwarded over all hours in the current date for the given org. @@ -19909,6 +19987,11 @@ components: Azure. format: int64 type: integer + cloud_cost_management_gcp_host_count_avg_sum: + description: Sum of the host count average for Cloud Cost Management for + GCP. + format: int64 + type: integer cloud_cost_management_host_count_avg_sum: description: Sum of the host count average for Cloud Cost Management for all cloud providers. @@ -20065,6 +20148,11 @@ components: organizations. format: date-time type: string + error_tracking_events_agg_sum: + description: Shows the sum of all Error Tracking events over all hours in + the current months for all organizations. + format: int64 + type: integer fargate_tasks_count_avg_sum: description: Shows the average of all Fargate tasks over all hours in the current months for all organizations. @@ -20075,6 +20163,31 @@ components: over all hours in the current months for all organizations. format: int64 type: integer + flex_logs_compute_large_avg_sum: + description: Shows the average number of Flex Logs Compute Large Instances + over all hours in the current months for all organizations. + format: int64 + type: integer + flex_logs_compute_medium_avg_sum: + description: Shows the average number of Flex Logs Compute Medium Instances + over all hours in the current months for all organizations. + format: int64 + type: integer + flex_logs_compute_small_avg_sum: + description: Shows the average number of Flex Logs Compute Small Instances + over all hours in the current months for all organizations. + format: int64 + type: integer + flex_logs_compute_xsmall_avg_sum: + description: Shows the average number of Flex Logs Compute Extra Small Instances + over all hours in the current months for all organizations. + format: int64 + type: integer + flex_stored_logs_avg_sum: + description: Shows the average of all Flex Stored Logs over all hours in + the current months for all organizations. + format: int64 + type: integer forwarding_events_bytes_agg_sum: description: Shows the sum of all logs forwarding bytes over all hours in the current months for all organizations (data available as of April 1, diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index ccb37d1f31..dbf3a054c0 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -33779,10 +33779,10 @@ paths: `application_security`, `audit_trail`, `serverless`, `ci_app`, `cloud_cost_management`, `csm_container_enterprise`, `csm_host_enterprise`, `cspm`, `custom_events`, - `cws`, `dbm`, `fargate`, + `cws`, `dbm`, `error_tracking`, - `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`, - `iot`, + `fargate`, `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, + `ingested_spans`, `iot`, `lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `netflow_monitoring`, `observability_pipelines`, diff --git a/src/datadog_api_client/v1/model/usage_attribution_sort.py b/src/datadog_api_client/v1/model/usage_attribution_sort.py index 2cb6edbdb2..e6d2497731 100644 --- a/src/datadog_api_client/v1/model/usage_attribution_sort.py +++ b/src/datadog_api_client/v1/model/usage_attribution_sort.py @@ -16,7 +16,7 @@ class UsageAttributionSort(ModelSimple): """ The field to sort by. - :param value: If omitted defaults to "custom_timeseries_usage". Must be one of ["api_percentage", "snmp_usage", "apm_host_usage", "api_usage", "appsec_usage", "appsec_percentage", "container_usage", "custom_timeseries_percentage", "container_percentage", "apm_host_percentage", "npm_host_percentage", "browser_percentage", "browser_usage", "infra_host_percentage", "snmp_percentage", "npm_host_usage", "infra_host_usage", "custom_timeseries_usage", "lambda_functions_usage", "lambda_functions_percentage", "lambda_invocations_usage", "lambda_invocations_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "estimated_rum_usage_attribution_usage", "estimated_rum_usage_attribution_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage"]. + :param value: If omitted defaults to "custom_timeseries_usage". Must be one of ["api_percentage", "snmp_usage", "apm_host_usage", "api_usage", "appsec_usage", "appsec_percentage", "container_usage", "custom_timeseries_percentage", "container_percentage", "apm_host_percentage", "npm_host_percentage", "browser_percentage", "browser_usage", "infra_host_percentage", "snmp_percentage", "npm_host_usage", "infra_host_usage", "custom_timeseries_usage", "lambda_functions_usage", "lambda_functions_percentage", "lambda_invocations_usage", "lambda_invocations_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "estimated_rum_usage_attribution_usage", "estimated_rum_usage_attribution_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "error_tracking_usage", "error_tracking_percentage"]. :type value: str """ @@ -59,6 +59,8 @@ class UsageAttributionSort(ModelSimple): "estimated_rum_usage_attribution_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", + "error_tracking_usage", + "error_tracking_percentage", } API_PERCENTAGE: ClassVar["UsageAttributionSort"] SNMP_USAGE: ClassVar["UsageAttributionSort"] @@ -98,6 +100,8 @@ class UsageAttributionSort(ModelSimple): ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE: ClassVar["UsageAttributionSort"] ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE: ClassVar["UsageAttributionSort"] ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE: ClassVar["UsageAttributionSort"] + ERROR_TRACKING_USAGE: ClassVar["UsageAttributionSort"] + ERROR_TRACKING_PERCENTAGE: ClassVar["UsageAttributionSort"] @cached_property def openapi_types(_): @@ -152,3 +156,5 @@ def openapi_types(_): UsageAttributionSort.ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = UsageAttributionSort( "asm_serverless_traced_invocations_percentage" ) +UsageAttributionSort.ERROR_TRACKING_USAGE = UsageAttributionSort("error_tracking_usage") +UsageAttributionSort.ERROR_TRACKING_PERCENTAGE = UsageAttributionSort("error_tracking_percentage") diff --git a/src/datadog_api_client/v1/model/usage_attribution_supported_metrics.py b/src/datadog_api_client/v1/model/usage_attribution_supported_metrics.py index 5831a35dfe..6a87787017 100644 --- a/src/datadog_api_client/v1/model/usage_attribution_supported_metrics.py +++ b/src/datadog_api_client/v1/model/usage_attribution_supported_metrics.py @@ -16,7 +16,7 @@ class UsageAttributionSupportedMetrics(ModelSimple): """ Supported fields for usage attribution requests (valid requests contain one or more metrics, or `*` for all). - :param value: Must be one of ["custom_timeseries_usage", "container_usage", "snmp_percentage", "apm_host_usage", "browser_usage", "npm_host_percentage", "infra_host_usage", "custom_timeseries_percentage", "container_percentage", "api_usage", "apm_host_percentage", "infra_host_percentage", "snmp_usage", "browser_percentage", "api_percentage", "npm_host_usage", "lambda_functions_usage", "lambda_functions_percentage", "lambda_invocations_usage", "lambda_invocations_percentage", "fargate_usage", "fargate_percentage", "profiled_host_usage", "profiled_host_percentage", "profiled_container_usage", "profiled_container_percentage", "dbm_hosts_usage", "dbm_hosts_percentage", "dbm_queries_usage", "dbm_queries_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "appsec_usage", "appsec_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "estimated_rum_usage_attribution_usage", "estimated_rum_usage_attribution_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "*"]. + :param value: Must be one of ["custom_timeseries_usage", "container_usage", "snmp_percentage", "apm_host_usage", "browser_usage", "npm_host_percentage", "infra_host_usage", "custom_timeseries_percentage", "container_percentage", "api_usage", "apm_host_percentage", "infra_host_percentage", "snmp_usage", "browser_percentage", "api_percentage", "npm_host_usage", "lambda_functions_usage", "lambda_functions_percentage", "lambda_invocations_usage", "lambda_invocations_percentage", "fargate_usage", "fargate_percentage", "profiled_host_usage", "profiled_host_percentage", "profiled_container_usage", "profiled_container_percentage", "dbm_hosts_usage", "dbm_hosts_percentage", "dbm_queries_usage", "dbm_queries_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "appsec_usage", "appsec_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "estimated_rum_usage_attribution_usage", "estimated_rum_usage_attribution_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "error_tracking_usage", "error_tracking_percentage", "*"]. :type value: str """ @@ -69,6 +69,8 @@ class UsageAttributionSupportedMetrics(ModelSimple): "estimated_rum_usage_attribution_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", + "error_tracking_usage", + "error_tracking_percentage", "*", } CUSTOM_TIMESERIES_USAGE: ClassVar["UsageAttributionSupportedMetrics"] @@ -119,6 +121,8 @@ class UsageAttributionSupportedMetrics(ModelSimple): ESTIMATED_RUM_USAGE_ATTRIBUTION_PERCENTAGE: ClassVar["UsageAttributionSupportedMetrics"] ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE: ClassVar["UsageAttributionSupportedMetrics"] ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE: ClassVar["UsageAttributionSupportedMetrics"] + ERROR_TRACKING_USAGE: ClassVar["UsageAttributionSupportedMetrics"] + ERROR_TRACKING_PERCENTAGE: ClassVar["UsageAttributionSupportedMetrics"] ALL: ClassVar["UsageAttributionSupportedMetrics"] @cached_property @@ -210,4 +214,8 @@ def openapi_types(_): UsageAttributionSupportedMetrics.ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = UsageAttributionSupportedMetrics( "asm_serverless_traced_invocations_percentage" ) +UsageAttributionSupportedMetrics.ERROR_TRACKING_USAGE = UsageAttributionSupportedMetrics("error_tracking_usage") +UsageAttributionSupportedMetrics.ERROR_TRACKING_PERCENTAGE = UsageAttributionSupportedMetrics( + "error_tracking_percentage" +) UsageAttributionSupportedMetrics.ALL = UsageAttributionSupportedMetrics("*") diff --git a/src/datadog_api_client/v1/model/usage_summary_date.py b/src/datadog_api_client/v1/model/usage_summary_date.py index 96cc231c1c..553ad3a690 100644 --- a/src/datadog_api_client/v1/model/usage_summary_date.py +++ b/src/datadog_api_client/v1/model/usage_summary_date.py @@ -49,6 +49,7 @@ def openapi_types(_): "ci_visibility_test_committers_hwm": (int,), "cloud_cost_management_aws_host_count_avg": (int,), "cloud_cost_management_azure_host_count_avg": (int,), + "cloud_cost_management_gcp_host_count_avg": (int,), "cloud_cost_management_host_count_avg": (int,), "cloud_siem_events_sum": (int,), "container_avg": (int,), @@ -77,8 +78,14 @@ def openapi_types(_): "date": (datetime,), "dbm_host_top99p": (int,), "dbm_queries_count_avg": (int,), + "error_tracking_events_sum": (int,), "fargate_tasks_count_avg": (int,), "fargate_tasks_count_hwm": (int,), + "flex_logs_compute_large_avg": (int,), + "flex_logs_compute_medium_avg": (int,), + "flex_logs_compute_small_avg": (int,), + "flex_logs_compute_xsmall_avg": (int,), + "flex_stored_logs_avg": (int,), "forwarding_events_bytes_sum": (int,), "gcp_host_top99p": (int,), "heroku_host_top99p": (int,), @@ -156,6 +163,7 @@ def openapi_types(_): "ci_visibility_test_committers_hwm": "ci_visibility_test_committers_hwm", "cloud_cost_management_aws_host_count_avg": "cloud_cost_management_aws_host_count_avg", "cloud_cost_management_azure_host_count_avg": "cloud_cost_management_azure_host_count_avg", + "cloud_cost_management_gcp_host_count_avg": "cloud_cost_management_gcp_host_count_avg", "cloud_cost_management_host_count_avg": "cloud_cost_management_host_count_avg", "cloud_siem_events_sum": "cloud_siem_events_sum", "container_avg": "container_avg", @@ -184,8 +192,14 @@ def openapi_types(_): "date": "date", "dbm_host_top99p": "dbm_host_top99p", "dbm_queries_count_avg": "dbm_queries_count_avg", + "error_tracking_events_sum": "error_tracking_events_sum", "fargate_tasks_count_avg": "fargate_tasks_count_avg", "fargate_tasks_count_hwm": "fargate_tasks_count_hwm", + "flex_logs_compute_large_avg": "flex_logs_compute_large_avg", + "flex_logs_compute_medium_avg": "flex_logs_compute_medium_avg", + "flex_logs_compute_small_avg": "flex_logs_compute_small_avg", + "flex_logs_compute_xsmall_avg": "flex_logs_compute_xsmall_avg", + "flex_stored_logs_avg": "flex_stored_logs_avg", "forwarding_events_bytes_sum": "forwarding_events_bytes_sum", "gcp_host_top99p": "gcp_host_top99p", "heroku_host_top99p": "heroku_host_top99p", @@ -264,6 +278,7 @@ def __init__( ci_visibility_test_committers_hwm: Union[int, UnsetType] = unset, cloud_cost_management_aws_host_count_avg: Union[int, UnsetType] = unset, cloud_cost_management_azure_host_count_avg: Union[int, UnsetType] = unset, + cloud_cost_management_gcp_host_count_avg: Union[int, UnsetType] = unset, cloud_cost_management_host_count_avg: Union[int, UnsetType] = unset, cloud_siem_events_sum: Union[int, UnsetType] = unset, container_avg: Union[int, UnsetType] = unset, @@ -292,8 +307,14 @@ def __init__( date: Union[datetime, UnsetType] = unset, dbm_host_top99p: Union[int, UnsetType] = unset, dbm_queries_count_avg: Union[int, UnsetType] = unset, + error_tracking_events_sum: Union[int, UnsetType] = unset, fargate_tasks_count_avg: Union[int, UnsetType] = unset, fargate_tasks_count_hwm: Union[int, UnsetType] = unset, + flex_logs_compute_large_avg: Union[int, UnsetType] = unset, + flex_logs_compute_medium_avg: Union[int, UnsetType] = unset, + flex_logs_compute_small_avg: Union[int, UnsetType] = unset, + flex_logs_compute_xsmall_avg: Union[int, UnsetType] = unset, + flex_stored_logs_avg: Union[int, UnsetType] = unset, forwarding_events_bytes_sum: Union[int, UnsetType] = unset, gcp_host_top99p: Union[int, UnsetType] = unset, heroku_host_top99p: Union[int, UnsetType] = unset, @@ -423,6 +444,9 @@ def __init__( :param cloud_cost_management_azure_host_count_avg: Host count average of Cloud Cost Management for Azure for the given date and given organization. :type cloud_cost_management_azure_host_count_avg: int, optional + :param cloud_cost_management_gcp_host_count_avg: Host count average of Cloud Cost Management for GCP for the given date and given organization. + :type cloud_cost_management_gcp_host_count_avg: int, optional + :param cloud_cost_management_host_count_avg: Host count average of Cloud Cost Management for all cloud providers for the given date and given organization. :type cloud_cost_management_host_count_avg: int, optional @@ -507,12 +531,30 @@ def __init__( :param dbm_queries_count_avg: Shows the average of all normalized Database Monitoring queries over all hours in the current date for all organizations. :type dbm_queries_count_avg: int, optional + :param error_tracking_events_sum: Shows the sum of all Error Tracking events over all hours in the current date for the given org. + :type error_tracking_events_sum: int, optional + :param fargate_tasks_count_avg: Shows the high-watermark of all Fargate tasks over all hours in the current date for all organizations. :type fargate_tasks_count_avg: int, optional :param fargate_tasks_count_hwm: Shows the average of all Fargate tasks over all hours in the current date for all organizations. :type fargate_tasks_count_hwm: int, optional + :param flex_logs_compute_large_avg: Shows the average number of Flex Logs Compute Large Instances over all hours in the current date for the given org. + :type flex_logs_compute_large_avg: int, optional + + :param flex_logs_compute_medium_avg: Shows the average number of Flex Logs Compute Medium Instances over all hours in the current date for the given org. + :type flex_logs_compute_medium_avg: int, optional + + :param flex_logs_compute_small_avg: Shows the average number of Flex Logs Compute Small Instances over all hours in the current date for the given org. + :type flex_logs_compute_small_avg: int, optional + + :param flex_logs_compute_xsmall_avg: Shows the average number of Flex Logs Compute Extra Small Instances over all hours in the current date for the given org. + :type flex_logs_compute_xsmall_avg: int, optional + + :param flex_stored_logs_avg: Shows the average of all Flex Stored Logs over all hours in the current date for the given org. + :type flex_stored_logs_avg: int, optional + :param forwarding_events_bytes_sum: Shows the sum of all log bytes forwarded over all hours in the current date for all organizations. :type forwarding_events_bytes_sum: int, optional @@ -710,6 +752,8 @@ def __init__( kwargs["cloud_cost_management_aws_host_count_avg"] = cloud_cost_management_aws_host_count_avg if cloud_cost_management_azure_host_count_avg is not unset: kwargs["cloud_cost_management_azure_host_count_avg"] = cloud_cost_management_azure_host_count_avg + if cloud_cost_management_gcp_host_count_avg is not unset: + kwargs["cloud_cost_management_gcp_host_count_avg"] = cloud_cost_management_gcp_host_count_avg if cloud_cost_management_host_count_avg is not unset: kwargs["cloud_cost_management_host_count_avg"] = cloud_cost_management_host_count_avg if cloud_siem_events_sum is not unset: @@ -768,10 +812,22 @@ def __init__( kwargs["dbm_host_top99p"] = dbm_host_top99p if dbm_queries_count_avg is not unset: kwargs["dbm_queries_count_avg"] = dbm_queries_count_avg + if error_tracking_events_sum is not unset: + kwargs["error_tracking_events_sum"] = error_tracking_events_sum if fargate_tasks_count_avg is not unset: kwargs["fargate_tasks_count_avg"] = fargate_tasks_count_avg if fargate_tasks_count_hwm is not unset: kwargs["fargate_tasks_count_hwm"] = fargate_tasks_count_hwm + if flex_logs_compute_large_avg is not unset: + kwargs["flex_logs_compute_large_avg"] = flex_logs_compute_large_avg + if flex_logs_compute_medium_avg is not unset: + kwargs["flex_logs_compute_medium_avg"] = flex_logs_compute_medium_avg + if flex_logs_compute_small_avg is not unset: + kwargs["flex_logs_compute_small_avg"] = flex_logs_compute_small_avg + if flex_logs_compute_xsmall_avg is not unset: + kwargs["flex_logs_compute_xsmall_avg"] = flex_logs_compute_xsmall_avg + if flex_stored_logs_avg is not unset: + kwargs["flex_stored_logs_avg"] = flex_stored_logs_avg if forwarding_events_bytes_sum is not unset: kwargs["forwarding_events_bytes_sum"] = forwarding_events_bytes_sum if gcp_host_top99p is not unset: diff --git a/src/datadog_api_client/v1/model/usage_summary_date_org.py b/src/datadog_api_client/v1/model/usage_summary_date_org.py index c13431d1b5..2f90cf0277 100644 --- a/src/datadog_api_client/v1/model/usage_summary_date_org.py +++ b/src/datadog_api_client/v1/model/usage_summary_date_org.py @@ -42,6 +42,7 @@ def openapi_types(_): "ci_visibility_test_committers_hwm": (int,), "cloud_cost_management_aws_host_count_avg": (int,), "cloud_cost_management_azure_host_count_avg": (int,), + "cloud_cost_management_gcp_host_count_avg": (int,), "cloud_cost_management_host_count_avg": (int,), "cloud_siem_events_sum": (int,), "container_avg": (int,), @@ -71,8 +72,14 @@ def openapi_types(_): "cws_host_top99p": (int,), "dbm_host_top99p_sum": (int,), "dbm_queries_avg_sum": (int,), + "error_tracking_events_sum": (int,), "fargate_tasks_count_avg": (int,), "fargate_tasks_count_hwm": (int,), + "flex_logs_compute_large_avg": (int,), + "flex_logs_compute_medium_avg": (int,), + "flex_logs_compute_small_avg": (int,), + "flex_logs_compute_xsmall_avg": (int,), + "flex_stored_logs_avg": (int,), "forwarding_events_bytes_sum": (int,), "gcp_host_top99p": (int,), "heroku_host_top99p": (int,), @@ -153,6 +160,7 @@ def openapi_types(_): "ci_visibility_test_committers_hwm": "ci_visibility_test_committers_hwm", "cloud_cost_management_aws_host_count_avg": "cloud_cost_management_aws_host_count_avg", "cloud_cost_management_azure_host_count_avg": "cloud_cost_management_azure_host_count_avg", + "cloud_cost_management_gcp_host_count_avg": "cloud_cost_management_gcp_host_count_avg", "cloud_cost_management_host_count_avg": "cloud_cost_management_host_count_avg", "cloud_siem_events_sum": "cloud_siem_events_sum", "container_avg": "container_avg", @@ -182,8 +190,14 @@ def openapi_types(_): "cws_host_top99p": "cws_host_top99p", "dbm_host_top99p_sum": "dbm_host_top99p_sum", "dbm_queries_avg_sum": "dbm_queries_avg_sum", + "error_tracking_events_sum": "error_tracking_events_sum", "fargate_tasks_count_avg": "fargate_tasks_count_avg", "fargate_tasks_count_hwm": "fargate_tasks_count_hwm", + "flex_logs_compute_large_avg": "flex_logs_compute_large_avg", + "flex_logs_compute_medium_avg": "flex_logs_compute_medium_avg", + "flex_logs_compute_small_avg": "flex_logs_compute_small_avg", + "flex_logs_compute_xsmall_avg": "flex_logs_compute_xsmall_avg", + "flex_stored_logs_avg": "flex_stored_logs_avg", "forwarding_events_bytes_sum": "forwarding_events_bytes_sum", "gcp_host_top99p": "gcp_host_top99p", "heroku_host_top99p": "heroku_host_top99p", @@ -265,6 +279,7 @@ def __init__( ci_visibility_test_committers_hwm: Union[int, UnsetType] = unset, cloud_cost_management_aws_host_count_avg: Union[int, UnsetType] = unset, cloud_cost_management_azure_host_count_avg: Union[int, UnsetType] = unset, + cloud_cost_management_gcp_host_count_avg: Union[int, UnsetType] = unset, cloud_cost_management_host_count_avg: Union[int, UnsetType] = unset, cloud_siem_events_sum: Union[int, UnsetType] = unset, container_avg: Union[int, UnsetType] = unset, @@ -294,8 +309,14 @@ def __init__( cws_host_top99p: Union[int, UnsetType] = unset, dbm_host_top99p_sum: Union[int, UnsetType] = unset, dbm_queries_avg_sum: Union[int, UnsetType] = unset, + error_tracking_events_sum: Union[int, UnsetType] = unset, fargate_tasks_count_avg: Union[int, UnsetType] = unset, fargate_tasks_count_hwm: Union[int, UnsetType] = unset, + flex_logs_compute_large_avg: Union[int, UnsetType] = unset, + flex_logs_compute_medium_avg: Union[int, UnsetType] = unset, + flex_logs_compute_small_avg: Union[int, UnsetType] = unset, + flex_logs_compute_xsmall_avg: Union[int, UnsetType] = unset, + flex_stored_logs_avg: Union[int, UnsetType] = unset, forwarding_events_bytes_sum: Union[int, UnsetType] = unset, gcp_host_top99p: Union[int, UnsetType] = unset, heroku_host_top99p: Union[int, UnsetType] = unset, @@ -428,6 +449,9 @@ def __init__( :param cloud_cost_management_azure_host_count_avg: Host count average of Cloud Cost Management for Azure for the given date and given org. :type cloud_cost_management_azure_host_count_avg: int, optional + :param cloud_cost_management_gcp_host_count_avg: Host count average of Cloud Cost Management for GCP for the given date and given org. + :type cloud_cost_management_gcp_host_count_avg: int, optional + :param cloud_cost_management_host_count_avg: Host count average of Cloud Cost Management for all cloud providers for the given date and given org. :type cloud_cost_management_host_count_avg: int, optional @@ -515,12 +539,30 @@ def __init__( :param dbm_queries_avg_sum: Shows the average of all distinct Database Monitoring normalized queries over all hours in the current month for the given org. :type dbm_queries_avg_sum: int, optional + :param error_tracking_events_sum: Shows the sum of all Error Tracking events over all hours in the current date for the given org. + :type error_tracking_events_sum: int, optional + :param fargate_tasks_count_avg: The average task count for Fargate. :type fargate_tasks_count_avg: int, optional :param fargate_tasks_count_hwm: Shows the high-water mark of all Fargate tasks over all hours in the current date for the given org. :type fargate_tasks_count_hwm: int, optional + :param flex_logs_compute_large_avg: Shows the average number of Flex Logs Compute Large Instances over all hours in the current date for the given org. + :type flex_logs_compute_large_avg: int, optional + + :param flex_logs_compute_medium_avg: Shows the average number of Flex Logs Compute Medium Instances over all hours in the current date for the given org. + :type flex_logs_compute_medium_avg: int, optional + + :param flex_logs_compute_small_avg: Shows the average number of Flex Logs Compute Small Instances over all hours in the current date for the given org. + :type flex_logs_compute_small_avg: int, optional + + :param flex_logs_compute_xsmall_avg: Shows the average number of Flex Logs Compute Extra Small Instances over all hours in the current date for the given org. + :type flex_logs_compute_xsmall_avg: int, optional + + :param flex_stored_logs_avg: Shows the average of all Flex Stored Logs over all hours in the current date for the given org. + :type flex_stored_logs_avg: int, optional + :param forwarding_events_bytes_sum: Shows the sum of all log bytes forwarded over all hours in the current date for the given org. :type forwarding_events_bytes_sum: int, optional @@ -727,6 +769,8 @@ def __init__( kwargs["cloud_cost_management_aws_host_count_avg"] = cloud_cost_management_aws_host_count_avg if cloud_cost_management_azure_host_count_avg is not unset: kwargs["cloud_cost_management_azure_host_count_avg"] = cloud_cost_management_azure_host_count_avg + if cloud_cost_management_gcp_host_count_avg is not unset: + kwargs["cloud_cost_management_gcp_host_count_avg"] = cloud_cost_management_gcp_host_count_avg if cloud_cost_management_host_count_avg is not unset: kwargs["cloud_cost_management_host_count_avg"] = cloud_cost_management_host_count_avg if cloud_siem_events_sum is not unset: @@ -787,10 +831,22 @@ def __init__( kwargs["dbm_host_top99p_sum"] = dbm_host_top99p_sum if dbm_queries_avg_sum is not unset: kwargs["dbm_queries_avg_sum"] = dbm_queries_avg_sum + if error_tracking_events_sum is not unset: + kwargs["error_tracking_events_sum"] = error_tracking_events_sum if fargate_tasks_count_avg is not unset: kwargs["fargate_tasks_count_avg"] = fargate_tasks_count_avg if fargate_tasks_count_hwm is not unset: kwargs["fargate_tasks_count_hwm"] = fargate_tasks_count_hwm + if flex_logs_compute_large_avg is not unset: + kwargs["flex_logs_compute_large_avg"] = flex_logs_compute_large_avg + if flex_logs_compute_medium_avg is not unset: + kwargs["flex_logs_compute_medium_avg"] = flex_logs_compute_medium_avg + if flex_logs_compute_small_avg is not unset: + kwargs["flex_logs_compute_small_avg"] = flex_logs_compute_small_avg + if flex_logs_compute_xsmall_avg is not unset: + kwargs["flex_logs_compute_xsmall_avg"] = flex_logs_compute_xsmall_avg + if flex_stored_logs_avg is not unset: + kwargs["flex_stored_logs_avg"] = flex_stored_logs_avg if forwarding_events_bytes_sum is not unset: kwargs["forwarding_events_bytes_sum"] = forwarding_events_bytes_sum if gcp_host_top99p is not unset: diff --git a/src/datadog_api_client/v1/model/usage_summary_response.py b/src/datadog_api_client/v1/model/usage_summary_response.py index 056a45b1e5..dbf9bf252b 100644 --- a/src/datadog_api_client/v1/model/usage_summary_response.py +++ b/src/datadog_api_client/v1/model/usage_summary_response.py @@ -52,6 +52,7 @@ def openapi_types(_): "ci_visibility_test_committers_hwm_sum": (int,), "cloud_cost_management_aws_host_count_avg_sum": (int,), "cloud_cost_management_azure_host_count_avg_sum": (int,), + "cloud_cost_management_gcp_host_count_avg_sum": (int,), "cloud_cost_management_host_count_avg_sum": (int,), "cloud_siem_events_agg_sum": (int,), "container_avg_sum": (int,), @@ -82,8 +83,14 @@ def openapi_types(_): "dbm_host_top99p_sum": (int,), "dbm_queries_avg_sum": (int,), "end_date": (datetime,), + "error_tracking_events_agg_sum": (int,), "fargate_tasks_count_avg_sum": (int,), "fargate_tasks_count_hwm_sum": (int,), + "flex_logs_compute_large_avg_sum": (int,), + "flex_logs_compute_medium_avg_sum": (int,), + "flex_logs_compute_small_avg_sum": (int,), + "flex_logs_compute_xsmall_avg_sum": (int,), + "flex_stored_logs_avg_sum": (int,), "forwarding_events_bytes_agg_sum": (int,), "gcp_host_top99p_sum": (int,), "heroku_host_top99p_sum": (int,), @@ -170,6 +177,7 @@ def openapi_types(_): "ci_visibility_test_committers_hwm_sum": "ci_visibility_test_committers_hwm_sum", "cloud_cost_management_aws_host_count_avg_sum": "cloud_cost_management_aws_host_count_avg_sum", "cloud_cost_management_azure_host_count_avg_sum": "cloud_cost_management_azure_host_count_avg_sum", + "cloud_cost_management_gcp_host_count_avg_sum": "cloud_cost_management_gcp_host_count_avg_sum", "cloud_cost_management_host_count_avg_sum": "cloud_cost_management_host_count_avg_sum", "cloud_siem_events_agg_sum": "cloud_siem_events_agg_sum", "container_avg_sum": "container_avg_sum", @@ -200,8 +208,14 @@ def openapi_types(_): "dbm_host_top99p_sum": "dbm_host_top99p_sum", "dbm_queries_avg_sum": "dbm_queries_avg_sum", "end_date": "end_date", + "error_tracking_events_agg_sum": "error_tracking_events_agg_sum", "fargate_tasks_count_avg_sum": "fargate_tasks_count_avg_sum", "fargate_tasks_count_hwm_sum": "fargate_tasks_count_hwm_sum", + "flex_logs_compute_large_avg_sum": "flex_logs_compute_large_avg_sum", + "flex_logs_compute_medium_avg_sum": "flex_logs_compute_medium_avg_sum", + "flex_logs_compute_small_avg_sum": "flex_logs_compute_small_avg_sum", + "flex_logs_compute_xsmall_avg_sum": "flex_logs_compute_xsmall_avg_sum", + "flex_stored_logs_avg_sum": "flex_stored_logs_avg_sum", "forwarding_events_bytes_agg_sum": "forwarding_events_bytes_agg_sum", "gcp_host_top99p_sum": "gcp_host_top99p_sum", "heroku_host_top99p_sum": "heroku_host_top99p_sum", @@ -289,6 +303,7 @@ def __init__( ci_visibility_test_committers_hwm_sum: Union[int, UnsetType] = unset, cloud_cost_management_aws_host_count_avg_sum: Union[int, UnsetType] = unset, cloud_cost_management_azure_host_count_avg_sum: Union[int, UnsetType] = unset, + cloud_cost_management_gcp_host_count_avg_sum: Union[int, UnsetType] = unset, cloud_cost_management_host_count_avg_sum: Union[int, UnsetType] = unset, cloud_siem_events_agg_sum: Union[int, UnsetType] = unset, container_avg_sum: Union[int, UnsetType] = unset, @@ -319,8 +334,14 @@ def __init__( dbm_host_top99p_sum: Union[int, UnsetType] = unset, dbm_queries_avg_sum: Union[int, UnsetType] = unset, end_date: Union[datetime, UnsetType] = unset, + error_tracking_events_agg_sum: Union[int, UnsetType] = unset, fargate_tasks_count_avg_sum: Union[int, UnsetType] = unset, fargate_tasks_count_hwm_sum: Union[int, UnsetType] = unset, + flex_logs_compute_large_avg_sum: Union[int, UnsetType] = unset, + flex_logs_compute_medium_avg_sum: Union[int, UnsetType] = unset, + flex_logs_compute_small_avg_sum: Union[int, UnsetType] = unset, + flex_logs_compute_xsmall_avg_sum: Union[int, UnsetType] = unset, + flex_stored_logs_avg_sum: Union[int, UnsetType] = unset, forwarding_events_bytes_agg_sum: Union[int, UnsetType] = unset, gcp_host_top99p_sum: Union[int, UnsetType] = unset, heroku_host_top99p_sum: Union[int, UnsetType] = unset, @@ -461,6 +482,9 @@ def __init__( :param cloud_cost_management_azure_host_count_avg_sum: Sum of the host count average for Cloud Cost Management for Azure. :type cloud_cost_management_azure_host_count_avg_sum: int, optional + :param cloud_cost_management_gcp_host_count_avg_sum: Sum of the host count average for Cloud Cost Management for GCP. + :type cloud_cost_management_gcp_host_count_avg_sum: int, optional + :param cloud_cost_management_host_count_avg_sum: Sum of the host count average for Cloud Cost Management for all cloud providers. :type cloud_cost_management_host_count_avg_sum: int, optional @@ -551,12 +575,30 @@ def __init__( :param end_date: Shows the last date of usage in the current months for all organizations. :type end_date: datetime, optional + :param error_tracking_events_agg_sum: Shows the sum of all Error Tracking events over all hours in the current months for all organizations. + :type error_tracking_events_agg_sum: int, optional + :param fargate_tasks_count_avg_sum: Shows the average of all Fargate tasks over all hours in the current months for all organizations. :type fargate_tasks_count_avg_sum: int, optional :param fargate_tasks_count_hwm_sum: Shows the sum of the high-water marks of all Fargate tasks over all hours in the current months for all organizations. :type fargate_tasks_count_hwm_sum: int, optional + :param flex_logs_compute_large_avg_sum: Shows the average number of Flex Logs Compute Large Instances over all hours in the current months for all organizations. + :type flex_logs_compute_large_avg_sum: int, optional + + :param flex_logs_compute_medium_avg_sum: Shows the average number of Flex Logs Compute Medium Instances over all hours in the current months for all organizations. + :type flex_logs_compute_medium_avg_sum: int, optional + + :param flex_logs_compute_small_avg_sum: Shows the average number of Flex Logs Compute Small Instances over all hours in the current months for all organizations. + :type flex_logs_compute_small_avg_sum: int, optional + + :param flex_logs_compute_xsmall_avg_sum: Shows the average number of Flex Logs Compute Extra Small Instances over all hours in the current months for all organizations. + :type flex_logs_compute_xsmall_avg_sum: int, optional + + :param flex_stored_logs_avg_sum: Shows the average of all Flex Stored Logs over all hours in the current months for all organizations. + :type flex_stored_logs_avg_sum: int, optional + :param forwarding_events_bytes_agg_sum: Shows the sum of all logs forwarding bytes over all hours in the current months for all organizations (data available as of April 1, 2023) :type forwarding_events_bytes_agg_sum: int, optional @@ -780,6 +822,8 @@ def __init__( kwargs["cloud_cost_management_aws_host_count_avg_sum"] = cloud_cost_management_aws_host_count_avg_sum if cloud_cost_management_azure_host_count_avg_sum is not unset: kwargs["cloud_cost_management_azure_host_count_avg_sum"] = cloud_cost_management_azure_host_count_avg_sum + if cloud_cost_management_gcp_host_count_avg_sum is not unset: + kwargs["cloud_cost_management_gcp_host_count_avg_sum"] = cloud_cost_management_gcp_host_count_avg_sum if cloud_cost_management_host_count_avg_sum is not unset: kwargs["cloud_cost_management_host_count_avg_sum"] = cloud_cost_management_host_count_avg_sum if cloud_siem_events_agg_sum is not unset: @@ -844,10 +888,22 @@ def __init__( kwargs["dbm_queries_avg_sum"] = dbm_queries_avg_sum if end_date is not unset: kwargs["end_date"] = end_date + if error_tracking_events_agg_sum is not unset: + kwargs["error_tracking_events_agg_sum"] = error_tracking_events_agg_sum if fargate_tasks_count_avg_sum is not unset: kwargs["fargate_tasks_count_avg_sum"] = fargate_tasks_count_avg_sum if fargate_tasks_count_hwm_sum is not unset: kwargs["fargate_tasks_count_hwm_sum"] = fargate_tasks_count_hwm_sum + if flex_logs_compute_large_avg_sum is not unset: + kwargs["flex_logs_compute_large_avg_sum"] = flex_logs_compute_large_avg_sum + if flex_logs_compute_medium_avg_sum is not unset: + kwargs["flex_logs_compute_medium_avg_sum"] = flex_logs_compute_medium_avg_sum + if flex_logs_compute_small_avg_sum is not unset: + kwargs["flex_logs_compute_small_avg_sum"] = flex_logs_compute_small_avg_sum + if flex_logs_compute_xsmall_avg_sum is not unset: + kwargs["flex_logs_compute_xsmall_avg_sum"] = flex_logs_compute_xsmall_avg_sum + if flex_stored_logs_avg_sum is not unset: + kwargs["flex_stored_logs_avg_sum"] = flex_stored_logs_avg_sum if forwarding_events_bytes_agg_sum is not unset: kwargs["forwarding_events_bytes_agg_sum"] = forwarding_events_bytes_agg_sum if gcp_host_top99p_sum is not unset: diff --git a/src/datadog_api_client/v2/api/usage_metering_api.py b/src/datadog_api_client/v2/api/usage_metering_api.py index e38144d796..c663f7a223 100644 --- a/src/datadog_api_client/v2/api/usage_metering_api.py +++ b/src/datadog_api_client/v2/api/usage_metering_api.py @@ -532,8 +532,8 @@ def get_hourly_usage( :type filter_timestamp_start: datetime :param filter_product_families: Comma separated list of product families to retrieve. Available families are ``all`` , ``analyzed_logs`` , ``application_security`` , ``audit_trail`` , ``serverless`` , ``ci_app`` , ``cloud_cost_management`` , - ``csm_container_enterprise`` , ``csm_host_enterprise`` , ``cspm`` , ``custom_events`` , ``cws`` , ``dbm`` , ``fargate`` , - ``infra_hosts`` , ``incident_management`` , ``indexed_logs`` , ``indexed_spans`` , ``ingested_spans`` , ``iot`` , + ``csm_container_enterprise`` , ``csm_host_enterprise`` , ``cspm`` , ``custom_events`` , ``cws`` , ``dbm`` , ``error_tracking`` , + ``fargate`` , ``infra_hosts`` , ``incident_management`` , ``indexed_logs`` , ``indexed_spans`` , ``ingested_spans`` , ``iot`` , ``lambda_traced_invocations`` , ``logs`` , ``network_flows`` , ``network_hosts`` , ``netflow_monitoring`` , ``observability_pipelines`` , ``online_archive`` , ``profiling`` , ``rum`` , ``rum_browser_sessions`` , ``rum_mobile_sessions`` , ``sds`` , ``snmp`` , ``synthetics_api`` , ``synthetics_browser`` , ``synthetics_mobile`` , ``synthetics_parallel_testing`` , and ``timeseries``.