Skip to content

Commit

Permalink
Adding new field for the usage metering infra hosts (#1244)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Nov 21, 2022
1 parent c18303d commit 7d7b1e1
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 4 deletions.
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.4",
"regenerated": "2022-11-18 19:10:53.422405",
"spec_repo_commit": "0099d2ec"
"regenerated": "2022-11-21 18:48:28.015320",
"spec_repo_commit": "9015efdd"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2022-11-18 19:10:53.437372",
"spec_repo_commit": "0099d2ec"
"regenerated": "2022-11-21 18:48:28.030582",
"spec_repo_commit": "9015efdd"
}
}
}
23 changes: 23 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15339,6 +15339,11 @@ components:
(and were NOT running the Datadog Agent).'
format: int64
type: integer
opentelemetry_apm_host_count:
description: Contains the total number of hosts using APM reported by Datadog
exporter for the OpenTelemetry Collector.
format: int64
type: integer
opentelemetry_host_count:
description: Contains the total number of hosts reported by Datadog exporter
for the OpenTelemetry Collector.
Expand Down Expand Up @@ -16312,6 +16317,12 @@ components:
date for all organizations.
format: int64
type: integer
opentelemetry_apm_host_top99p:
description: Shows the 99th percentile of APM hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
date for all organizations.
format: int64
type: integer
opentelemetry_host_top99p:
description: Shows the 99th percentile of all hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
Expand Down Expand Up @@ -16674,6 +16685,12 @@ components:
date for the given org.
format: int64
type: integer
opentelemetry_apm_host_top99p:
description: Shows the 99th percentile of APM hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
date for the given org.
format: int64
type: integer
opentelemetry_host_top99p:
description: Shows the 99th percentile of all hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
Expand Down Expand Up @@ -17063,6 +17080,12 @@ components:
months for all organizations.
format: int64
type: integer
opentelemetry_apm_host_top99p_sum:
description: Shows the 99th percentile of APM hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
months for all organizations.
format: int64
type: integer
opentelemetry_host_top99p_sum:
description: Shows the 99th percentile of all hosts reported by the Datadog
exporter for the OpenTelemetry Collector over all hours in the current
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v1/model/usage_host_hour.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def openapi_types(_):
"host_count": (int,),
"hour": (datetime,),
"infra_azure_app_service": (int,),
"opentelemetry_apm_host_count": (int,),
"opentelemetry_host_count": (int,),
"org_name": (str,),
"public_id": (str,),
Expand All @@ -49,6 +50,7 @@ def openapi_types(_):
"host_count": "host_count",
"hour": "hour",
"infra_azure_app_service": "infra_azure_app_service",
"opentelemetry_apm_host_count": "opentelemetry_apm_host_count",
"opentelemetry_host_count": "opentelemetry_host_count",
"org_name": "org_name",
"public_id": "public_id",
Expand All @@ -69,6 +71,7 @@ def __init__(
host_count: Union[int, UnsetType] = unset,
hour: Union[datetime, UnsetType] = unset,
infra_azure_app_service: Union[int, UnsetType] = unset,
opentelemetry_apm_host_count: Union[int, UnsetType] = unset,
opentelemetry_host_count: Union[int, UnsetType] = unset,
org_name: Union[str, UnsetType] = unset,
public_id: Union[str, UnsetType] = unset,
Expand Down Expand Up @@ -122,6 +125,9 @@ def __init__(
(and were NOT running the Datadog Agent).
:type infra_azure_app_service: int, optional
:param opentelemetry_apm_host_count: Contains the total number of hosts using APM reported by Datadog exporter for the OpenTelemetry Collector.
:type opentelemetry_apm_host_count: int, optional
:param opentelemetry_host_count: Contains the total number of hosts reported by Datadog exporter for the OpenTelemetry Collector.
:type opentelemetry_host_count: int, optional
Expand Down Expand Up @@ -159,6 +165,8 @@ def __init__(
kwargs["hour"] = hour
if infra_azure_app_service is not unset:
kwargs["infra_azure_app_service"] = infra_azure_app_service
if opentelemetry_apm_host_count is not unset:
kwargs["opentelemetry_apm_host_count"] = opentelemetry_apm_host_count
if opentelemetry_host_count is not unset:
kwargs["opentelemetry_host_count"] = opentelemetry_host_count
if org_name 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 @@ -78,6 +78,7 @@ def openapi_types(_):
"npm_host_top99p": (int,),
"observability_pipelines_bytes_processed_sum": (int,),
"online_archive_events_count_sum": (int,),
"opentelemetry_apm_host_top99p": (int,),
"opentelemetry_host_top99p": (int,),
"orgs": ([UsageSummaryDateOrg],),
"profiling_host_top99p": (int,),
Expand Down Expand Up @@ -152,6 +153,7 @@ def openapi_types(_):
"npm_host_top99p": "npm_host_top99p",
"observability_pipelines_bytes_processed_sum": "observability_pipelines_bytes_processed_sum",
"online_archive_events_count_sum": "online_archive_events_count_sum",
"opentelemetry_apm_host_top99p": "opentelemetry_apm_host_top99p",
"opentelemetry_host_top99p": "opentelemetry_host_top99p",
"orgs": "orgs",
"profiling_host_top99p": "profiling_host_top99p",
Expand Down Expand Up @@ -227,6 +229,7 @@ def __init__(
npm_host_top99p: Union[int, UnsetType] = unset,
observability_pipelines_bytes_processed_sum: Union[int, UnsetType] = unset,
online_archive_events_count_sum: Union[int, UnsetType] = unset,
opentelemetry_apm_host_top99p: Union[int, UnsetType] = unset,
opentelemetry_host_top99p: Union[int, UnsetType] = unset,
orgs: Union[List[UsageSummaryDateOrg], UnsetType] = unset,
profiling_host_top99p: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -411,6 +414,9 @@ def __init__(
:param online_archive_events_count_sum: Sum of all online archived events over all hours in the current date for all organizations.
:type online_archive_events_count_sum: int, optional
:param opentelemetry_apm_host_top99p: Shows the 99th percentile of APM hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for all organizations.
:type opentelemetry_apm_host_top99p: int, optional
:param opentelemetry_host_top99p: Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for all organizations.
:type opentelemetry_host_top99p: int, optional
Expand Down Expand Up @@ -570,6 +576,8 @@ def __init__(
kwargs["observability_pipelines_bytes_processed_sum"] = observability_pipelines_bytes_processed_sum
if online_archive_events_count_sum is not unset:
kwargs["online_archive_events_count_sum"] = online_archive_events_count_sum
if opentelemetry_apm_host_top99p is not unset:
kwargs["opentelemetry_apm_host_top99p"] = opentelemetry_apm_host_top99p
if opentelemetry_host_top99p is not unset:
kwargs["opentelemetry_host_top99p"] = opentelemetry_host_top99p
if orgs is not unset:
Expand Down
8 changes: 8 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 @@ -72,6 +72,7 @@ def openapi_types(_):
"npm_host_top99p": (int,),
"observability_pipelines_bytes_processed_sum": (int,),
"online_archive_events_count_sum": (int,),
"opentelemetry_apm_host_top99p": (int,),
"opentelemetry_host_top99p": (int,),
"profiling_host_top99p": (int,),
"public_id": (str,),
Expand Down Expand Up @@ -148,6 +149,7 @@ def openapi_types(_):
"npm_host_top99p": "npm_host_top99p",
"observability_pipelines_bytes_processed_sum": "observability_pipelines_bytes_processed_sum",
"online_archive_events_count_sum": "online_archive_events_count_sum",
"opentelemetry_apm_host_top99p": "opentelemetry_apm_host_top99p",
"opentelemetry_host_top99p": "opentelemetry_host_top99p",
"profiling_host_top99p": "profiling_host_top99p",
"public_id": "public_id",
Expand Down Expand Up @@ -225,6 +227,7 @@ def __init__(
npm_host_top99p: Union[int, UnsetType] = unset,
observability_pipelines_bytes_processed_sum: Union[int, UnsetType] = unset,
online_archive_events_count_sum: Union[int, UnsetType] = unset,
opentelemetry_apm_host_top99p: Union[int, UnsetType] = unset,
opentelemetry_host_top99p: Union[int, UnsetType] = unset,
profiling_host_top99p: Union[int, UnsetType] = unset,
public_id: Union[str, UnsetType] = unset,
Expand Down Expand Up @@ -413,6 +416,9 @@ def __init__(
:param online_archive_events_count_sum: Sum of all online archived events over all hours in the current date for the given org.
:type online_archive_events_count_sum: int, optional
:param opentelemetry_apm_host_top99p: Shows the 99th percentile of APM hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for the given org.
:type opentelemetry_apm_host_top99p: int, optional
:param opentelemetry_host_top99p: Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for the given org.
:type opentelemetry_host_top99p: int, optional
Expand Down Expand Up @@ -577,6 +583,8 @@ def __init__(
kwargs["observability_pipelines_bytes_processed_sum"] = observability_pipelines_bytes_processed_sum
if online_archive_events_count_sum is not unset:
kwargs["online_archive_events_count_sum"] = online_archive_events_count_sum
if opentelemetry_apm_host_top99p is not unset:
kwargs["opentelemetry_apm_host_top99p"] = opentelemetry_apm_host_top99p
if opentelemetry_host_top99p is not unset:
kwargs["opentelemetry_host_top99p"] = opentelemetry_host_top99p
if profiling_host_top99p is not unset:
Expand Down
8 changes: 8 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 @@ -85,6 +85,7 @@ def openapi_types(_):
"npm_host_top99p_sum": (int,),
"observability_pipelines_bytes_processed_agg_sum": (int,),
"online_archive_events_count_agg_sum": (int,),
"opentelemetry_apm_host_top99p_sum": (int,),
"opentelemetry_host_top99p_sum": (int,),
"profiling_container_agent_count_avg": (int,),
"profiling_host_count_top99p_sum": (int,),
Expand Down Expand Up @@ -168,6 +169,7 @@ def openapi_types(_):
"npm_host_top99p_sum": "npm_host_top99p_sum",
"observability_pipelines_bytes_processed_agg_sum": "observability_pipelines_bytes_processed_agg_sum",
"online_archive_events_count_agg_sum": "online_archive_events_count_agg_sum",
"opentelemetry_apm_host_top99p_sum": "opentelemetry_apm_host_top99p_sum",
"opentelemetry_host_top99p_sum": "opentelemetry_host_top99p_sum",
"profiling_container_agent_count_avg": "profiling_container_agent_count_avg",
"profiling_host_count_top99p_sum": "profiling_host_count_top99p_sum",
Expand Down Expand Up @@ -252,6 +254,7 @@ def __init__(
npm_host_top99p_sum: Union[int, UnsetType] = unset,
observability_pipelines_bytes_processed_agg_sum: Union[int, UnsetType] = unset,
online_archive_events_count_agg_sum: Union[int, UnsetType] = unset,
opentelemetry_apm_host_top99p_sum: Union[int, UnsetType] = unset,
opentelemetry_host_top99p_sum: Union[int, UnsetType] = unset,
profiling_container_agent_count_avg: Union[int, UnsetType] = unset,
profiling_host_count_top99p_sum: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -455,6 +458,9 @@ def __init__(
:param online_archive_events_count_agg_sum: Sum of all online archived events over all hours in the current months for all organizations.
:type online_archive_events_count_agg_sum: int, optional
:param opentelemetry_apm_host_top99p_sum: Shows the 99th percentile of APM hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current months for all organizations.
:type opentelemetry_apm_host_top99p_sum: int, optional
:param opentelemetry_host_top99p_sum: Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current months for all organizations.
:type opentelemetry_host_top99p_sum: int, optional
Expand Down Expand Up @@ -638,6 +644,8 @@ def __init__(
kwargs["observability_pipelines_bytes_processed_agg_sum"] = observability_pipelines_bytes_processed_agg_sum
if online_archive_events_count_agg_sum is not unset:
kwargs["online_archive_events_count_agg_sum"] = online_archive_events_count_agg_sum
if opentelemetry_apm_host_top99p_sum is not unset:
kwargs["opentelemetry_apm_host_top99p_sum"] = opentelemetry_apm_host_top99p_sum
if opentelemetry_host_top99p_sum is not unset:
kwargs["opentelemetry_host_top99p_sum"] = opentelemetry_host_top99p_sum
if profiling_container_agent_count_avg is not unset:
Expand Down

0 comments on commit 7d7b1e1

Please sign in to comment.