Skip to content

Commit 8e7f8eb

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add synthetics mobile application testing to usage metering API (#1531)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent b829642 commit 8e7f8eb

11 files changed

+97
-14
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.5",
7-
"regenerated": "2023-09-13 14:37:22.081670",
8-
"spec_repo_commit": "ec46249d"
7+
"regenerated": "2023-09-14 14:35:21.790511",
8+
"spec_repo_commit": "1d834ec1"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-09-13 14:37:22.099316",
13-
"spec_repo_commit": "ec46249d"
12+
"regenerated": "2023-09-14 14:35:21.804537",
13+
"spec_repo_commit": "1d834ec1"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3920,6 +3920,7 @@ components:
39203920
- functions_usage
39213921
- infra_host_usage
39223922
- invocations_usage
3923+
- mobile_app_testing_usage
39233924
- npm_host_usage
39243925
- obs_pipeline_bytes_usage
39253926
- profiled_container_usage
@@ -3958,6 +3959,7 @@ components:
39583959
- FUNCTIONS_USAGE
39593960
- INFRA_HOST_USAGE
39603961
- INVOCATIONS_USAGE
3962+
- MOBILE_APP_TESTING_USAGE
39613963
- NPM_HOST_USAGE
39623964
- OBS_PIPELINE_BYTES_USAGE
39633965
- PROFILED_CONTAINER_USAGE
@@ -7489,6 +7491,8 @@ components:
74897491
- infra_host_percentage
74907492
- invocations_usage
74917493
- invocations_percentage
7494+
- mobile_app_testing_percentage
7495+
- mobile_app_testing_usage
74927496
- npm_host_usage
74937497
- npm_host_percentage
74947498
- obs_pipeline_bytes_usage
@@ -7564,6 +7568,8 @@ components:
75647568
- INFRA_HOST_PERCENTAGE
75657569
- INVOCATIONS_USAGE
75667570
- INVOCATIONS_PERCENTAGE
7571+
- MOBILE_APP_TESTING_USAGE
7572+
- MOBILE_APP_TESTING_PERCENTAGE
75677573
- NPM_HOST_USAGE
75687574
- NPM_HOST_PERCENTAGE
75697575
- OBS_PIPELINE_BYTES_USAGE
@@ -7811,6 +7817,15 @@ components:
78117817
description: The Lambda invocation usage by tag(s).
78127818
format: double
78137819
type: number
7820+
mobile_app_testing_percentage:
7821+
description: The percentage of Synthetic mobile application test usage by
7822+
tag(s).
7823+
format: double
7824+
type: number
7825+
mobile_app_testing_usage:
7826+
description: The Synthetic mobile application test usage by tag(s).
7827+
format: double
7828+
type: number
78147829
npm_host_percentage:
78157830
description: The percentage of network host usage by tag(s).
78167831
format: double
@@ -17963,6 +17978,11 @@ components:
1796317978
the current date for all organizations.
1796417979
format: int64
1796517980
type: integer
17981+
synthetics_mobile_test_runs_sum:
17982+
description: Shows the sum of all Synthetic mobile application tests over
17983+
all hours in the current date for all organizations.
17984+
format: int64
17985+
type: integer
1796617986
synthetics_parallel_testing_max_slots_hwm:
1796717987
description: Shows the high-water mark of used synthetics parallel testing
1796817988
slots over all hours in the current date for all organizations.
@@ -18404,6 +18424,11 @@ components:
1840418424
the current date for the given org.
1840518425
format: int64
1840618426
type: integer
18427+
synthetics_mobile_test_runs_sum:
18428+
description: Shows the sum of all Synthetic mobile application tests over
18429+
all hours in the current date for the given org.
18430+
format: int64
18431+
type: integer
1840718432
synthetics_parallel_testing_max_slots_hwm:
1840818433
description: Shows the high-water mark of used synthetics parallel testing
1840918434
slots over all hours in the current date for the given org.
@@ -18887,6 +18912,11 @@ components:
1888718912
the current months for all organizations.
1888818913
format: int64
1888918914
type: integer
18915+
synthetics_mobile_test_runs_agg_sum:
18916+
description: Shows the sum of Synthetic mobile application tests over all
18917+
hours in the current months for all organizations.
18918+
format: int64
18919+
type: integer
1889018920
synthetics_parallel_testing_max_slots_hwm_sum:
1889118921
description: Shows the sum of the high-water marks of used synthetics parallel
1889218922
testing slots over all hours in the current month for all organizations.

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27082,8 +27082,8 @@ paths:
2708227082
`online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`,
2708327083
`sds`, `snmp`,
2708427084

27085-
`synthetics_api`, `synthetics_browser`, `synthetics_parallel_testing`, and
27086-
`timeseries`.
27085+
`synthetics_api`, `synthetics_browser`, `synthetics_mobile`, `synthetics_parallel_testing`,
27086+
and `timeseries`.
2708727087

2708827088
The following product family has been **deprecated**: `audit_logs`.'
2708927089
in: query

lib/datadog_api_client/v1/api/usage_metering_api.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def get_hourly_usage_attribution_with_http_info(start_hr, usage_type, opts = {})
152152
fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
153153
end
154154
# verify enum value
155-
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'browser_usage', 'container_excl_agent_usage', 'ci_visibility_itr_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_ingested_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'snmp_usage', 'estimated_rum_sessions_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'sds_scanned_bytes_usage']
155+
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'browser_usage', 'container_excl_agent_usage', 'ci_visibility_itr_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_ingested_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'infra_host_usage', 'invocations_usage', 'mobile_app_testing_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'snmp_usage', 'estimated_rum_sessions_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'sds_scanned_bytes_usage']
156156
if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
157157
fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
158158
end
@@ -472,15 +472,15 @@ def get_monthly_usage_attribution_with_http_info(start_month, fields, opts = {})
472472
fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
473473
end
474474
# verify enum value
475-
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', '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', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', '*']
475+
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', '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', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', '*']
476476
if @api_client.config.client_side_validation && !allowable_values.include?(fields)
477477
fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
478478
end
479479
allowable_values = ['desc', 'asc']
480480
if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
481481
fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
482482
end
483-
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', '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', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', '*']
483+
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', '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', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', '*']
484484
if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
485485
fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
486486
end

lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class HourlyUsageAttributionUsageType
4747
FUNCTIONS_USAGE = "functions_usage".freeze
4848
INFRA_HOST_USAGE = "infra_host_usage".freeze
4949
INVOCATIONS_USAGE = "invocations_usage".freeze
50+
MOBILE_APP_TESTING_USAGE = "mobile_app_testing_usage".freeze
5051
NPM_HOST_USAGE = "npm_host_usage".freeze
5152
OBS_PIPELINE_BYTES_USAGE = "obs_pipeline_bytes_usage".freeze
5253
PROFILED_CONTAINER_USAGE = "profiled_container_usage".freeze

lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ class MonthlyUsageAttributionSupportedMetrics
7373
INFRA_HOST_PERCENTAGE = "infra_host_percentage".freeze
7474
INVOCATIONS_USAGE = "invocations_usage".freeze
7575
INVOCATIONS_PERCENTAGE = "invocations_percentage".freeze
76+
MOBILE_APP_TESTING_USAGE = "mobile_app_testing_percentage".freeze
77+
MOBILE_APP_TESTING_PERCENTAGE = "mobile_app_testing_usage".freeze
7678
NPM_HOST_USAGE = "npm_host_usage".freeze
7779
NPM_HOST_PERCENTAGE = "npm_host_percentage".freeze
7880
OBS_PIPELINE_BYTES_USAGE = "obs_pipeline_bytes_usage".freeze

0 commit comments

Comments
 (0)