Skip to content
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

Live and historical custom timeseries docs #1765

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.6",
"regenerated": "2023-11-17 19:36:50.156877",
"spec_repo_commit": "506ed2d8"
"regenerated": "2023-11-17 20:28:38.988410",
"spec_repo_commit": "7fb616ae"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2023-11-17 19:36:50.254511",
"spec_repo_commit": "506ed2d8"
"regenerated": "2023-11-17 20:28:39.002128",
"spec_repo_commit": "7fb616ae"
}
}
}
20 changes: 20 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19226,6 +19226,16 @@ components:
Pro hosts over all hours in the current date for the given org.
format: int64
type: integer
custom_historical_ts_avg:
description: Shows the average number of distinct historical custom metrics
over all hours in the current date for the given org.
format: int64
type: integer
custom_live_ts_avg:
description: Shows the average number of distinct live custom metrics over
all hours in the current date for the given org.
format: int64
type: integer
custom_ts_avg:
description: Shows the average number of distinct custom metrics over all
hours in the current date for the given org.
Expand Down Expand Up @@ -19757,6 +19767,16 @@ components:
Pro hosts over all hours in the current months for all organizations.
format: int64
type: integer
custom_historical_ts_sum:
description: Shows the average number of distinct historical custom metrics
over all hours in the current months for all organizations.
format: int64
type: integer
custom_live_ts_sum:
description: Shows the average number of distinct live custom metrics over
all hours in the current months for all organizations.
format: int64
type: integer
custom_ts_sum:
description: Shows the average number of distinct custom metrics over all
hours in the current months for all organizations.
Expand Down
16 changes: 16 additions & 0 deletions src/datadog_api_client/v1/model/usage_summary_date_org.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ def openapi_types(_):
"cspm_container_hwm": (int,),
"cspm_gcp_host_top99p": (int,),
"cspm_host_top99p": (int,),
"custom_historical_ts_avg": (int,),
"custom_live_ts_avg": (int,),
"custom_ts_avg": (int,),
"cws_container_count_avg": (int,),
"cws_host_top99p": (int,),
Expand Down Expand Up @@ -169,6 +171,8 @@ def openapi_types(_):
"cspm_container_hwm": "cspm_container_hwm",
"cspm_gcp_host_top99p": "cspm_gcp_host_top99p",
"cspm_host_top99p": "cspm_host_top99p",
"custom_historical_ts_avg": "custom_historical_ts_avg",
"custom_live_ts_avg": "custom_live_ts_avg",
"custom_ts_avg": "custom_ts_avg",
"cws_container_count_avg": "cws_container_count_avg",
"cws_host_top99p": "cws_host_top99p",
Expand Down Expand Up @@ -277,6 +281,8 @@ def __init__(
cspm_container_hwm: Union[int, UnsetType] = unset,
cspm_gcp_host_top99p: Union[int, UnsetType] = unset,
cspm_host_top99p: Union[int, UnsetType] = unset,
custom_historical_ts_avg: Union[int, UnsetType] = unset,
custom_live_ts_avg: Union[int, UnsetType] = unset,
custom_ts_avg: Union[int, UnsetType] = unset,
cws_container_count_avg: Union[int, UnsetType] = unset,
cws_host_top99p: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -476,6 +482,12 @@ def __init__(
: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.
:type cspm_host_top99p: int, optional

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

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

:param custom_ts_avg: Shows the average number of distinct custom metrics over all hours in the current date for the given org.
:type custom_ts_avg: int, optional

Expand Down Expand Up @@ -745,6 +757,10 @@ def __init__(
kwargs["cspm_gcp_host_top99p"] = cspm_gcp_host_top99p
if cspm_host_top99p is not unset:
kwargs["cspm_host_top99p"] = cspm_host_top99p
if custom_historical_ts_avg is not unset:
kwargs["custom_historical_ts_avg"] = custom_historical_ts_avg
if custom_live_ts_avg is not unset:
kwargs["custom_live_ts_avg"] = custom_live_ts_avg
if custom_ts_avg is not unset:
kwargs["custom_ts_avg"] = custom_ts_avg
if cws_container_count_avg is not unset:
Expand Down
16 changes: 16 additions & 0 deletions src/datadog_api_client/v1/model/usage_summary_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def openapi_types(_):
"cspm_container_hwm_sum": (int,),
"cspm_gcp_host_top99p_sum": (int,),
"cspm_host_top99p_sum": (int,),
"custom_historical_ts_sum": (int,),
"custom_live_ts_sum": (int,),
"custom_ts_sum": (int,),
"cws_containers_avg_sum": (int,),
"cws_host_top99p_sum": (int,),
Expand Down Expand Up @@ -186,6 +188,8 @@ def openapi_types(_):
"cspm_container_hwm_sum": "cspm_container_hwm_sum",
"cspm_gcp_host_top99p_sum": "cspm_gcp_host_top99p_sum",
"cspm_host_top99p_sum": "cspm_host_top99p_sum",
"custom_historical_ts_sum": "custom_historical_ts_sum",
"custom_live_ts_sum": "custom_live_ts_sum",
"custom_ts_sum": "custom_ts_sum",
"cws_containers_avg_sum": "cws_containers_avg_sum",
"cws_host_top99p_sum": "cws_host_top99p_sum",
Expand Down Expand Up @@ -301,6 +305,8 @@ def __init__(
cspm_container_hwm_sum: Union[int, UnsetType] = unset,
cspm_gcp_host_top99p_sum: Union[int, UnsetType] = unset,
cspm_host_top99p_sum: Union[int, UnsetType] = unset,
custom_historical_ts_sum: Union[int, UnsetType] = unset,
custom_live_ts_sum: Union[int, UnsetType] = unset,
custom_ts_sum: Union[int, UnsetType] = unset,
cws_containers_avg_sum: Union[int, UnsetType] = unset,
cws_host_top99p_sum: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -509,6 +515,12 @@ def __init__(
: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.
:type cspm_host_top99p_sum: int, optional

:param custom_historical_ts_sum: Shows the average number of distinct historical custom metrics over all hours in the current months for all organizations.
:type custom_historical_ts_sum: int, optional

:param custom_live_ts_sum: Shows the average number of distinct live custom metrics over all hours in the current months for all organizations.
:type custom_live_ts_sum: int, optional

:param custom_ts_sum: Shows the average number of distinct custom metrics over all hours in the current months for all organizations.
:type custom_ts_sum: int, optional

Expand Down Expand Up @@ -800,6 +812,10 @@ def __init__(
kwargs["cspm_gcp_host_top99p_sum"] = cspm_gcp_host_top99p_sum
if cspm_host_top99p_sum is not unset:
kwargs["cspm_host_top99p_sum"] = cspm_host_top99p_sum
if custom_historical_ts_sum is not unset:
kwargs["custom_historical_ts_sum"] = custom_historical_ts_sum
if custom_live_ts_sum is not unset:
kwargs["custom_live_ts_sum"] = custom_live_ts_sum
if custom_ts_sum is not unset:
kwargs["custom_ts_sum"] = custom_ts_sum
if cws_containers_avg_sum is not unset:
Expand Down