Skip to content

Add synthetics mobile application testing to usage metering API #1657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.5",
"regenerated": "2023-09-13 14:37:22.996999",
"spec_repo_commit": "ec46249d"
"regenerated": "2023-09-14 14:35:30.424386",
"spec_repo_commit": "1d834ec1"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-09-13 14:37:23.013431",
"spec_repo_commit": "ec46249d"
"regenerated": "2023-09-14 14:35:30.441566",
"spec_repo_commit": "1d834ec1"
}
}
}
30 changes: 30 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3920,6 +3920,7 @@ components:
- functions_usage
- infra_host_usage
- invocations_usage
- mobile_app_testing_usage
- npm_host_usage
- obs_pipeline_bytes_usage
- profiled_container_usage
Expand Down Expand Up @@ -3958,6 +3959,7 @@ components:
- FUNCTIONS_USAGE
- INFRA_HOST_USAGE
- INVOCATIONS_USAGE
- MOBILE_APP_TESTING_USAGE
- NPM_HOST_USAGE
- OBS_PIPELINE_BYTES_USAGE
- PROFILED_CONTAINER_USAGE
Expand Down Expand Up @@ -7489,6 +7491,8 @@ components:
- 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
Expand Down Expand Up @@ -7564,6 +7568,8 @@ components:
- INFRA_HOST_PERCENTAGE
- INVOCATIONS_USAGE
- INVOCATIONS_PERCENTAGE
- MOBILE_APP_TESTING_USAGE
- MOBILE_APP_TESTING_PERCENTAGE
- NPM_HOST_USAGE
- NPM_HOST_PERCENTAGE
- OBS_PIPELINE_BYTES_USAGE
Expand Down Expand Up @@ -7811,6 +7817,15 @@ components:
description: The Lambda invocation usage by tag(s).
format: double
type: number
mobile_app_testing_percentage:
description: The percentage of Synthetic mobile application test usage by
tag(s).
format: double
type: number
mobile_app_testing_usage:
description: The Synthetic mobile application test usage by tag(s).
format: double
type: number
npm_host_percentage:
description: The percentage of network host usage by tag(s).
format: double
Expand Down Expand Up @@ -17963,6 +17978,11 @@ components:
the current date for all organizations.
format: int64
type: integer
synthetics_mobile_test_runs_sum:
description: Shows the sum of all Synthetic mobile application tests over
all hours in the current date for all organizations.
format: int64
type: integer
synthetics_parallel_testing_max_slots_hwm:
description: Shows the high-water mark of used synthetics parallel testing
slots over all hours in the current date for all organizations.
Expand Down Expand Up @@ -18404,6 +18424,11 @@ components:
the current date for the given org.
format: int64
type: integer
synthetics_mobile_test_runs_sum:
description: Shows the sum of all Synthetic mobile application tests over
all hours in the current date for the given org.
format: int64
type: integer
synthetics_parallel_testing_max_slots_hwm:
description: Shows the high-water mark of used synthetics parallel testing
slots over all hours in the current date for the given org.
Expand Down Expand Up @@ -18887,6 +18912,11 @@ components:
the current months for all organizations.
format: int64
type: integer
synthetics_mobile_test_runs_agg_sum:
description: Shows the sum of Synthetic mobile application tests over all
hours in the current months for all organizations.
format: int64
type: integer
synthetics_parallel_testing_max_slots_hwm_sum:
description: Shows the sum of the high-water marks of used synthetics parallel
testing slots over all hours in the current month for all organizations.
Expand Down
4 changes: 2 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27082,8 +27082,8 @@ paths:
`online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`,
`sds`, `snmp`,

`synthetics_api`, `synthetics_browser`, `synthetics_parallel_testing`, and
`timeseries`.
`synthetics_api`, `synthetics_browser`, `synthetics_mobile`, `synthetics_parallel_testing`,
and `timeseries`.

The following product family has been **deprecated**: `audit_logs`.'
in: query
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
"""
Supported products for hourly usage attribution requests.

: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"].
: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"].
:type value: str
"""

Expand Down Expand Up @@ -47,6 +47,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
"functions_usage",
"infra_host_usage",
"invocations_usage",
"mobile_app_testing_usage",
"npm_host_usage",
"obs_pipeline_bytes_usage",
"profiled_container_usage",
Expand Down Expand Up @@ -84,6 +85,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
FUNCTIONS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
INFRA_HOST_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
INVOCATIONS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
MOBILE_APP_TESTING_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
NPM_HOST_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
OBS_PIPELINE_BYTES_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
PROFILED_CONTAINER_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
Expand Down Expand Up @@ -140,6 +142,7 @@ def openapi_types(_):
HourlyUsageAttributionUsageType.FUNCTIONS_USAGE = HourlyUsageAttributionUsageType("functions_usage")
HourlyUsageAttributionUsageType.INFRA_HOST_USAGE = HourlyUsageAttributionUsageType("infra_host_usage")
HourlyUsageAttributionUsageType.INVOCATIONS_USAGE = HourlyUsageAttributionUsageType("invocations_usage")
HourlyUsageAttributionUsageType.MOBILE_APP_TESTING_USAGE = HourlyUsageAttributionUsageType("mobile_app_testing_usage")
HourlyUsageAttributionUsageType.NPM_HOST_USAGE = HourlyUsageAttributionUsageType("npm_host_usage")
HourlyUsageAttributionUsageType.OBS_PIPELINE_BYTES_USAGE = HourlyUsageAttributionUsageType("obs_pipeline_bytes_usage")
HourlyUsageAttributionUsageType.PROFILED_CONTAINER_USAGE = HourlyUsageAttributionUsageType("profiled_container_usage")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
"""
Supported metrics for monthly usage attribution requests.

: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", "*"].
: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", "*"].
:type value: str
"""

Expand Down Expand Up @@ -73,6 +73,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
"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",
Expand Down Expand Up @@ -147,6 +149,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
INFRA_HOST_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
INVOCATIONS_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
INVOCATIONS_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
MOBILE_APP_TESTING_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
MOBILE_APP_TESTING_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
NPM_HOST_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
NPM_HOST_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
OBS_PIPELINE_BYTES_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
Expand Down Expand Up @@ -298,6 +302,12 @@ def openapi_types(_):
MonthlyUsageAttributionSupportedMetrics.INVOCATIONS_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
"invocations_percentage"
)
MonthlyUsageAttributionSupportedMetrics.MOBILE_APP_TESTING_USAGE = MonthlyUsageAttributionSupportedMetrics(
"mobile_app_testing_percentage"
)
MonthlyUsageAttributionSupportedMetrics.MOBILE_APP_TESTING_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
"mobile_app_testing_usage"
)
MonthlyUsageAttributionSupportedMetrics.NPM_HOST_USAGE = MonthlyUsageAttributionSupportedMetrics("npm_host_usage")
MonthlyUsageAttributionSupportedMetrics.NPM_HOST_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
"npm_host_percentage"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ def openapi_types(_):
"infra_host_usage": (float,),
"invocations_percentage": (float,),
"invocations_usage": (float,),
"mobile_app_testing_percentage": (float,),
"mobile_app_testing_usage": (float,),
"npm_host_percentage": (float,),
"npm_host_usage": (float,),
"obs_pipeline_bytes_percentage": (float,),
Expand Down Expand Up @@ -146,6 +148,8 @@ def openapi_types(_):
"infra_host_usage": "infra_host_usage",
"invocations_percentage": "invocations_percentage",
"invocations_usage": "invocations_usage",
"mobile_app_testing_percentage": "mobile_app_testing_percentage",
"mobile_app_testing_usage": "mobile_app_testing_usage",
"npm_host_percentage": "npm_host_percentage",
"npm_host_usage": "npm_host_usage",
"obs_pipeline_bytes_percentage": "obs_pipeline_bytes_percentage",
Expand Down Expand Up @@ -222,6 +226,8 @@ def __init__(
infra_host_usage: Union[float, UnsetType] = unset,
invocations_percentage: Union[float, UnsetType] = unset,
invocations_usage: Union[float, UnsetType] = unset,
mobile_app_testing_percentage: Union[float, UnsetType] = unset,
mobile_app_testing_usage: Union[float, UnsetType] = unset,
npm_host_percentage: Union[float, UnsetType] = unset,
npm_host_usage: Union[float, UnsetType] = unset,
obs_pipeline_bytes_percentage: Union[float, UnsetType] = unset,
Expand Down Expand Up @@ -407,6 +413,12 @@ def __init__(
:param invocations_usage: The Lambda invocation usage by tag(s).
:type invocations_usage: float, optional

:param mobile_app_testing_percentage: The percentage of Synthetic mobile application test usage by tag(s).
:type mobile_app_testing_percentage: float, optional

:param mobile_app_testing_usage: The Synthetic mobile application test usage by tag(s).
:type mobile_app_testing_usage: float, optional

:param npm_host_percentage: The percentage of network host usage by tag(s).
:type npm_host_percentage: float, optional

Expand Down Expand Up @@ -569,6 +581,10 @@ def __init__(
kwargs["invocations_percentage"] = invocations_percentage
if invocations_usage is not unset:
kwargs["invocations_usage"] = invocations_usage
if mobile_app_testing_percentage is not unset:
kwargs["mobile_app_testing_percentage"] = mobile_app_testing_percentage
if mobile_app_testing_usage is not unset:
kwargs["mobile_app_testing_usage"] = mobile_app_testing_usage
if npm_host_percentage is not unset:
kwargs["npm_host_percentage"] = npm_host_percentage
if npm_host_usage is not unset:
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v1/model/usage_summary_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def openapi_types(_):
"sds_total_scanned_bytes_sum": (int,),
"synthetics_browser_check_calls_count_sum": (int,),
"synthetics_check_calls_count_sum": (int,),
"synthetics_mobile_test_runs_sum": (int,),
"synthetics_parallel_testing_max_slots_hwm": (int,),
"trace_search_indexed_events_count_sum": (int,),
"twol_ingested_events_bytes_sum": (int,),
Expand Down Expand Up @@ -192,6 +193,7 @@ def openapi_types(_):
"sds_total_scanned_bytes_sum": "sds_total_scanned_bytes_sum",
"synthetics_browser_check_calls_count_sum": "synthetics_browser_check_calls_count_sum",
"synthetics_check_calls_count_sum": "synthetics_check_calls_count_sum",
"synthetics_mobile_test_runs_sum": "synthetics_mobile_test_runs_sum",
"synthetics_parallel_testing_max_slots_hwm": "synthetics_parallel_testing_max_slots_hwm",
"trace_search_indexed_events_count_sum": "trace_search_indexed_events_count_sum",
"twol_ingested_events_bytes_sum": "twol_ingested_events_bytes_sum",
Expand Down Expand Up @@ -282,6 +284,7 @@ def __init__(
sds_total_scanned_bytes_sum: Union[int, UnsetType] = unset,
synthetics_browser_check_calls_count_sum: Union[int, UnsetType] = unset,
synthetics_check_calls_count_sum: Union[int, UnsetType] = unset,
synthetics_mobile_test_runs_sum: Union[int, UnsetType] = unset,
synthetics_parallel_testing_max_slots_hwm: Union[int, UnsetType] = unset,
trace_search_indexed_events_count_sum: Union[int, UnsetType] = unset,
twol_ingested_events_bytes_sum: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -531,6 +534,9 @@ def __init__(
:param synthetics_check_calls_count_sum: Shows the sum of all Synthetic API tests over all hours in the current date for all organizations.
:type synthetics_check_calls_count_sum: int, optional

: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.
:type synthetics_mobile_test_runs_sum: int, optional

: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.
:type synthetics_parallel_testing_max_slots_hwm: int, optional

Expand Down Expand Up @@ -710,6 +716,8 @@ def __init__(
kwargs["synthetics_browser_check_calls_count_sum"] = synthetics_browser_check_calls_count_sum
if synthetics_check_calls_count_sum is not unset:
kwargs["synthetics_check_calls_count_sum"] = synthetics_check_calls_count_sum
if synthetics_mobile_test_runs_sum is not unset:
kwargs["synthetics_mobile_test_runs_sum"] = synthetics_mobile_test_runs_sum
if synthetics_parallel_testing_max_slots_hwm is not unset:
kwargs["synthetics_parallel_testing_max_slots_hwm"] = synthetics_parallel_testing_max_slots_hwm
if trace_search_indexed_events_count_sum is not unset:
Expand Down
Loading