Skip to content
New issue

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

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

Already on GitHub? # to your account

Add synthetics mobile application testing to usage metering API #1315

Merged
Merged
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
@@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.5",
"regenerated": "2023-09-13 14:37:15.420184",
"spec_repo_commit": "ec46249d"
"regenerated": "2023-09-14 14:35:35.837816",
"spec_repo_commit": "1d834ec1"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-09-13 14:37:15.436584",
"spec_repo_commit": "ec46249d"
"regenerated": "2023-09-14 14:35:35.856552",
"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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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.
@@ -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.
@@ -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.
4 changes: 2 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ export type HourlyUsageAttributionUsageType =
| typeof FUNCTIONS_USAGE
| typeof INFRA_HOST_USAGE
| typeof INVOCATIONS_USAGE
| typeof MOBILE_APP_TESTING_USAGE
| typeof NPM_HOST_USAGE
| typeof OBS_PIPELINE_BYTES_USAGE
| typeof PROFILED_CONTAINER_USAGE
@@ -75,6 +76,7 @@ export const FARGATE_USAGE = "fargate_usage";
export const FUNCTIONS_USAGE = "functions_usage";
export const INFRA_HOST_USAGE = "infra_host_usage";
export const INVOCATIONS_USAGE = "invocations_usage";
export const MOBILE_APP_TESTING_USAGE = "mobile_app_testing_usage";
export const NPM_HOST_USAGE = "npm_host_usage";
export const OBS_PIPELINE_BYTES_USAGE = "obs_pipeline_bytes_usage";
export const PROFILED_CONTAINER_USAGE = "profiled_container_usage";
Original file line number Diff line number Diff line change
@@ -63,6 +63,8 @@ export type MonthlyUsageAttributionSupportedMetrics =
| typeof INFRA_HOST_PERCENTAGE
| typeof INVOCATIONS_USAGE
| typeof INVOCATIONS_PERCENTAGE
| typeof MOBILE_APP_TESTING_USAGE
| typeof MOBILE_APP_TESTING_PERCENTAGE
| typeof NPM_HOST_USAGE
| typeof NPM_HOST_PERCENTAGE
| typeof OBS_PIPELINE_BYTES_USAGE
@@ -144,6 +146,8 @@ export const INFRA_HOST_USAGE = "infra_host_usage";
export const INFRA_HOST_PERCENTAGE = "infra_host_percentage";
export const INVOCATIONS_USAGE = "invocations_usage";
export const INVOCATIONS_PERCENTAGE = "invocations_percentage";
export const MOBILE_APP_TESTING_USAGE = "mobile_app_testing_percentage";
export const MOBILE_APP_TESTING_PERCENTAGE = "mobile_app_testing_usage";
export const NPM_HOST_USAGE = "npm_host_usage";
export const NPM_HOST_PERCENTAGE = "npm_host_percentage";
export const OBS_PIPELINE_BYTES_USAGE = "obs_pipeline_bytes_usage";
Original file line number Diff line number Diff line change
@@ -226,6 +226,14 @@ export class MonthlyUsageAttributionValues {
* The Lambda invocation usage by tag(s).
*/
"invocationsUsage"?: number;
/**
* The percentage of Synthetic mobile application test usage by tag(s).
*/
"mobileAppTestingPercentage"?: number;
/**
* The Synthetic mobile application test usage by tag(s).
*/
"mobileAppTestingUsage"?: number;
/**
* The percentage of network host usage by tag(s).
*/
@@ -578,6 +586,16 @@ export class MonthlyUsageAttributionValues {
type: "number",
format: "double",
},
mobileAppTestingPercentage: {
baseName: "mobile_app_testing_percentage",
type: "number",
format: "double",
},
mobileAppTestingUsage: {
baseName: "mobile_app_testing_usage",
type: "number",
format: "double",
},
npmHostPercentage: {
baseName: "npm_host_percentage",
type: "number",
3 changes: 3 additions & 0 deletions packages/datadog-api-client-v1/models/ObjectSerializer.ts
Original file line number Diff line number Diff line change
@@ -757,6 +757,7 @@ const enumsMap: { [key: string]: any[] } = {
"functions_usage",
"infra_host_usage",
"invocations_usage",
"mobile_app_testing_usage",
"npm_host_usage",
"obs_pipeline_bytes_usage",
"profiled_container_usage",
@@ -944,6 +945,8 @@ const enumsMap: { [key: string]: any[] } = {
"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",
9 changes: 9 additions & 0 deletions packages/datadog-api-client-v1/models/UsageSummaryDate.ts
Original file line number Diff line number Diff line change
@@ -327,6 +327,10 @@ export class UsageSummaryDate {
* Shows the sum of all Synthetic API tests over all hours in the current date for all organizations.
*/
"syntheticsCheckCallsCountSum"?: number;
/**
* Shows the sum of all Synthetic mobile application tests over all hours in the current date for all organizations.
*/
"syntheticsMobileTestRunsSum"?: number;
/**
* Shows the high-water mark of used synthetics parallel testing slots over all hours in the current date for all organizations.
*/
@@ -759,6 +763,11 @@ export class UsageSummaryDate {
type: "number",
format: "int64",
},
syntheticsMobileTestRunsSum: {
baseName: "synthetics_mobile_test_runs_sum",
type: "number",
format: "int64",
},
syntheticsParallelTestingMaxSlotsHwm: {
baseName: "synthetics_parallel_testing_max_slots_hwm",
type: "number",
Original file line number Diff line number Diff line change
@@ -334,6 +334,10 @@ export class UsageSummaryDateOrg {
* Shows the sum of all Synthetic API tests over all hours in the current date for the given org.
*/
"syntheticsCheckCallsCountSum"?: number;
/**
* Shows the sum of all Synthetic mobile application tests over all hours in the current date for the given org.
*/
"syntheticsMobileTestRunsSum"?: number;
/**
* Shows the high-water mark of used synthetics parallel testing slots over all hours in the current date for the given org.
*/
@@ -773,6 +777,11 @@ export class UsageSummaryDateOrg {
type: "number",
format: "int64",
},
syntheticsMobileTestRunsSum: {
baseName: "synthetics_mobile_test_runs_sum",
type: "number",
format: "int64",
},
syntheticsParallelTestingMaxSlotsHwm: {
baseName: "synthetics_parallel_testing_max_slots_hwm",
type: "number",
Original file line number Diff line number Diff line change
@@ -360,6 +360,10 @@ export class UsageSummaryResponse {
* Shows the sum of all Synthetic API tests over all hours in the current months for all organizations.
*/
"syntheticsCheckCallsCountAggSum"?: number;
/**
* Shows the sum of Synthetic mobile application tests over all hours in the current months for all organizations.
*/
"syntheticsMobileTestRunsAggSum"?: number;
/**
* Shows the sum of the high-water marks of used synthetics parallel testing slots over all hours in the current month for all organizations.
*/
@@ -836,6 +840,11 @@ export class UsageSummaryResponse {
type: "number",
format: "int64",
},
syntheticsMobileTestRunsAggSum: {
baseName: "synthetics_mobile_test_runs_agg_sum",
type: "number",
format: "int64",
},
syntheticsParallelTestingMaxSlotsHwmSum: {
baseName: "synthetics_parallel_testing_max_slots_hwm_sum",
type: "number",
2 changes: 1 addition & 1 deletion packages/datadog-api-client-v2/apis/UsageMeteringApi.ts
Original file line number Diff line number Diff line change
@@ -955,7 +955,7 @@ export interface UsageMeteringApiGetHourlyUsageRequest {
* `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`, `iot`,
* `lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `observability_pipelines`,
* `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`.
* @type string
*/