Skip to content

Commit 4929277

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add synthetics_parallel_testing to Usage Metering API (#1270)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 6d9d760 commit 4929277

File tree

7 files changed

+46
-6
lines changed

7 files changed

+46
-6
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.4",
7-
"regenerated": "2022-12-15 14:58:10.901785",
8-
"spec_repo_commit": "f91a4f5c"
7+
"regenerated": "2022-12-16 13:15:00.627302",
8+
"spec_repo_commit": "ea9a41e2"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-12-15 14:58:10.914524",
13-
"spec_repo_commit": "f91a4f5c"
12+
"regenerated": "2022-12-16 13:15:00.641494",
13+
"spec_repo_commit": "ea9a41e2"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16576,6 +16576,11 @@ components:
1657616576
the current date for all organizations.
1657716577
format: int64
1657816578
type: integer
16579+
synthetics_parallel_testing_max_slots_hwm:
16580+
description: Shows the high-water mark of used synthetics parallel testing
16581+
slots over all hours in the current date for all organizations.
16582+
format: int64
16583+
type: integer
1657916584
trace_search_indexed_events_count_sum:
1658016585
description: Shows the sum of all Indexed Spans indexed over all hours in
1658116586
the current date for all organizations.
@@ -16945,6 +16950,11 @@ components:
1694516950
the current date for the given org.
1694616951
format: int64
1694716952
type: integer
16953+
synthetics_parallel_testing_max_slots_hwm:
16954+
description: Shows the high-water mark of used synthetics parallel testing
16955+
slots over all hours in the current date for the given org.
16956+
format: int64
16957+
type: integer
1694816958
trace_search_indexed_events_count_sum:
1694916959
description: Shows the sum of all Indexed Spans indexed over all hours in
1695016960
the current date for the given org.
@@ -17356,6 +17366,11 @@ components:
1735617366
the current months for all organizations.
1735717367
format: int64
1735817368
type: integer
17369+
synthetics_parallel_testing_max_slots_hwm_sum:
17370+
description: Shows the sum of the high-water marks of used synthetics parallel
17371+
testing slots over all hours in the current month for all organizations.
17372+
format: int64
17373+
type: integer
1735917374
trace_search_indexed_events_count_agg_sum:
1736017375
description: Shows the sum of all Indexed Spans indexed over all hours in
1736117376
the current months for all organizations.

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17852,7 +17852,8 @@ paths:
1785217852
`online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`,
1785317853
`sds`, `snmp`,
1785417854

17855-
`synthetics_api`, `synthetics_browser`, and `timeseries`.'
17855+
`synthetics_api`, `synthetics_browser`, `synthetics_parallel_testing`, and
17856+
`timeseries`.'
1785617857
in: query
1785717858
name: filter[product_families]
1785817859
required: true

src/datadog_api_client/v1/model/usage_summary_date.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def openapi_types(_):
9393
"sds_total_scanned_bytes_sum": (int,),
9494
"synthetics_browser_check_calls_count_sum": (int,),
9595
"synthetics_check_calls_count_sum": (int,),
96+
"synthetics_parallel_testing_max_slots_hwm": (int,),
9697
"trace_search_indexed_events_count_sum": (int,),
9798
"twol_ingested_events_bytes_sum": (int,),
9899
"vsphere_host_top99p": (int,),
@@ -168,6 +169,7 @@ def openapi_types(_):
168169
"sds_total_scanned_bytes_sum": "sds_total_scanned_bytes_sum",
169170
"synthetics_browser_check_calls_count_sum": "synthetics_browser_check_calls_count_sum",
170171
"synthetics_check_calls_count_sum": "synthetics_check_calls_count_sum",
172+
"synthetics_parallel_testing_max_slots_hwm": "synthetics_parallel_testing_max_slots_hwm",
171173
"trace_search_indexed_events_count_sum": "trace_search_indexed_events_count_sum",
172174
"twol_ingested_events_bytes_sum": "twol_ingested_events_bytes_sum",
173175
"vsphere_host_top99p": "vsphere_host_top99p",
@@ -244,6 +246,7 @@ def __init__(
244246
sds_total_scanned_bytes_sum: Union[int, UnsetType] = unset,
245247
synthetics_browser_check_calls_count_sum: Union[int, UnsetType] = unset,
246248
synthetics_check_calls_count_sum: Union[int, UnsetType] = unset,
249+
synthetics_parallel_testing_max_slots_hwm: Union[int, UnsetType] = unset,
247250
trace_search_indexed_events_count_sum: Union[int, UnsetType] = unset,
248251
twol_ingested_events_bytes_sum: Union[int, UnsetType] = unset,
249252
vsphere_host_top99p: Union[int, UnsetType] = unset,
@@ -459,6 +462,9 @@ def __init__(
459462
:param synthetics_check_calls_count_sum: Shows the sum of all Synthetic API tests over all hours in the current date for all organizations.
460463
:type synthetics_check_calls_count_sum: int, optional
461464
465+
: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.
466+
:type synthetics_parallel_testing_max_slots_hwm: int, optional
467+
462468
:param trace_search_indexed_events_count_sum: Shows the sum of all Indexed Spans indexed over all hours in the current date for all organizations.
463469
:type trace_search_indexed_events_count_sum: int, optional
464470
@@ -606,6 +612,8 @@ def __init__(
606612
kwargs["synthetics_browser_check_calls_count_sum"] = synthetics_browser_check_calls_count_sum
607613
if synthetics_check_calls_count_sum is not unset:
608614
kwargs["synthetics_check_calls_count_sum"] = synthetics_check_calls_count_sum
615+
if synthetics_parallel_testing_max_slots_hwm is not unset:
616+
kwargs["synthetics_parallel_testing_max_slots_hwm"] = synthetics_parallel_testing_max_slots_hwm
609617
if trace_search_indexed_events_count_sum is not unset:
610618
kwargs["trace_search_indexed_events_count_sum"] = trace_search_indexed_events_count_sum
611619
if twol_ingested_events_bytes_sum is not unset:

src/datadog_api_client/v1/model/usage_summary_date_org.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def openapi_types(_):
8888
"sds_total_scanned_bytes_sum": (int,),
8989
"synthetics_browser_check_calls_count_sum": (int,),
9090
"synthetics_check_calls_count_sum": (int,),
91+
"synthetics_parallel_testing_max_slots_hwm": (int,),
9192
"trace_search_indexed_events_count_sum": (int,),
9293
"twol_ingested_events_bytes_sum": (int,),
9394
"vsphere_host_top99p": (int,),
@@ -165,6 +166,7 @@ def openapi_types(_):
165166
"sds_total_scanned_bytes_sum": "sds_total_scanned_bytes_sum",
166167
"synthetics_browser_check_calls_count_sum": "synthetics_browser_check_calls_count_sum",
167168
"synthetics_check_calls_count_sum": "synthetics_check_calls_count_sum",
169+
"synthetics_parallel_testing_max_slots_hwm": "synthetics_parallel_testing_max_slots_hwm",
168170
"trace_search_indexed_events_count_sum": "trace_search_indexed_events_count_sum",
169171
"twol_ingested_events_bytes_sum": "twol_ingested_events_bytes_sum",
170172
"vsphere_host_top99p": "vsphere_host_top99p",
@@ -243,6 +245,7 @@ def __init__(
243245
sds_total_scanned_bytes_sum: Union[int, UnsetType] = unset,
244246
synthetics_browser_check_calls_count_sum: Union[int, UnsetType] = unset,
245247
synthetics_check_calls_count_sum: Union[int, UnsetType] = unset,
248+
synthetics_parallel_testing_max_slots_hwm: Union[int, UnsetType] = unset,
246249
trace_search_indexed_events_count_sum: Union[int, UnsetType] = unset,
247250
twol_ingested_events_bytes_sum: Union[int, UnsetType] = unset,
248251
vsphere_host_top99p: Union[int, UnsetType] = unset,
@@ -464,6 +467,9 @@ def __init__(
464467
:param synthetics_check_calls_count_sum: Shows the sum of all Synthetic API tests over all hours in the current date for the given org.
465468
:type synthetics_check_calls_count_sum: int, optional
466469
470+
: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 the given org.
471+
:type synthetics_parallel_testing_max_slots_hwm: int, optional
472+
467473
:param trace_search_indexed_events_count_sum: Shows the sum of all Indexed Spans indexed over all hours in the current date for the given org.
468474
:type trace_search_indexed_events_count_sum: int, optional
469475
@@ -615,6 +621,8 @@ def __init__(
615621
kwargs["synthetics_browser_check_calls_count_sum"] = synthetics_browser_check_calls_count_sum
616622
if synthetics_check_calls_count_sum is not unset:
617623
kwargs["synthetics_check_calls_count_sum"] = synthetics_check_calls_count_sum
624+
if synthetics_parallel_testing_max_slots_hwm is not unset:
625+
kwargs["synthetics_parallel_testing_max_slots_hwm"] = synthetics_parallel_testing_max_slots_hwm
618626
if trace_search_indexed_events_count_sum is not unset:
619627
kwargs["trace_search_indexed_events_count_sum"] = trace_search_indexed_events_count_sum
620628
if twol_ingested_events_bytes_sum is not unset:

src/datadog_api_client/v1/model/usage_summary_response.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def openapi_types(_):
103103
"start_date": (datetime,),
104104
"synthetics_browser_check_calls_count_agg_sum": (int,),
105105
"synthetics_check_calls_count_agg_sum": (int,),
106+
"synthetics_parallel_testing_max_slots_hwm_sum": (int,),
106107
"trace_search_indexed_events_count_agg_sum": (int,),
107108
"twol_ingested_events_bytes_agg_sum": (int,),
108109
"usage": ([UsageSummaryDate],),
@@ -187,6 +188,7 @@ def openapi_types(_):
187188
"start_date": "start_date",
188189
"synthetics_browser_check_calls_count_agg_sum": "synthetics_browser_check_calls_count_agg_sum",
189190
"synthetics_check_calls_count_agg_sum": "synthetics_check_calls_count_agg_sum",
191+
"synthetics_parallel_testing_max_slots_hwm_sum": "synthetics_parallel_testing_max_slots_hwm_sum",
190192
"trace_search_indexed_events_count_agg_sum": "trace_search_indexed_events_count_agg_sum",
191193
"twol_ingested_events_bytes_agg_sum": "twol_ingested_events_bytes_agg_sum",
192194
"usage": "usage",
@@ -272,6 +274,7 @@ def __init__(
272274
start_date: Union[datetime, UnsetType] = unset,
273275
synthetics_browser_check_calls_count_agg_sum: Union[int, UnsetType] = unset,
274276
synthetics_check_calls_count_agg_sum: Union[int, UnsetType] = unset,
277+
synthetics_parallel_testing_max_slots_hwm_sum: Union[int, UnsetType] = unset,
275278
trace_search_indexed_events_count_agg_sum: Union[int, UnsetType] = unset,
276279
twol_ingested_events_bytes_agg_sum: Union[int, UnsetType] = unset,
277280
usage: Union[List[UsageSummaryDate], UnsetType] = unset,
@@ -512,6 +515,9 @@ def __init__(
512515
:param synthetics_check_calls_count_agg_sum: Shows the sum of all Synthetic API tests over all hours in the current months for all organizations.
513516
:type synthetics_check_calls_count_agg_sum: int, optional
514517
518+
:param synthetics_parallel_testing_max_slots_hwm_sum: Shows the sum of the high-water marks of used synthetics parallel testing slots over all hours in the current month for all organizations.
519+
:type synthetics_parallel_testing_max_slots_hwm_sum: int, optional
520+
515521
:param trace_search_indexed_events_count_agg_sum: Shows the sum of all Indexed Spans indexed over all hours in the current months for all organizations.
516522
:type trace_search_indexed_events_count_agg_sum: int, optional
517523
@@ -680,6 +686,8 @@ def __init__(
680686
kwargs["synthetics_browser_check_calls_count_agg_sum"] = synthetics_browser_check_calls_count_agg_sum
681687
if synthetics_check_calls_count_agg_sum is not unset:
682688
kwargs["synthetics_check_calls_count_agg_sum"] = synthetics_check_calls_count_agg_sum
689+
if synthetics_parallel_testing_max_slots_hwm_sum is not unset:
690+
kwargs["synthetics_parallel_testing_max_slots_hwm_sum"] = synthetics_parallel_testing_max_slots_hwm_sum
683691
if trace_search_indexed_events_count_agg_sum is not unset:
684692
kwargs["trace_search_indexed_events_count_agg_sum"] = trace_search_indexed_events_count_agg_sum
685693
if twol_ingested_events_bytes_agg_sum is not unset:

src/datadog_api_client/v2/api/usage_metering_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ def get_hourly_usage(
427427
``infra_hosts`` , ``incident_management`` , ``indexed_logs`` , ``indexed_spans`` , ``ingested_spans`` , ``iot`` ,
428428
``lambda_traced_invocations`` , ``logs`` , ``network_flows`` , ``network_hosts`` , ``observability_pipelines`` ,
429429
``online_archive`` , ``profiling`` , ``rum`` , ``rum_browser_sessions`` , ``rum_mobile_sessions`` , ``sds`` , ``snmp`` ,
430-
``synthetics_api`` , ``synthetics_browser`` , and ``timeseries``.
430+
``synthetics_api`` , ``synthetics_browser`` , ``synthetics_parallel_testing`` , and ``timeseries``.
431431
:type filter_product_families: str
432432
:param filter_timestamp_end: Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
433433
:type filter_timestamp_end: datetime, optional

0 commit comments

Comments
 (0)