diff --git a/.apigentools-info b/.apigentools-info index e2bd2327bb7..58d37bc2a92 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.4", - "regenerated": "2023-04-03 12:03:56.468795", - "spec_repo_commit": "1cb4b144" + "regenerated": "2023-04-04 17:50:47.601802", + "spec_repo_commit": "9a7b22d0" }, "v2": { "apigentools_version": "1.6.4", - "regenerated": "2023-04-03 12:03:56.487221", - "spec_repo_commit": "1cb4b144" + "regenerated": "2023-04-04 17:50:47.618329", + "spec_repo_commit": "9a7b22d0" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 8207e424a0a..2e6367ee6c6 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -3683,6 +3683,7 @@ components: - profiled_host_usage - snmp_usage - estimated_rum_sessions_usage + - universal_service_monitoring_usage type: string x-enum-varnames: - API_USAGE @@ -3715,6 +3716,7 @@ components: - PROFILED_HOST_USAGE - SNMP_USAGE - ESTIMATED_RUM_SESSIONS_USAGE + - UNIVERSAL_SERVICE_MONITORING_USAGE IFrameWidgetDefinition: description: The iframe widget allows you to embed a portion of any other web page on your dashboard. Only available on FREE layout dashboards. @@ -7171,6 +7173,8 @@ components: - snmp_percentage - estimated_rum_sessions_usage - estimated_rum_sessions_percentage + - universal_service_monitoring_usage + - universal_service_monitoring_percentage - '*' type: string x-enum-varnames: @@ -7234,6 +7238,8 @@ components: - SNMP_PERCENTAGE - ESTIMATED_RUM_SESSIONS_USAGE - ESTIMATED_RUM_SESSIONS_PERCENTAGE + - UNIVERSAL_SERVICE_MONITORING_USAGE + - UNIVERSAL_SERVICE_MONITORING_PERCENTAGE - ALL MonthlyUsageAttributionValues: description: Fields in Usage Summary by tag(s). @@ -7483,6 +7489,14 @@ components: description: The network device usage by tag(s). format: double type: number + universal_service_monitoring_percentage: + description: The percentage of universal service monitoring usage by tag(s). + format: double + type: number + universal_service_monitoring_usage: + description: The universal service monitoring usage by tag(s). + format: double + type: number type: object NoteWidgetDefinition: description: The notes and links widget is similar to free text widget, but @@ -17087,6 +17101,11 @@ components: in the current date for all organizations. format: int64 type: integer + universal_service_monitoring_host_top99p: + description: Shows the 99th percentile of all universal service management + hosts over all hours in the current date for the given org. + format: int64 + type: integer vsphere_host_top99p: description: Shows the 99th percentile of all vSphere hosts over all hours in the current date for all organizations. @@ -17481,6 +17500,11 @@ components: in the current date for the given org. format: int64 type: integer + universal_service_monitoring_host_top99p: + description: Shows the 99th percentile of all Universal Service Monitoring + hosts over all hours in the current date for the given org. + format: int64 + type: integer vsphere_host_top99p: description: Shows the 99th percentile of all vSphere hosts over all hours in the current date for the given org. @@ -17916,6 +17940,11 @@ components: in the current months for all organizations. format: int64 type: integer + universal_service_monitoring_host_top99p_sum: + description: Shows the 99th percentile of all Universal Service Monitoring + hosts over all hours in the current months for all organizations. + format: int64 + type: integer usage: description: An array of objects regarding hourly usage. items: diff --git a/api/datadogV1/model_hourly_usage_attribution_usage_type.go b/api/datadogV1/model_hourly_usage_attribution_usage_type.go index 7c8a1db92fa..e44e9852957 100644 --- a/api/datadogV1/model_hourly_usage_attribution_usage_type.go +++ b/api/datadogV1/model_hourly_usage_attribution_usage_type.go @@ -14,36 +14,37 @@ type HourlyUsageAttributionUsageType string // List of HourlyUsageAttributionUsageType. const ( - HOURLYUSAGEATTRIBUTIONUSAGETYPE_API_USAGE HourlyUsageAttributionUsageType = "api_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_APM_FARGATE_USAGE HourlyUsageAttributionUsageType = "apm_fargate_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_APM_HOST_USAGE HourlyUsageAttributionUsageType = "apm_host_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_APPSEC_FARGATE_USAGE HourlyUsageAttributionUsageType = "appsec_fargate_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_APPSEC_USAGE HourlyUsageAttributionUsageType = "appsec_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_BROWSER_USAGE HourlyUsageAttributionUsageType = "browser_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_CONTAINER_EXCL_AGENT_USAGE HourlyUsageAttributionUsageType = "container_excl_agent_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_CONTAINER_USAGE HourlyUsageAttributionUsageType = "container_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_CSPM_CONTAINERS_USAGE HourlyUsageAttributionUsageType = "cspm_containers_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_CSPM_HOSTS_USAGE HourlyUsageAttributionUsageType = "cspm_hosts_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_CUSTOM_INGESTED_TIMESERIES_USAGE HourlyUsageAttributionUsageType = "custom_ingested_timeseries_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_CUSTOM_TIMESERIES_USAGE HourlyUsageAttributionUsageType = "custom_timeseries_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_CONTAINERS_USAGE HourlyUsageAttributionUsageType = "cws_containers_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_HOSTS_USAGE HourlyUsageAttributionUsageType = "cws_hosts_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_HOSTS_USAGE HourlyUsageAttributionUsageType = "dbm_hosts_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_QUERIES_USAGE HourlyUsageAttributionUsageType = "dbm_queries_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INDEXED_LOGS_USAGE HourlyUsageAttributionUsageType = "estimated_indexed_logs_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INGESTED_LOGS_USAGE HourlyUsageAttributionUsageType = "estimated_ingested_logs_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INDEXED_SPANS_USAGE HourlyUsageAttributionUsageType = "estimated_indexed_spans_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INGESTED_SPANS_USAGE HourlyUsageAttributionUsageType = "estimated_ingested_spans_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_FARGATE_USAGE HourlyUsageAttributionUsageType = "fargate_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_FUNCTIONS_USAGE HourlyUsageAttributionUsageType = "functions_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_INFRA_HOST_USAGE HourlyUsageAttributionUsageType = "infra_host_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_INVOCATIONS_USAGE HourlyUsageAttributionUsageType = "invocations_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_NPM_HOST_USAGE HourlyUsageAttributionUsageType = "npm_host_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_PROFILED_CONTAINER_USAGE HourlyUsageAttributionUsageType = "profiled_container_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_PROFILED_FARGATE_USAGE HourlyUsageAttributionUsageType = "profiled_fargate_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_PROFILED_HOST_USAGE HourlyUsageAttributionUsageType = "profiled_host_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_SNMP_USAGE HourlyUsageAttributionUsageType = "snmp_usage" - HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_RUM_SESSIONS_USAGE HourlyUsageAttributionUsageType = "estimated_rum_sessions_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_API_USAGE HourlyUsageAttributionUsageType = "api_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_APM_FARGATE_USAGE HourlyUsageAttributionUsageType = "apm_fargate_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_APM_HOST_USAGE HourlyUsageAttributionUsageType = "apm_host_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_APPSEC_FARGATE_USAGE HourlyUsageAttributionUsageType = "appsec_fargate_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_APPSEC_USAGE HourlyUsageAttributionUsageType = "appsec_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_BROWSER_USAGE HourlyUsageAttributionUsageType = "browser_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_CONTAINER_EXCL_AGENT_USAGE HourlyUsageAttributionUsageType = "container_excl_agent_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_CONTAINER_USAGE HourlyUsageAttributionUsageType = "container_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_CSPM_CONTAINERS_USAGE HourlyUsageAttributionUsageType = "cspm_containers_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_CSPM_HOSTS_USAGE HourlyUsageAttributionUsageType = "cspm_hosts_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_CUSTOM_INGESTED_TIMESERIES_USAGE HourlyUsageAttributionUsageType = "custom_ingested_timeseries_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_CUSTOM_TIMESERIES_USAGE HourlyUsageAttributionUsageType = "custom_timeseries_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_CONTAINERS_USAGE HourlyUsageAttributionUsageType = "cws_containers_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_HOSTS_USAGE HourlyUsageAttributionUsageType = "cws_hosts_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_HOSTS_USAGE HourlyUsageAttributionUsageType = "dbm_hosts_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_DBM_QUERIES_USAGE HourlyUsageAttributionUsageType = "dbm_queries_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INDEXED_LOGS_USAGE HourlyUsageAttributionUsageType = "estimated_indexed_logs_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INGESTED_LOGS_USAGE HourlyUsageAttributionUsageType = "estimated_ingested_logs_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INDEXED_SPANS_USAGE HourlyUsageAttributionUsageType = "estimated_indexed_spans_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_INGESTED_SPANS_USAGE HourlyUsageAttributionUsageType = "estimated_ingested_spans_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_FARGATE_USAGE HourlyUsageAttributionUsageType = "fargate_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_FUNCTIONS_USAGE HourlyUsageAttributionUsageType = "functions_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_INFRA_HOST_USAGE HourlyUsageAttributionUsageType = "infra_host_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_INVOCATIONS_USAGE HourlyUsageAttributionUsageType = "invocations_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_NPM_HOST_USAGE HourlyUsageAttributionUsageType = "npm_host_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_PROFILED_CONTAINER_USAGE HourlyUsageAttributionUsageType = "profiled_container_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_PROFILED_FARGATE_USAGE HourlyUsageAttributionUsageType = "profiled_fargate_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_PROFILED_HOST_USAGE HourlyUsageAttributionUsageType = "profiled_host_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_SNMP_USAGE HourlyUsageAttributionUsageType = "snmp_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_RUM_SESSIONS_USAGE HourlyUsageAttributionUsageType = "estimated_rum_sessions_usage" + HOURLYUSAGEATTRIBUTIONUSAGETYPE_UNIVERSAL_SERVICE_MONITORING_USAGE HourlyUsageAttributionUsageType = "universal_service_monitoring_usage" ) var allowedHourlyUsageAttributionUsageTypeEnumValues = []HourlyUsageAttributionUsageType{ @@ -77,6 +78,7 @@ var allowedHourlyUsageAttributionUsageTypeEnumValues = []HourlyUsageAttributionU HOURLYUSAGEATTRIBUTIONUSAGETYPE_PROFILED_HOST_USAGE, HOURLYUSAGEATTRIBUTIONUSAGETYPE_SNMP_USAGE, HOURLYUSAGEATTRIBUTIONUSAGETYPE_ESTIMATED_RUM_SESSIONS_USAGE, + HOURLYUSAGEATTRIBUTIONUSAGETYPE_UNIVERSAL_SERVICE_MONITORING_USAGE, } // GetAllowedValues reeturns the list of possible values. diff --git a/api/datadogV1/model_monthly_usage_attribution_supported_metrics.go b/api/datadogV1/model_monthly_usage_attribution_supported_metrics.go index be71fba438d..5ad208c5665 100644 --- a/api/datadogV1/model_monthly_usage_attribution_supported_metrics.go +++ b/api/datadogV1/model_monthly_usage_attribution_supported_metrics.go @@ -14,67 +14,69 @@ type MonthlyUsageAttributionSupportedMetrics string // List of MonthlyUsageAttributionSupportedMetrics. const ( - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_API_USAGE MonthlyUsageAttributionSupportedMetrics = "api_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_API_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "api_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_FARGATE_USAGE MonthlyUsageAttributionSupportedMetrics = "apm_fargate_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "apm_fargate_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_FARGATE_USAGE MonthlyUsageAttributionSupportedMetrics = "appsec_fargate_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "appsec_fargate_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "apm_host_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "apm_host_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_USAGE MonthlyUsageAttributionSupportedMetrics = "appsec_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "appsec_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_USAGE MonthlyUsageAttributionSupportedMetrics = "browser_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "browser_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_EXCL_AGENT_USAGE MonthlyUsageAttributionSupportedMetrics = "container_excl_agent_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_EXCL_AGENT_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "container_excl_agent_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_USAGE MonthlyUsageAttributionSupportedMetrics = "container_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "container_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CSPM_CONTAINERS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "cspm_containers_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CSPM_CONTAINERS_USAGE MonthlyUsageAttributionSupportedMetrics = "cspm_containers_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CSPM_HOSTS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "cspm_hosts_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CSPM_HOSTS_USAGE MonthlyUsageAttributionSupportedMetrics = "cspm_hosts_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_TIMESERIES_USAGE MonthlyUsageAttributionSupportedMetrics = "custom_timeseries_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_TIMESERIES_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "custom_timeseries_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_INGESTED_TIMESERIES_USAGE MonthlyUsageAttributionSupportedMetrics = "custom_ingested_timeseries_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_INGESTED_TIMESERIES_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "custom_ingested_timeseries_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_CONTAINERS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "cws_containers_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_CONTAINERS_USAGE MonthlyUsageAttributionSupportedMetrics = "cws_containers_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "cws_hosts_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_USAGE MonthlyUsageAttributionSupportedMetrics = "cws_hosts_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "dbm_hosts_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_USAGE MonthlyUsageAttributionSupportedMetrics = "dbm_hosts_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_QUERIES_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "dbm_queries_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_QUERIES_USAGE MonthlyUsageAttributionSupportedMetrics = "dbm_queries_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_LOGS_USAGE MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_logs_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_LOGS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_logs_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_LOGS_USAGE MonthlyUsageAttributionSupportedMetrics = "estimated_ingested_logs_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_LOGS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "estimated_ingested_logs_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_SPANS_USAGE MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_spans_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_SPANS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_spans_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_SPANS_USAGE MonthlyUsageAttributionSupportedMetrics = "estimated_ingested_spans_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_SPANS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "estimated_ingested_spans_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_USAGE MonthlyUsageAttributionSupportedMetrics = "fargate_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "fargate_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_USAGE MonthlyUsageAttributionSupportedMetrics = "functions_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "functions_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "infra_host_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "infra_host_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INVOCATIONS_USAGE MonthlyUsageAttributionSupportedMetrics = "invocations_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INVOCATIONS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "invocations_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_NPM_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "npm_host_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_NPM_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "npm_host_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_CONTAINER_USAGE MonthlyUsageAttributionSupportedMetrics = "profiled_container_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_CONTAINER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "profiled_container_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_FARGATE_USAGE MonthlyUsageAttributionSupportedMetrics = "profiled_fargate_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "profiled_fargate_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "profiled_host_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "profiled_host_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_SNMP_USAGE MonthlyUsageAttributionSupportedMetrics = "snmp_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_SNMP_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "snmp_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_RUM_SESSIONS_USAGE MonthlyUsageAttributionSupportedMetrics = "estimated_rum_sessions_usage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_RUM_SESSIONS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "estimated_rum_sessions_percentage" - MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ALL MonthlyUsageAttributionSupportedMetrics = "*" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_API_USAGE MonthlyUsageAttributionSupportedMetrics = "api_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_API_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "api_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_FARGATE_USAGE MonthlyUsageAttributionSupportedMetrics = "apm_fargate_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "apm_fargate_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_FARGATE_USAGE MonthlyUsageAttributionSupportedMetrics = "appsec_fargate_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "appsec_fargate_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "apm_host_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APM_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "apm_host_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_USAGE MonthlyUsageAttributionSupportedMetrics = "appsec_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_APPSEC_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "appsec_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_USAGE MonthlyUsageAttributionSupportedMetrics = "browser_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_BROWSER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "browser_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_EXCL_AGENT_USAGE MonthlyUsageAttributionSupportedMetrics = "container_excl_agent_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_EXCL_AGENT_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "container_excl_agent_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_USAGE MonthlyUsageAttributionSupportedMetrics = "container_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CONTAINER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "container_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CSPM_CONTAINERS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "cspm_containers_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CSPM_CONTAINERS_USAGE MonthlyUsageAttributionSupportedMetrics = "cspm_containers_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CSPM_HOSTS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "cspm_hosts_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CSPM_HOSTS_USAGE MonthlyUsageAttributionSupportedMetrics = "cspm_hosts_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_TIMESERIES_USAGE MonthlyUsageAttributionSupportedMetrics = "custom_timeseries_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_TIMESERIES_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "custom_timeseries_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_INGESTED_TIMESERIES_USAGE MonthlyUsageAttributionSupportedMetrics = "custom_ingested_timeseries_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_INGESTED_TIMESERIES_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "custom_ingested_timeseries_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_CONTAINERS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "cws_containers_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_CONTAINERS_USAGE MonthlyUsageAttributionSupportedMetrics = "cws_containers_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "cws_hosts_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_USAGE MonthlyUsageAttributionSupportedMetrics = "cws_hosts_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "dbm_hosts_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_HOSTS_USAGE MonthlyUsageAttributionSupportedMetrics = "dbm_hosts_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_QUERIES_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "dbm_queries_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DBM_QUERIES_USAGE MonthlyUsageAttributionSupportedMetrics = "dbm_queries_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_LOGS_USAGE MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_logs_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_LOGS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_logs_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_LOGS_USAGE MonthlyUsageAttributionSupportedMetrics = "estimated_ingested_logs_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_LOGS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "estimated_ingested_logs_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_SPANS_USAGE MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_spans_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INDEXED_SPANS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "estimated_indexed_spans_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_SPANS_USAGE MonthlyUsageAttributionSupportedMetrics = "estimated_ingested_spans_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_INGESTED_SPANS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "estimated_ingested_spans_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_USAGE MonthlyUsageAttributionSupportedMetrics = "fargate_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "fargate_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_USAGE MonthlyUsageAttributionSupportedMetrics = "functions_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_FUNCTIONS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "functions_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "infra_host_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INFRA_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "infra_host_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INVOCATIONS_USAGE MonthlyUsageAttributionSupportedMetrics = "invocations_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_INVOCATIONS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "invocations_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_NPM_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "npm_host_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_NPM_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "npm_host_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_CONTAINER_USAGE MonthlyUsageAttributionSupportedMetrics = "profiled_container_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_CONTAINER_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "profiled_container_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_FARGATE_USAGE MonthlyUsageAttributionSupportedMetrics = "profiled_fargate_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_FARGATE_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "profiled_fargate_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_HOST_USAGE MonthlyUsageAttributionSupportedMetrics = "profiled_host_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_PROFILED_HOST_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "profiled_host_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_SNMP_USAGE MonthlyUsageAttributionSupportedMetrics = "snmp_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_SNMP_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "snmp_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_RUM_SESSIONS_USAGE MonthlyUsageAttributionSupportedMetrics = "estimated_rum_sessions_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_RUM_SESSIONS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "estimated_rum_sessions_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_UNIVERSAL_SERVICE_MONITORING_USAGE MonthlyUsageAttributionSupportedMetrics = "universal_service_monitoring_usage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_UNIVERSAL_SERVICE_MONITORING_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "universal_service_monitoring_percentage" + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ALL MonthlyUsageAttributionSupportedMetrics = "*" ) var allowedMonthlyUsageAttributionSupportedMetricsEnumValues = []MonthlyUsageAttributionSupportedMetrics{ @@ -138,6 +140,8 @@ var allowedMonthlyUsageAttributionSupportedMetricsEnumValues = []MonthlyUsageAtt MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_SNMP_PERCENTAGE, MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_RUM_SESSIONS_USAGE, MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ESTIMATED_RUM_SESSIONS_PERCENTAGE, + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_UNIVERSAL_SERVICE_MONITORING_USAGE, + MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_UNIVERSAL_SERVICE_MONITORING_PERCENTAGE, MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_ALL, } diff --git a/api/datadogV1/model_monthly_usage_attribution_values.go b/api/datadogV1/model_monthly_usage_attribution_values.go index 311a542c584..1ce2221c11d 100644 --- a/api/datadogV1/model_monthly_usage_attribution_values.go +++ b/api/datadogV1/model_monthly_usage_attribution_values.go @@ -130,6 +130,10 @@ type MonthlyUsageAttributionValues struct { SnmpPercentage *float64 `json:"snmp_percentage,omitempty"` // The network device usage by tag(s). SnmpUsage *float64 `json:"snmp_usage,omitempty"` + // The percentage of universal service monitoring usage by tag(s). + UniversalServiceMonitoringPercentage *float64 `json:"universal_service_monitoring_percentage,omitempty"` + // The universal service monitoring usage by tag(s). + UniversalServiceMonitoringUsage *float64 `json:"universal_service_monitoring_usage,omitempty"` // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct UnparsedObject map[string]interface{} `json:"-"` AdditionalProperties map[string]interface{} @@ -1832,6 +1836,62 @@ func (o *MonthlyUsageAttributionValues) SetSnmpUsage(v float64) { o.SnmpUsage = &v } +// GetUniversalServiceMonitoringPercentage returns the UniversalServiceMonitoringPercentage field value if set, zero value otherwise. +func (o *MonthlyUsageAttributionValues) GetUniversalServiceMonitoringPercentage() float64 { + if o == nil || o.UniversalServiceMonitoringPercentage == nil { + var ret float64 + return ret + } + return *o.UniversalServiceMonitoringPercentage +} + +// GetUniversalServiceMonitoringPercentageOk returns a tuple with the UniversalServiceMonitoringPercentage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MonthlyUsageAttributionValues) GetUniversalServiceMonitoringPercentageOk() (*float64, bool) { + if o == nil || o.UniversalServiceMonitoringPercentage == nil { + return nil, false + } + return o.UniversalServiceMonitoringPercentage, true +} + +// HasUniversalServiceMonitoringPercentage returns a boolean if a field has been set. +func (o *MonthlyUsageAttributionValues) HasUniversalServiceMonitoringPercentage() bool { + return o != nil && o.UniversalServiceMonitoringPercentage != nil +} + +// SetUniversalServiceMonitoringPercentage gets a reference to the given float64 and assigns it to the UniversalServiceMonitoringPercentage field. +func (o *MonthlyUsageAttributionValues) SetUniversalServiceMonitoringPercentage(v float64) { + o.UniversalServiceMonitoringPercentage = &v +} + +// GetUniversalServiceMonitoringUsage returns the UniversalServiceMonitoringUsage field value if set, zero value otherwise. +func (o *MonthlyUsageAttributionValues) GetUniversalServiceMonitoringUsage() float64 { + if o == nil || o.UniversalServiceMonitoringUsage == nil { + var ret float64 + return ret + } + return *o.UniversalServiceMonitoringUsage +} + +// GetUniversalServiceMonitoringUsageOk returns a tuple with the UniversalServiceMonitoringUsage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MonthlyUsageAttributionValues) GetUniversalServiceMonitoringUsageOk() (*float64, bool) { + if o == nil || o.UniversalServiceMonitoringUsage == nil { + return nil, false + } + return o.UniversalServiceMonitoringUsage, true +} + +// HasUniversalServiceMonitoringUsage returns a boolean if a field has been set. +func (o *MonthlyUsageAttributionValues) HasUniversalServiceMonitoringUsage() bool { + return o != nil && o.UniversalServiceMonitoringUsage != nil +} + +// SetUniversalServiceMonitoringUsage gets a reference to the given float64 and assigns it to the UniversalServiceMonitoringUsage field. +func (o *MonthlyUsageAttributionValues) SetUniversalServiceMonitoringUsage(v float64) { + o.UniversalServiceMonitoringUsage = &v +} + // MarshalJSON serializes the struct using spec logic. func (o MonthlyUsageAttributionValues) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} @@ -2018,6 +2078,12 @@ func (o MonthlyUsageAttributionValues) MarshalJSON() ([]byte, error) { if o.SnmpUsage != nil { toSerialize["snmp_usage"] = o.SnmpUsage } + if o.UniversalServiceMonitoringPercentage != nil { + toSerialize["universal_service_monitoring_percentage"] = o.UniversalServiceMonitoringPercentage + } + if o.UniversalServiceMonitoringUsage != nil { + toSerialize["universal_service_monitoring_usage"] = o.UniversalServiceMonitoringUsage + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -2029,66 +2095,68 @@ func (o MonthlyUsageAttributionValues) MarshalJSON() ([]byte, error) { func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error) { raw := map[string]interface{}{} all := struct { - ApiPercentage *float64 `json:"api_percentage,omitempty"` - ApiUsage *float64 `json:"api_usage,omitempty"` - ApmFargatePercentage *float64 `json:"apm_fargate_percentage,omitempty"` - ApmFargateUsage *float64 `json:"apm_fargate_usage,omitempty"` - ApmHostPercentage *float64 `json:"apm_host_percentage,omitempty"` - ApmHostUsage *float64 `json:"apm_host_usage,omitempty"` - AppsecFargatePercentage *float64 `json:"appsec_fargate_percentage,omitempty"` - AppsecFargateUsage *float64 `json:"appsec_fargate_usage,omitempty"` - AppsecPercentage *float64 `json:"appsec_percentage,omitempty"` - AppsecUsage *float64 `json:"appsec_usage,omitempty"` - BrowserPercentage *float64 `json:"browser_percentage,omitempty"` - BrowserUsage *float64 `json:"browser_usage,omitempty"` - ContainerExclAgentPercentage *float64 `json:"container_excl_agent_percentage,omitempty"` - ContainerExclAgentUsage *float64 `json:"container_excl_agent_usage,omitempty"` - ContainerPercentage *float64 `json:"container_percentage,omitempty"` - ContainerUsage *float64 `json:"container_usage,omitempty"` - CspmContainersPercentage *float64 `json:"cspm_containers_percentage,omitempty"` - CspmContainersUsage *float64 `json:"cspm_containers_usage,omitempty"` - CspmHostsPercentage *float64 `json:"cspm_hosts_percentage,omitempty"` - CspmHostsUsage *float64 `json:"cspm_hosts_usage,omitempty"` - CustomIngestedTimeseriesPercentage *float64 `json:"custom_ingested_timeseries_percentage,omitempty"` - CustomIngestedTimeseriesUsage *float64 `json:"custom_ingested_timeseries_usage,omitempty"` - CustomTimeseriesPercentage *float64 `json:"custom_timeseries_percentage,omitempty"` - CustomTimeseriesUsage *float64 `json:"custom_timeseries_usage,omitempty"` - CwsContainersPercentage *float64 `json:"cws_containers_percentage,omitempty"` - CwsContainersUsage *float64 `json:"cws_containers_usage,omitempty"` - CwsHostsPercentage *float64 `json:"cws_hosts_percentage,omitempty"` - CwsHostsUsage *float64 `json:"cws_hosts_usage,omitempty"` - DbmHostsPercentage *float64 `json:"dbm_hosts_percentage,omitempty"` - DbmHostsUsage *float64 `json:"dbm_hosts_usage,omitempty"` - DbmQueriesPercentage *float64 `json:"dbm_queries_percentage,omitempty"` - DbmQueriesUsage *float64 `json:"dbm_queries_usage,omitempty"` - EstimatedIndexedLogsPercentage *float64 `json:"estimated_indexed_logs_percentage,omitempty"` - EstimatedIndexedLogsUsage *float64 `json:"estimated_indexed_logs_usage,omitempty"` - EstimatedIndexedSpansPercentage *float64 `json:"estimated_indexed_spans_percentage,omitempty"` - EstimatedIndexedSpansUsage *float64 `json:"estimated_indexed_spans_usage,omitempty"` - EstimatedIngestedLogsPercentage *float64 `json:"estimated_ingested_logs_percentage,omitempty"` - EstimatedIngestedLogsUsage *float64 `json:"estimated_ingested_logs_usage,omitempty"` - EstimatedIngestedSpansPercentage *float64 `json:"estimated_ingested_spans_percentage,omitempty"` - EstimatedIngestedSpansUsage *float64 `json:"estimated_ingested_spans_usage,omitempty"` - EstimatedRumSessionsPercentage *float64 `json:"estimated_rum_sessions_percentage,omitempty"` - EstimatedRumSessionsUsage *float64 `json:"estimated_rum_sessions_usage,omitempty"` - FargatePercentage *float64 `json:"fargate_percentage,omitempty"` - FargateUsage *float64 `json:"fargate_usage,omitempty"` - FunctionsPercentage *float64 `json:"functions_percentage,omitempty"` - FunctionsUsage *float64 `json:"functions_usage,omitempty"` - InfraHostPercentage *float64 `json:"infra_host_percentage,omitempty"` - InfraHostUsage *float64 `json:"infra_host_usage,omitempty"` - InvocationsPercentage *float64 `json:"invocations_percentage,omitempty"` - InvocationsUsage *float64 `json:"invocations_usage,omitempty"` - NpmHostPercentage *float64 `json:"npm_host_percentage,omitempty"` - NpmHostUsage *float64 `json:"npm_host_usage,omitempty"` - ProfiledContainerPercentage *float64 `json:"profiled_container_percentage,omitempty"` - ProfiledContainerUsage *float64 `json:"profiled_container_usage,omitempty"` - ProfiledFargatePercentage *float64 `json:"profiled_fargate_percentage,omitempty"` - ProfiledFargateUsage *float64 `json:"profiled_fargate_usage,omitempty"` - ProfiledHostPercentage *float64 `json:"profiled_host_percentage,omitempty"` - ProfiledHostUsage *float64 `json:"profiled_host_usage,omitempty"` - SnmpPercentage *float64 `json:"snmp_percentage,omitempty"` - SnmpUsage *float64 `json:"snmp_usage,omitempty"` + ApiPercentage *float64 `json:"api_percentage,omitempty"` + ApiUsage *float64 `json:"api_usage,omitempty"` + ApmFargatePercentage *float64 `json:"apm_fargate_percentage,omitempty"` + ApmFargateUsage *float64 `json:"apm_fargate_usage,omitempty"` + ApmHostPercentage *float64 `json:"apm_host_percentage,omitempty"` + ApmHostUsage *float64 `json:"apm_host_usage,omitempty"` + AppsecFargatePercentage *float64 `json:"appsec_fargate_percentage,omitempty"` + AppsecFargateUsage *float64 `json:"appsec_fargate_usage,omitempty"` + AppsecPercentage *float64 `json:"appsec_percentage,omitempty"` + AppsecUsage *float64 `json:"appsec_usage,omitempty"` + BrowserPercentage *float64 `json:"browser_percentage,omitempty"` + BrowserUsage *float64 `json:"browser_usage,omitempty"` + ContainerExclAgentPercentage *float64 `json:"container_excl_agent_percentage,omitempty"` + ContainerExclAgentUsage *float64 `json:"container_excl_agent_usage,omitempty"` + ContainerPercentage *float64 `json:"container_percentage,omitempty"` + ContainerUsage *float64 `json:"container_usage,omitempty"` + CspmContainersPercentage *float64 `json:"cspm_containers_percentage,omitempty"` + CspmContainersUsage *float64 `json:"cspm_containers_usage,omitempty"` + CspmHostsPercentage *float64 `json:"cspm_hosts_percentage,omitempty"` + CspmHostsUsage *float64 `json:"cspm_hosts_usage,omitempty"` + CustomIngestedTimeseriesPercentage *float64 `json:"custom_ingested_timeseries_percentage,omitempty"` + CustomIngestedTimeseriesUsage *float64 `json:"custom_ingested_timeseries_usage,omitempty"` + CustomTimeseriesPercentage *float64 `json:"custom_timeseries_percentage,omitempty"` + CustomTimeseriesUsage *float64 `json:"custom_timeseries_usage,omitempty"` + CwsContainersPercentage *float64 `json:"cws_containers_percentage,omitempty"` + CwsContainersUsage *float64 `json:"cws_containers_usage,omitempty"` + CwsHostsPercentage *float64 `json:"cws_hosts_percentage,omitempty"` + CwsHostsUsage *float64 `json:"cws_hosts_usage,omitempty"` + DbmHostsPercentage *float64 `json:"dbm_hosts_percentage,omitempty"` + DbmHostsUsage *float64 `json:"dbm_hosts_usage,omitempty"` + DbmQueriesPercentage *float64 `json:"dbm_queries_percentage,omitempty"` + DbmQueriesUsage *float64 `json:"dbm_queries_usage,omitempty"` + EstimatedIndexedLogsPercentage *float64 `json:"estimated_indexed_logs_percentage,omitempty"` + EstimatedIndexedLogsUsage *float64 `json:"estimated_indexed_logs_usage,omitempty"` + EstimatedIndexedSpansPercentage *float64 `json:"estimated_indexed_spans_percentage,omitempty"` + EstimatedIndexedSpansUsage *float64 `json:"estimated_indexed_spans_usage,omitempty"` + EstimatedIngestedLogsPercentage *float64 `json:"estimated_ingested_logs_percentage,omitempty"` + EstimatedIngestedLogsUsage *float64 `json:"estimated_ingested_logs_usage,omitempty"` + EstimatedIngestedSpansPercentage *float64 `json:"estimated_ingested_spans_percentage,omitempty"` + EstimatedIngestedSpansUsage *float64 `json:"estimated_ingested_spans_usage,omitempty"` + EstimatedRumSessionsPercentage *float64 `json:"estimated_rum_sessions_percentage,omitempty"` + EstimatedRumSessionsUsage *float64 `json:"estimated_rum_sessions_usage,omitempty"` + FargatePercentage *float64 `json:"fargate_percentage,omitempty"` + FargateUsage *float64 `json:"fargate_usage,omitempty"` + FunctionsPercentage *float64 `json:"functions_percentage,omitempty"` + FunctionsUsage *float64 `json:"functions_usage,omitempty"` + InfraHostPercentage *float64 `json:"infra_host_percentage,omitempty"` + InfraHostUsage *float64 `json:"infra_host_usage,omitempty"` + InvocationsPercentage *float64 `json:"invocations_percentage,omitempty"` + InvocationsUsage *float64 `json:"invocations_usage,omitempty"` + NpmHostPercentage *float64 `json:"npm_host_percentage,omitempty"` + NpmHostUsage *float64 `json:"npm_host_usage,omitempty"` + ProfiledContainerPercentage *float64 `json:"profiled_container_percentage,omitempty"` + ProfiledContainerUsage *float64 `json:"profiled_container_usage,omitempty"` + ProfiledFargatePercentage *float64 `json:"profiled_fargate_percentage,omitempty"` + ProfiledFargateUsage *float64 `json:"profiled_fargate_usage,omitempty"` + ProfiledHostPercentage *float64 `json:"profiled_host_percentage,omitempty"` + ProfiledHostUsage *float64 `json:"profiled_host_usage,omitempty"` + SnmpPercentage *float64 `json:"snmp_percentage,omitempty"` + SnmpUsage *float64 `json:"snmp_usage,omitempty"` + UniversalServiceMonitoringPercentage *float64 `json:"universal_service_monitoring_percentage,omitempty"` + UniversalServiceMonitoringUsage *float64 `json:"universal_service_monitoring_usage,omitempty"` }{} err = json.Unmarshal(bytes, &all) if err != nil { @@ -2159,5 +2227,7 @@ func (o *MonthlyUsageAttributionValues) UnmarshalJSON(bytes []byte) (err error) o.ProfiledHostUsage = all.ProfiledHostUsage o.SnmpPercentage = all.SnmpPercentage o.SnmpUsage = all.SnmpUsage + o.UniversalServiceMonitoringPercentage = all.UniversalServiceMonitoringPercentage + o.UniversalServiceMonitoringUsage = all.UniversalServiceMonitoringUsage return nil } diff --git a/api/datadogV1/model_usage_summary_date.go b/api/datadogV1/model_usage_summary_date.go index 61da0bf4b88..44d42b17128 100644 --- a/api/datadogV1/model_usage_summary_date.go +++ b/api/datadogV1/model_usage_summary_date.go @@ -163,6 +163,8 @@ type UsageSummaryDate struct { TraceSearchIndexedEventsCountSum *int64 `json:"trace_search_indexed_events_count_sum,omitempty"` // Shows the sum of all ingested APM span bytes over all hours in the current date for all organizations. TwolIngestedEventsBytesSum *int64 `json:"twol_ingested_events_bytes_sum,omitempty"` + // Shows the 99th percentile of all universal service management hosts over all hours in the current date for the given org. + UniversalServiceMonitoringHostTop99p *int64 `json:"universal_service_monitoring_host_top99p,omitempty"` // Shows the 99th percentile of all vSphere hosts over all hours in the current date for all organizations. VsphereHostTop99p *int64 `json:"vsphere_host_top99p,omitempty"` // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct @@ -2315,6 +2317,34 @@ func (o *UsageSummaryDate) SetTwolIngestedEventsBytesSum(v int64) { o.TwolIngestedEventsBytesSum = &v } +// GetUniversalServiceMonitoringHostTop99p returns the UniversalServiceMonitoringHostTop99p field value if set, zero value otherwise. +func (o *UsageSummaryDate) GetUniversalServiceMonitoringHostTop99p() int64 { + if o == nil || o.UniversalServiceMonitoringHostTop99p == nil { + var ret int64 + return ret + } + return *o.UniversalServiceMonitoringHostTop99p +} + +// GetUniversalServiceMonitoringHostTop99pOk returns a tuple with the UniversalServiceMonitoringHostTop99p field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UsageSummaryDate) GetUniversalServiceMonitoringHostTop99pOk() (*int64, bool) { + if o == nil || o.UniversalServiceMonitoringHostTop99p == nil { + return nil, false + } + return o.UniversalServiceMonitoringHostTop99p, true +} + +// HasUniversalServiceMonitoringHostTop99p returns a boolean if a field has been set. +func (o *UsageSummaryDate) HasUniversalServiceMonitoringHostTop99p() bool { + return o != nil && o.UniversalServiceMonitoringHostTop99p != nil +} + +// SetUniversalServiceMonitoringHostTop99p gets a reference to the given int64 and assigns it to the UniversalServiceMonitoringHostTop99p field. +func (o *UsageSummaryDate) SetUniversalServiceMonitoringHostTop99p(v int64) { + o.UniversalServiceMonitoringHostTop99p = &v +} + // GetVsphereHostTop99p returns the VsphereHostTop99p field value if set, zero value otherwise. func (o *UsageSummaryDate) GetVsphereHostTop99p() int64 { if o == nil || o.VsphereHostTop99p == nil { @@ -2581,6 +2611,9 @@ func (o UsageSummaryDate) MarshalJSON() ([]byte, error) { if o.TwolIngestedEventsBytesSum != nil { toSerialize["twol_ingested_events_bytes_sum"] = o.TwolIngestedEventsBytesSum } + if o.UniversalServiceMonitoringHostTop99p != nil { + toSerialize["universal_service_monitoring_host_top99p"] = o.UniversalServiceMonitoringHostTop99p + } if o.VsphereHostTop99p != nil { toSerialize["vsphere_host_top99p"] = o.VsphereHostTop99p } @@ -2671,6 +2704,7 @@ func (o *UsageSummaryDate) UnmarshalJSON(bytes []byte) (err error) { SyntheticsParallelTestingMaxSlotsHwm *int64 `json:"synthetics_parallel_testing_max_slots_hwm,omitempty"` TraceSearchIndexedEventsCountSum *int64 `json:"trace_search_indexed_events_count_sum,omitempty"` TwolIngestedEventsBytesSum *int64 `json:"twol_ingested_events_bytes_sum,omitempty"` + UniversalServiceMonitoringHostTop99p *int64 `json:"universal_service_monitoring_host_top99p,omitempty"` VsphereHostTop99p *int64 `json:"vsphere_host_top99p,omitempty"` }{} err = json.Unmarshal(bytes, &all) @@ -2758,6 +2792,7 @@ func (o *UsageSummaryDate) UnmarshalJSON(bytes []byte) (err error) { o.SyntheticsParallelTestingMaxSlotsHwm = all.SyntheticsParallelTestingMaxSlotsHwm o.TraceSearchIndexedEventsCountSum = all.TraceSearchIndexedEventsCountSum o.TwolIngestedEventsBytesSum = all.TwolIngestedEventsBytesSum + o.UniversalServiceMonitoringHostTop99p = all.UniversalServiceMonitoringHostTop99p o.VsphereHostTop99p = all.VsphereHostTop99p return nil } diff --git a/api/datadogV1/model_usage_summary_date_org.go b/api/datadogV1/model_usage_summary_date_org.go index 7aa2e4d9281..d4c83543b24 100644 --- a/api/datadogV1/model_usage_summary_date_org.go +++ b/api/datadogV1/model_usage_summary_date_org.go @@ -166,6 +166,8 @@ type UsageSummaryDateOrg struct { TraceSearchIndexedEventsCountSum *int64 `json:"trace_search_indexed_events_count_sum,omitempty"` // Shows the sum of all ingested APM span bytes over all hours in the current date for the given org. TwolIngestedEventsBytesSum *int64 `json:"twol_ingested_events_bytes_sum,omitempty"` + // Shows the 99th percentile of all Universal Service Monitoring hosts over all hours in the current date for the given org. + UniversalServiceMonitoringHostTop99p *int64 `json:"universal_service_monitoring_host_top99p,omitempty"` // Shows the 99th percentile of all vSphere hosts over all hours in the current date for the given org. VsphereHostTop99p *int64 `json:"vsphere_host_top99p,omitempty"` // UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct @@ -2374,6 +2376,34 @@ func (o *UsageSummaryDateOrg) SetTwolIngestedEventsBytesSum(v int64) { o.TwolIngestedEventsBytesSum = &v } +// GetUniversalServiceMonitoringHostTop99p returns the UniversalServiceMonitoringHostTop99p field value if set, zero value otherwise. +func (o *UsageSummaryDateOrg) GetUniversalServiceMonitoringHostTop99p() int64 { + if o == nil || o.UniversalServiceMonitoringHostTop99p == nil { + var ret int64 + return ret + } + return *o.UniversalServiceMonitoringHostTop99p +} + +// GetUniversalServiceMonitoringHostTop99pOk returns a tuple with the UniversalServiceMonitoringHostTop99p field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UsageSummaryDateOrg) GetUniversalServiceMonitoringHostTop99pOk() (*int64, bool) { + if o == nil || o.UniversalServiceMonitoringHostTop99p == nil { + return nil, false + } + return o.UniversalServiceMonitoringHostTop99p, true +} + +// HasUniversalServiceMonitoringHostTop99p returns a boolean if a field has been set. +func (o *UsageSummaryDateOrg) HasUniversalServiceMonitoringHostTop99p() bool { + return o != nil && o.UniversalServiceMonitoringHostTop99p != nil +} + +// SetUniversalServiceMonitoringHostTop99p gets a reference to the given int64 and assigns it to the UniversalServiceMonitoringHostTop99p field. +func (o *UsageSummaryDateOrg) SetUniversalServiceMonitoringHostTop99p(v int64) { + o.UniversalServiceMonitoringHostTop99p = &v +} + // GetVsphereHostTop99p returns the VsphereHostTop99p field value if set, zero value otherwise. func (o *UsageSummaryDateOrg) GetVsphereHostTop99p() int64 { if o == nil || o.VsphereHostTop99p == nil { @@ -2642,6 +2672,9 @@ func (o UsageSummaryDateOrg) MarshalJSON() ([]byte, error) { if o.TwolIngestedEventsBytesSum != nil { toSerialize["twol_ingested_events_bytes_sum"] = o.TwolIngestedEventsBytesSum } + if o.UniversalServiceMonitoringHostTop99p != nil { + toSerialize["universal_service_monitoring_host_top99p"] = o.UniversalServiceMonitoringHostTop99p + } if o.VsphereHostTop99p != nil { toSerialize["vsphere_host_top99p"] = o.VsphereHostTop99p } @@ -2734,6 +2767,7 @@ func (o *UsageSummaryDateOrg) UnmarshalJSON(bytes []byte) (err error) { SyntheticsParallelTestingMaxSlotsHwm *int64 `json:"synthetics_parallel_testing_max_slots_hwm,omitempty"` TraceSearchIndexedEventsCountSum *int64 `json:"trace_search_indexed_events_count_sum,omitempty"` TwolIngestedEventsBytesSum *int64 `json:"twol_ingested_events_bytes_sum,omitempty"` + UniversalServiceMonitoringHostTop99p *int64 `json:"universal_service_monitoring_host_top99p,omitempty"` VsphereHostTop99p *int64 `json:"vsphere_host_top99p,omitempty"` }{} err = json.Unmarshal(bytes, &all) @@ -2823,6 +2857,7 @@ func (o *UsageSummaryDateOrg) UnmarshalJSON(bytes []byte) (err error) { o.SyntheticsParallelTestingMaxSlotsHwm = all.SyntheticsParallelTestingMaxSlotsHwm o.TraceSearchIndexedEventsCountSum = all.TraceSearchIndexedEventsCountSum o.TwolIngestedEventsBytesSum = all.TwolIngestedEventsBytesSum + o.UniversalServiceMonitoringHostTop99p = all.UniversalServiceMonitoringHostTop99p o.VsphereHostTop99p = all.VsphereHostTop99p return nil } diff --git a/api/datadogV1/model_usage_summary_response.go b/api/datadogV1/model_usage_summary_response.go index a42feacb677..e17d88c8995 100644 --- a/api/datadogV1/model_usage_summary_response.go +++ b/api/datadogV1/model_usage_summary_response.go @@ -179,6 +179,8 @@ type UsageSummaryResponse struct { TraceSearchIndexedEventsCountAggSum *int64 `json:"trace_search_indexed_events_count_agg_sum,omitempty"` // Shows the sum of all ingested APM span bytes over all hours in the current months for all organizations. TwolIngestedEventsBytesAggSum *int64 `json:"twol_ingested_events_bytes_agg_sum,omitempty"` + // Shows the 99th percentile of all Universal Service Monitoring hosts over all hours in the current months for all organizations. + UniversalServiceMonitoringHostTop99pSum *int64 `json:"universal_service_monitoring_host_top99p_sum,omitempty"` // An array of objects regarding hourly usage. Usage []UsageSummaryDate `json:"usage,omitempty"` // Shows the 99th percentile of all vSphere hosts over all hours in the current months for all organizations. @@ -2557,6 +2559,34 @@ func (o *UsageSummaryResponse) SetTwolIngestedEventsBytesAggSum(v int64) { o.TwolIngestedEventsBytesAggSum = &v } +// GetUniversalServiceMonitoringHostTop99pSum returns the UniversalServiceMonitoringHostTop99pSum field value if set, zero value otherwise. +func (o *UsageSummaryResponse) GetUniversalServiceMonitoringHostTop99pSum() int64 { + if o == nil || o.UniversalServiceMonitoringHostTop99pSum == nil { + var ret int64 + return ret + } + return *o.UniversalServiceMonitoringHostTop99pSum +} + +// GetUniversalServiceMonitoringHostTop99pSumOk returns a tuple with the UniversalServiceMonitoringHostTop99pSum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UsageSummaryResponse) GetUniversalServiceMonitoringHostTop99pSumOk() (*int64, bool) { + if o == nil || o.UniversalServiceMonitoringHostTop99pSum == nil { + return nil, false + } + return o.UniversalServiceMonitoringHostTop99pSum, true +} + +// HasUniversalServiceMonitoringHostTop99pSum returns a boolean if a field has been set. +func (o *UsageSummaryResponse) HasUniversalServiceMonitoringHostTop99pSum() bool { + return o != nil && o.UniversalServiceMonitoringHostTop99pSum != nil +} + +// SetUniversalServiceMonitoringHostTop99pSum gets a reference to the given int64 and assigns it to the UniversalServiceMonitoringHostTop99pSum field. +func (o *UsageSummaryResponse) SetUniversalServiceMonitoringHostTop99pSum(v int64) { + o.UniversalServiceMonitoringHostTop99pSum = &v +} + // GetUsage returns the Usage field value if set, zero value otherwise. func (o *UsageSummaryResponse) GetUsage() []UsageSummaryDate { if o == nil || o.Usage == nil { @@ -2883,6 +2913,9 @@ func (o UsageSummaryResponse) MarshalJSON() ([]byte, error) { if o.TwolIngestedEventsBytesAggSum != nil { toSerialize["twol_ingested_events_bytes_agg_sum"] = o.TwolIngestedEventsBytesAggSum } + if o.UniversalServiceMonitoringHostTop99pSum != nil { + toSerialize["universal_service_monitoring_host_top99p_sum"] = o.UniversalServiceMonitoringHostTop99pSum + } if o.Usage != nil { toSerialize["usage"] = o.Usage } @@ -2984,6 +3017,7 @@ func (o *UsageSummaryResponse) UnmarshalJSON(bytes []byte) (err error) { SyntheticsParallelTestingMaxSlotsHwmSum *int64 `json:"synthetics_parallel_testing_max_slots_hwm_sum,omitempty"` TraceSearchIndexedEventsCountAggSum *int64 `json:"trace_search_indexed_events_count_agg_sum,omitempty"` TwolIngestedEventsBytesAggSum *int64 `json:"twol_ingested_events_bytes_agg_sum,omitempty"` + UniversalServiceMonitoringHostTop99pSum *int64 `json:"universal_service_monitoring_host_top99p_sum,omitempty"` Usage []UsageSummaryDate `json:"usage,omitempty"` VsphereHostTop99pSum *int64 `json:"vsphere_host_top99p_sum,omitempty"` }{} @@ -3087,6 +3121,7 @@ func (o *UsageSummaryResponse) UnmarshalJSON(bytes []byte) (err error) { o.SyntheticsParallelTestingMaxSlotsHwmSum = all.SyntheticsParallelTestingMaxSlotsHwmSum o.TraceSearchIndexedEventsCountAggSum = all.TraceSearchIndexedEventsCountAggSum o.TwolIngestedEventsBytesAggSum = all.TwolIngestedEventsBytesAggSum + o.UniversalServiceMonitoringHostTop99pSum = all.UniversalServiceMonitoringHostTop99pSum o.Usage = all.Usage o.VsphereHostTop99pSum = all.VsphereHostTop99pSum return nil