Skip to content

Commit 7efdeda

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Live and historical custom timeseries docs (#1765)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent becbb3d commit 7efdeda

File tree

4 files changed

+56
-4
lines changed

4 files changed

+56
-4
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.6",
7-
"regenerated": "2023-11-17 19:36:50.156877",
8-
"spec_repo_commit": "506ed2d8"
7+
"regenerated": "2023-11-17 20:28:38.988410",
8+
"spec_repo_commit": "7fb616ae"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-11-17 19:36:50.254511",
13-
"spec_repo_commit": "506ed2d8"
12+
"regenerated": "2023-11-17 20:28:39.002128",
13+
"spec_repo_commit": "7fb616ae"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19226,6 +19226,16 @@ components:
1922619226
Pro hosts over all hours in the current date for the given org.
1922719227
format: int64
1922819228
type: integer
19229+
custom_historical_ts_avg:
19230+
description: Shows the average number of distinct historical custom metrics
19231+
over all hours in the current date for the given org.
19232+
format: int64
19233+
type: integer
19234+
custom_live_ts_avg:
19235+
description: Shows the average number of distinct live custom metrics over
19236+
all hours in the current date for the given org.
19237+
format: int64
19238+
type: integer
1922919239
custom_ts_avg:
1923019240
description: Shows the average number of distinct custom metrics over all
1923119241
hours in the current date for the given org.
@@ -19757,6 +19767,16 @@ components:
1975719767
Pro hosts over all hours in the current months for all organizations.
1975819768
format: int64
1975919769
type: integer
19770+
custom_historical_ts_sum:
19771+
description: Shows the average number of distinct historical custom metrics
19772+
over all hours in the current months for all organizations.
19773+
format: int64
19774+
type: integer
19775+
custom_live_ts_sum:
19776+
description: Shows the average number of distinct live custom metrics over
19777+
all hours in the current months for all organizations.
19778+
format: int64
19779+
type: integer
1976019780
custom_ts_sum:
1976119781
description: Shows the average number of distinct custom metrics over all
1976219782
hours in the current months for all organizations.

src/datadog_api_client/v1/model/usage_summary_date_org.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ def openapi_types(_):
6262
"cspm_container_hwm": (int,),
6363
"cspm_gcp_host_top99p": (int,),
6464
"cspm_host_top99p": (int,),
65+
"custom_historical_ts_avg": (int,),
66+
"custom_live_ts_avg": (int,),
6567
"custom_ts_avg": (int,),
6668
"cws_container_count_avg": (int,),
6769
"cws_host_top99p": (int,),
@@ -169,6 +171,8 @@ def openapi_types(_):
169171
"cspm_container_hwm": "cspm_container_hwm",
170172
"cspm_gcp_host_top99p": "cspm_gcp_host_top99p",
171173
"cspm_host_top99p": "cspm_host_top99p",
174+
"custom_historical_ts_avg": "custom_historical_ts_avg",
175+
"custom_live_ts_avg": "custom_live_ts_avg",
172176
"custom_ts_avg": "custom_ts_avg",
173177
"cws_container_count_avg": "cws_container_count_avg",
174178
"cws_host_top99p": "cws_host_top99p",
@@ -277,6 +281,8 @@ def __init__(
277281
cspm_container_hwm: Union[int, UnsetType] = unset,
278282
cspm_gcp_host_top99p: Union[int, UnsetType] = unset,
279283
cspm_host_top99p: Union[int, UnsetType] = unset,
284+
custom_historical_ts_avg: Union[int, UnsetType] = unset,
285+
custom_live_ts_avg: Union[int, UnsetType] = unset,
280286
custom_ts_avg: Union[int, UnsetType] = unset,
281287
cws_container_count_avg: Union[int, UnsetType] = unset,
282288
cws_host_top99p: Union[int, UnsetType] = unset,
@@ -476,6 +482,12 @@ def __init__(
476482
:param cspm_host_top99p: Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current date for the given org.
477483
:type cspm_host_top99p: int, optional
478484
485+
:param custom_historical_ts_avg: Shows the average number of distinct historical custom metrics over all hours in the current date for the given org.
486+
:type custom_historical_ts_avg: int, optional
487+
488+
:param custom_live_ts_avg: Shows the average number of distinct live custom metrics over all hours in the current date for the given org.
489+
:type custom_live_ts_avg: int, optional
490+
479491
:param custom_ts_avg: Shows the average number of distinct custom metrics over all hours in the current date for the given org.
480492
:type custom_ts_avg: int, optional
481493
@@ -745,6 +757,10 @@ def __init__(
745757
kwargs["cspm_gcp_host_top99p"] = cspm_gcp_host_top99p
746758
if cspm_host_top99p is not unset:
747759
kwargs["cspm_host_top99p"] = cspm_host_top99p
760+
if custom_historical_ts_avg is not unset:
761+
kwargs["custom_historical_ts_avg"] = custom_historical_ts_avg
762+
if custom_live_ts_avg is not unset:
763+
kwargs["custom_live_ts_avg"] = custom_live_ts_avg
748764
if custom_ts_avg is not unset:
749765
kwargs["custom_ts_avg"] = custom_ts_avg
750766
if cws_container_count_avg is not unset:

src/datadog_api_client/v1/model/usage_summary_response.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ def openapi_types(_):
7272
"cspm_container_hwm_sum": (int,),
7373
"cspm_gcp_host_top99p_sum": (int,),
7474
"cspm_host_top99p_sum": (int,),
75+
"custom_historical_ts_sum": (int,),
76+
"custom_live_ts_sum": (int,),
7577
"custom_ts_sum": (int,),
7678
"cws_containers_avg_sum": (int,),
7779
"cws_host_top99p_sum": (int,),
@@ -186,6 +188,8 @@ def openapi_types(_):
186188
"cspm_container_hwm_sum": "cspm_container_hwm_sum",
187189
"cspm_gcp_host_top99p_sum": "cspm_gcp_host_top99p_sum",
188190
"cspm_host_top99p_sum": "cspm_host_top99p_sum",
191+
"custom_historical_ts_sum": "custom_historical_ts_sum",
192+
"custom_live_ts_sum": "custom_live_ts_sum",
189193
"custom_ts_sum": "custom_ts_sum",
190194
"cws_containers_avg_sum": "cws_containers_avg_sum",
191195
"cws_host_top99p_sum": "cws_host_top99p_sum",
@@ -301,6 +305,8 @@ def __init__(
301305
cspm_container_hwm_sum: Union[int, UnsetType] = unset,
302306
cspm_gcp_host_top99p_sum: Union[int, UnsetType] = unset,
303307
cspm_host_top99p_sum: Union[int, UnsetType] = unset,
308+
custom_historical_ts_sum: Union[int, UnsetType] = unset,
309+
custom_live_ts_sum: Union[int, UnsetType] = unset,
304310
custom_ts_sum: Union[int, UnsetType] = unset,
305311
cws_containers_avg_sum: Union[int, UnsetType] = unset,
306312
cws_host_top99p_sum: Union[int, UnsetType] = unset,
@@ -509,6 +515,12 @@ def __init__(
509515
:param cspm_host_top99p_sum: Shows the 99th percentile of all Cloud Security Management Pro hosts over all hours in the current months for all organizations.
510516
:type cspm_host_top99p_sum: int, optional
511517
518+
:param custom_historical_ts_sum: Shows the average number of distinct historical custom metrics over all hours in the current months for all organizations.
519+
:type custom_historical_ts_sum: int, optional
520+
521+
:param custom_live_ts_sum: Shows the average number of distinct live custom metrics over all hours in the current months for all organizations.
522+
:type custom_live_ts_sum: int, optional
523+
512524
:param custom_ts_sum: Shows the average number of distinct custom metrics over all hours in the current months for all organizations.
513525
:type custom_ts_sum: int, optional
514526
@@ -800,6 +812,10 @@ def __init__(
800812
kwargs["cspm_gcp_host_top99p_sum"] = cspm_gcp_host_top99p_sum
801813
if cspm_host_top99p_sum is not unset:
802814
kwargs["cspm_host_top99p_sum"] = cspm_host_top99p_sum
815+
if custom_historical_ts_sum is not unset:
816+
kwargs["custom_historical_ts_sum"] = custom_historical_ts_sum
817+
if custom_live_ts_sum is not unset:
818+
kwargs["custom_live_ts_sum"] = custom_live_ts_sum
803819
if custom_ts_sum is not unset:
804820
kwargs["custom_ts_sum"] = custom_ts_sum
805821
if cws_containers_avg_sum is not unset:

0 commit comments

Comments
 (0)