Skip to content

Commit e13803a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Add synthetics mobile application testing to usage metering API (#1657)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent f46f81b commit e13803a

10 files changed

+92
-9
lines changed

.apigentools-info

+4-4
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.996999",
8-
"spec_repo_commit": "ec46249d"
7+
"regenerated": "2023-09-14 14:35:30.424386",
8+
"spec_repo_commit": "1d834ec1"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-09-13 14:37:23.013431",
13-
"spec_repo_commit": "ec46249d"
12+
"regenerated": "2023-09-14 14:35:30.441566",
13+
"spec_repo_commit": "1d834ec1"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+30
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

+2-2
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

src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
1616
"""
1717
Supported products for hourly usage attribution requests.
1818
19-
:param value: Must be one of ["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"].
19+
:param value: Must be one of ["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"].
2020
:type value: str
2121
"""
2222

@@ -47,6 +47,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
4747
"functions_usage",
4848
"infra_host_usage",
4949
"invocations_usage",
50+
"mobile_app_testing_usage",
5051
"npm_host_usage",
5152
"obs_pipeline_bytes_usage",
5253
"profiled_container_usage",
@@ -84,6 +85,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
8485
FUNCTIONS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
8586
INFRA_HOST_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
8687
INVOCATIONS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
88+
MOBILE_APP_TESTING_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
8789
NPM_HOST_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
8890
OBS_PIPELINE_BYTES_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
8991
PROFILED_CONTAINER_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
@@ -140,6 +142,7 @@ def openapi_types(_):
140142
HourlyUsageAttributionUsageType.FUNCTIONS_USAGE = HourlyUsageAttributionUsageType("functions_usage")
141143
HourlyUsageAttributionUsageType.INFRA_HOST_USAGE = HourlyUsageAttributionUsageType("infra_host_usage")
142144
HourlyUsageAttributionUsageType.INVOCATIONS_USAGE = HourlyUsageAttributionUsageType("invocations_usage")
145+
HourlyUsageAttributionUsageType.MOBILE_APP_TESTING_USAGE = HourlyUsageAttributionUsageType("mobile_app_testing_usage")
143146
HourlyUsageAttributionUsageType.NPM_HOST_USAGE = HourlyUsageAttributionUsageType("npm_host_usage")
144147
HourlyUsageAttributionUsageType.OBS_PIPELINE_BYTES_USAGE = HourlyUsageAttributionUsageType("obs_pipeline_bytes_usage")
145148
HourlyUsageAttributionUsageType.PROFILED_CONTAINER_USAGE = HourlyUsageAttributionUsageType("profiled_container_usage")

src/datadog_api_client/v1/model/monthly_usage_attribution_supported_metrics.py

+11-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
1616
"""
1717
Supported metrics for monthly usage attribution requests.
1818
19-
:param value: Must be one of ["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", "*"].
19+
:param value: Must be one of ["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", "*"].
2020
:type value: str
2121
"""
2222

@@ -73,6 +73,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
7373
"infra_host_percentage",
7474
"invocations_usage",
7575
"invocations_percentage",
76+
"mobile_app_testing_percentage",
77+
"mobile_app_testing_usage",
7678
"npm_host_usage",
7779
"npm_host_percentage",
7880
"obs_pipeline_bytes_usage",
@@ -147,6 +149,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
147149
INFRA_HOST_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
148150
INVOCATIONS_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
149151
INVOCATIONS_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
152+
MOBILE_APP_TESTING_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
153+
MOBILE_APP_TESTING_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
150154
NPM_HOST_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
151155
NPM_HOST_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
152156
OBS_PIPELINE_BYTES_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
@@ -298,6 +302,12 @@ def openapi_types(_):
298302
MonthlyUsageAttributionSupportedMetrics.INVOCATIONS_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
299303
"invocations_percentage"
300304
)
305+
MonthlyUsageAttributionSupportedMetrics.MOBILE_APP_TESTING_USAGE = MonthlyUsageAttributionSupportedMetrics(
306+
"mobile_app_testing_percentage"
307+
)
308+
MonthlyUsageAttributionSupportedMetrics.MOBILE_APP_TESTING_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
309+
"mobile_app_testing_usage"
310+
)
301311
MonthlyUsageAttributionSupportedMetrics.NPM_HOST_USAGE = MonthlyUsageAttributionSupportedMetrics("npm_host_usage")
302312
MonthlyUsageAttributionSupportedMetrics.NPM_HOST_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
303313
"npm_host_percentage"

src/datadog_api_client/v1/model/monthly_usage_attribution_values.py

+16
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ def openapi_types(_):
7171
"infra_host_usage": (float,),
7272
"invocations_percentage": (float,),
7373
"invocations_usage": (float,),
74+
"mobile_app_testing_percentage": (float,),
75+
"mobile_app_testing_usage": (float,),
7476
"npm_host_percentage": (float,),
7577
"npm_host_usage": (float,),
7678
"obs_pipeline_bytes_percentage": (float,),
@@ -146,6 +148,8 @@ def openapi_types(_):
146148
"infra_host_usage": "infra_host_usage",
147149
"invocations_percentage": "invocations_percentage",
148150
"invocations_usage": "invocations_usage",
151+
"mobile_app_testing_percentage": "mobile_app_testing_percentage",
152+
"mobile_app_testing_usage": "mobile_app_testing_usage",
149153
"npm_host_percentage": "npm_host_percentage",
150154
"npm_host_usage": "npm_host_usage",
151155
"obs_pipeline_bytes_percentage": "obs_pipeline_bytes_percentage",
@@ -222,6 +226,8 @@ def __init__(
222226
infra_host_usage: Union[float, UnsetType] = unset,
223227
invocations_percentage: Union[float, UnsetType] = unset,
224228
invocations_usage: Union[float, UnsetType] = unset,
229+
mobile_app_testing_percentage: Union[float, UnsetType] = unset,
230+
mobile_app_testing_usage: Union[float, UnsetType] = unset,
225231
npm_host_percentage: Union[float, UnsetType] = unset,
226232
npm_host_usage: Union[float, UnsetType] = unset,
227233
obs_pipeline_bytes_percentage: Union[float, UnsetType] = unset,
@@ -407,6 +413,12 @@ def __init__(
407413
:param invocations_usage: The Lambda invocation usage by tag(s).
408414
:type invocations_usage: float, optional
409415
416+
:param mobile_app_testing_percentage: The percentage of Synthetic mobile application test usage by tag(s).
417+
:type mobile_app_testing_percentage: float, optional
418+
419+
:param mobile_app_testing_usage: The Synthetic mobile application test usage by tag(s).
420+
:type mobile_app_testing_usage: float, optional
421+
410422
:param npm_host_percentage: The percentage of network host usage by tag(s).
411423
:type npm_host_percentage: float, optional
412424
@@ -569,6 +581,10 @@ def __init__(
569581
kwargs["invocations_percentage"] = invocations_percentage
570582
if invocations_usage is not unset:
571583
kwargs["invocations_usage"] = invocations_usage
584+
if mobile_app_testing_percentage is not unset:
585+
kwargs["mobile_app_testing_percentage"] = mobile_app_testing_percentage
586+
if mobile_app_testing_usage is not unset:
587+
kwargs["mobile_app_testing_usage"] = mobile_app_testing_usage
572588
if npm_host_percentage is not unset:
573589
kwargs["npm_host_percentage"] = npm_host_percentage
574590
if npm_host_usage is not unset:

src/datadog_api_client/v1/model/usage_summary_date.py

+8
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def openapi_types(_):
103103
"sds_total_scanned_bytes_sum": (int,),
104104
"synthetics_browser_check_calls_count_sum": (int,),
105105
"synthetics_check_calls_count_sum": (int,),
106+
"synthetics_mobile_test_runs_sum": (int,),
106107
"synthetics_parallel_testing_max_slots_hwm": (int,),
107108
"trace_search_indexed_events_count_sum": (int,),
108109
"twol_ingested_events_bytes_sum": (int,),
@@ -192,6 +193,7 @@ def openapi_types(_):
192193
"sds_total_scanned_bytes_sum": "sds_total_scanned_bytes_sum",
193194
"synthetics_browser_check_calls_count_sum": "synthetics_browser_check_calls_count_sum",
194195
"synthetics_check_calls_count_sum": "synthetics_check_calls_count_sum",
196+
"synthetics_mobile_test_runs_sum": "synthetics_mobile_test_runs_sum",
195197
"synthetics_parallel_testing_max_slots_hwm": "synthetics_parallel_testing_max_slots_hwm",
196198
"trace_search_indexed_events_count_sum": "trace_search_indexed_events_count_sum",
197199
"twol_ingested_events_bytes_sum": "twol_ingested_events_bytes_sum",
@@ -282,6 +284,7 @@ def __init__(
282284
sds_total_scanned_bytes_sum: Union[int, UnsetType] = unset,
283285
synthetics_browser_check_calls_count_sum: Union[int, UnsetType] = unset,
284286
synthetics_check_calls_count_sum: Union[int, UnsetType] = unset,
287+
synthetics_mobile_test_runs_sum: Union[int, UnsetType] = unset,
285288
synthetics_parallel_testing_max_slots_hwm: Union[int, UnsetType] = unset,
286289
trace_search_indexed_events_count_sum: Union[int, UnsetType] = unset,
287290
twol_ingested_events_bytes_sum: Union[int, UnsetType] = unset,
@@ -531,6 +534,9 @@ def __init__(
531534
:param synthetics_check_calls_count_sum: Shows the sum of all Synthetic API tests over all hours in the current date for all organizations.
532535
:type synthetics_check_calls_count_sum: int, optional
533536
537+
:param synthetics_mobile_test_runs_sum: Shows the sum of all Synthetic mobile application tests over all hours in the current date for all organizations.
538+
:type synthetics_mobile_test_runs_sum: int, optional
539+
534540
:param synthetics_parallel_testing_max_slots_hwm: Shows the high-water mark of used synthetics parallel testing slots over all hours in the current date for all organizations.
535541
:type synthetics_parallel_testing_max_slots_hwm: int, optional
536542
@@ -710,6 +716,8 @@ def __init__(
710716
kwargs["synthetics_browser_check_calls_count_sum"] = synthetics_browser_check_calls_count_sum
711717
if synthetics_check_calls_count_sum is not unset:
712718
kwargs["synthetics_check_calls_count_sum"] = synthetics_check_calls_count_sum
719+
if synthetics_mobile_test_runs_sum is not unset:
720+
kwargs["synthetics_mobile_test_runs_sum"] = synthetics_mobile_test_runs_sum
713721
if synthetics_parallel_testing_max_slots_hwm is not unset:
714722
kwargs["synthetics_parallel_testing_max_slots_hwm"] = synthetics_parallel_testing_max_slots_hwm
715723
if trace_search_indexed_events_count_sum is not unset:

0 commit comments

Comments
 (0)