Skip to content

Commit 7d7b1e1

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Adding new field for the usage metering infra hosts (#1244)
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 c18303d commit 7d7b1e1

File tree

6 files changed

+59
-4
lines changed

6 files changed

+59
-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.4",
7-
"regenerated": "2022-11-18 19:10:53.422405",
8-
"spec_repo_commit": "0099d2ec"
7+
"regenerated": "2022-11-21 18:48:28.015320",
8+
"spec_repo_commit": "9015efdd"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-11-18 19:10:53.437372",
13-
"spec_repo_commit": "0099d2ec"
12+
"regenerated": "2022-11-21 18:48:28.030582",
13+
"spec_repo_commit": "9015efdd"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15339,6 +15339,11 @@ components:
1533915339
(and were NOT running the Datadog Agent).'
1534015340
format: int64
1534115341
type: integer
15342+
opentelemetry_apm_host_count:
15343+
description: Contains the total number of hosts using APM reported by Datadog
15344+
exporter for the OpenTelemetry Collector.
15345+
format: int64
15346+
type: integer
1534215347
opentelemetry_host_count:
1534315348
description: Contains the total number of hosts reported by Datadog exporter
1534415349
for the OpenTelemetry Collector.
@@ -16312,6 +16317,12 @@ components:
1631216317
date for all organizations.
1631316318
format: int64
1631416319
type: integer
16320+
opentelemetry_apm_host_top99p:
16321+
description: Shows the 99th percentile of APM hosts reported by the Datadog
16322+
exporter for the OpenTelemetry Collector over all hours in the current
16323+
date for all organizations.
16324+
format: int64
16325+
type: integer
1631516326
opentelemetry_host_top99p:
1631616327
description: Shows the 99th percentile of all hosts reported by the Datadog
1631716328
exporter for the OpenTelemetry Collector over all hours in the current
@@ -16674,6 +16685,12 @@ components:
1667416685
date for the given org.
1667516686
format: int64
1667616687
type: integer
16688+
opentelemetry_apm_host_top99p:
16689+
description: Shows the 99th percentile of APM hosts reported by the Datadog
16690+
exporter for the OpenTelemetry Collector over all hours in the current
16691+
date for the given org.
16692+
format: int64
16693+
type: integer
1667716694
opentelemetry_host_top99p:
1667816695
description: Shows the 99th percentile of all hosts reported by the Datadog
1667916696
exporter for the OpenTelemetry Collector over all hours in the current
@@ -17063,6 +17080,12 @@ components:
1706317080
months for all organizations.
1706417081
format: int64
1706517082
type: integer
17083+
opentelemetry_apm_host_top99p_sum:
17084+
description: Shows the 99th percentile of APM hosts reported by the Datadog
17085+
exporter for the OpenTelemetry Collector over all hours in the current
17086+
months for all organizations.
17087+
format: int64
17088+
type: integer
1706617089
opentelemetry_host_top99p_sum:
1706717090
description: Shows the 99th percentile of all hosts reported by the Datadog
1706817091
exporter for the OpenTelemetry Collector over all hours in the current

src/datadog_api_client/v1/model/usage_host_hour.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def openapi_types(_):
3030
"host_count": (int,),
3131
"hour": (datetime,),
3232
"infra_azure_app_service": (int,),
33+
"opentelemetry_apm_host_count": (int,),
3334
"opentelemetry_host_count": (int,),
3435
"org_name": (str,),
3536
"public_id": (str,),
@@ -49,6 +50,7 @@ def openapi_types(_):
4950
"host_count": "host_count",
5051
"hour": "hour",
5152
"infra_azure_app_service": "infra_azure_app_service",
53+
"opentelemetry_apm_host_count": "opentelemetry_apm_host_count",
5254
"opentelemetry_host_count": "opentelemetry_host_count",
5355
"org_name": "org_name",
5456
"public_id": "public_id",
@@ -69,6 +71,7 @@ def __init__(
6971
host_count: Union[int, UnsetType] = unset,
7072
hour: Union[datetime, UnsetType] = unset,
7173
infra_azure_app_service: Union[int, UnsetType] = unset,
74+
opentelemetry_apm_host_count: Union[int, UnsetType] = unset,
7275
opentelemetry_host_count: Union[int, UnsetType] = unset,
7376
org_name: Union[str, UnsetType] = unset,
7477
public_id: Union[str, UnsetType] = unset,
@@ -122,6 +125,9 @@ def __init__(
122125
(and were NOT running the Datadog Agent).
123126
:type infra_azure_app_service: int, optional
124127
128+
:param opentelemetry_apm_host_count: Contains the total number of hosts using APM reported by Datadog exporter for the OpenTelemetry Collector.
129+
:type opentelemetry_apm_host_count: int, optional
130+
125131
:param opentelemetry_host_count: Contains the total number of hosts reported by Datadog exporter for the OpenTelemetry Collector.
126132
:type opentelemetry_host_count: int, optional
127133
@@ -159,6 +165,8 @@ def __init__(
159165
kwargs["hour"] = hour
160166
if infra_azure_app_service is not unset:
161167
kwargs["infra_azure_app_service"] = infra_azure_app_service
168+
if opentelemetry_apm_host_count is not unset:
169+
kwargs["opentelemetry_apm_host_count"] = opentelemetry_apm_host_count
162170
if opentelemetry_host_count is not unset:
163171
kwargs["opentelemetry_host_count"] = opentelemetry_host_count
164172
if org_name is not unset:

src/datadog_api_client/v1/model/usage_summary_date.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def openapi_types(_):
7878
"npm_host_top99p": (int,),
7979
"observability_pipelines_bytes_processed_sum": (int,),
8080
"online_archive_events_count_sum": (int,),
81+
"opentelemetry_apm_host_top99p": (int,),
8182
"opentelemetry_host_top99p": (int,),
8283
"orgs": ([UsageSummaryDateOrg],),
8384
"profiling_host_top99p": (int,),
@@ -152,6 +153,7 @@ def openapi_types(_):
152153
"npm_host_top99p": "npm_host_top99p",
153154
"observability_pipelines_bytes_processed_sum": "observability_pipelines_bytes_processed_sum",
154155
"online_archive_events_count_sum": "online_archive_events_count_sum",
156+
"opentelemetry_apm_host_top99p": "opentelemetry_apm_host_top99p",
155157
"opentelemetry_host_top99p": "opentelemetry_host_top99p",
156158
"orgs": "orgs",
157159
"profiling_host_top99p": "profiling_host_top99p",
@@ -227,6 +229,7 @@ def __init__(
227229
npm_host_top99p: Union[int, UnsetType] = unset,
228230
observability_pipelines_bytes_processed_sum: Union[int, UnsetType] = unset,
229231
online_archive_events_count_sum: Union[int, UnsetType] = unset,
232+
opentelemetry_apm_host_top99p: Union[int, UnsetType] = unset,
230233
opentelemetry_host_top99p: Union[int, UnsetType] = unset,
231234
orgs: Union[List[UsageSummaryDateOrg], UnsetType] = unset,
232235
profiling_host_top99p: Union[int, UnsetType] = unset,
@@ -411,6 +414,9 @@ def __init__(
411414
:param online_archive_events_count_sum: Sum of all online archived events over all hours in the current date for all organizations.
412415
:type online_archive_events_count_sum: int, optional
413416
417+
: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.
418+
:type opentelemetry_apm_host_top99p: int, optional
419+
414420
: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.
415421
:type opentelemetry_host_top99p: int, optional
416422
@@ -570,6 +576,8 @@ def __init__(
570576
kwargs["observability_pipelines_bytes_processed_sum"] = observability_pipelines_bytes_processed_sum
571577
if online_archive_events_count_sum is not unset:
572578
kwargs["online_archive_events_count_sum"] = online_archive_events_count_sum
579+
if opentelemetry_apm_host_top99p is not unset:
580+
kwargs["opentelemetry_apm_host_top99p"] = opentelemetry_apm_host_top99p
573581
if opentelemetry_host_top99p is not unset:
574582
kwargs["opentelemetry_host_top99p"] = opentelemetry_host_top99p
575583
if orgs 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
@@ -72,6 +72,7 @@ def openapi_types(_):
7272
"npm_host_top99p": (int,),
7373
"observability_pipelines_bytes_processed_sum": (int,),
7474
"online_archive_events_count_sum": (int,),
75+
"opentelemetry_apm_host_top99p": (int,),
7576
"opentelemetry_host_top99p": (int,),
7677
"profiling_host_top99p": (int,),
7778
"public_id": (str,),
@@ -148,6 +149,7 @@ def openapi_types(_):
148149
"npm_host_top99p": "npm_host_top99p",
149150
"observability_pipelines_bytes_processed_sum": "observability_pipelines_bytes_processed_sum",
150151
"online_archive_events_count_sum": "online_archive_events_count_sum",
152+
"opentelemetry_apm_host_top99p": "opentelemetry_apm_host_top99p",
151153
"opentelemetry_host_top99p": "opentelemetry_host_top99p",
152154
"profiling_host_top99p": "profiling_host_top99p",
153155
"public_id": "public_id",
@@ -225,6 +227,7 @@ def __init__(
225227
npm_host_top99p: Union[int, UnsetType] = unset,
226228
observability_pipelines_bytes_processed_sum: Union[int, UnsetType] = unset,
227229
online_archive_events_count_sum: Union[int, UnsetType] = unset,
230+
opentelemetry_apm_host_top99p: Union[int, UnsetType] = unset,
228231
opentelemetry_host_top99p: Union[int, UnsetType] = unset,
229232
profiling_host_top99p: Union[int, UnsetType] = unset,
230233
public_id: Union[str, UnsetType] = unset,
@@ -413,6 +416,9 @@ def __init__(
413416
:param online_archive_events_count_sum: Sum of all online archived events over all hours in the current date for the given org.
414417
:type online_archive_events_count_sum: int, optional
415418
419+
: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.
420+
:type opentelemetry_apm_host_top99p: int, optional
421+
416422
: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.
417423
:type opentelemetry_host_top99p: int, optional
418424
@@ -577,6 +583,8 @@ def __init__(
577583
kwargs["observability_pipelines_bytes_processed_sum"] = observability_pipelines_bytes_processed_sum
578584
if online_archive_events_count_sum is not unset:
579585
kwargs["online_archive_events_count_sum"] = online_archive_events_count_sum
586+
if opentelemetry_apm_host_top99p is not unset:
587+
kwargs["opentelemetry_apm_host_top99p"] = opentelemetry_apm_host_top99p
580588
if opentelemetry_host_top99p is not unset:
581589
kwargs["opentelemetry_host_top99p"] = opentelemetry_host_top99p
582590
if profiling_host_top99p 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
@@ -85,6 +85,7 @@ def openapi_types(_):
8585
"npm_host_top99p_sum": (int,),
8686
"observability_pipelines_bytes_processed_agg_sum": (int,),
8787
"online_archive_events_count_agg_sum": (int,),
88+
"opentelemetry_apm_host_top99p_sum": (int,),
8889
"opentelemetry_host_top99p_sum": (int,),
8990
"profiling_container_agent_count_avg": (int,),
9091
"profiling_host_count_top99p_sum": (int,),
@@ -168,6 +169,7 @@ def openapi_types(_):
168169
"npm_host_top99p_sum": "npm_host_top99p_sum",
169170
"observability_pipelines_bytes_processed_agg_sum": "observability_pipelines_bytes_processed_agg_sum",
170171
"online_archive_events_count_agg_sum": "online_archive_events_count_agg_sum",
172+
"opentelemetry_apm_host_top99p_sum": "opentelemetry_apm_host_top99p_sum",
171173
"opentelemetry_host_top99p_sum": "opentelemetry_host_top99p_sum",
172174
"profiling_container_agent_count_avg": "profiling_container_agent_count_avg",
173175
"profiling_host_count_top99p_sum": "profiling_host_count_top99p_sum",
@@ -252,6 +254,7 @@ def __init__(
252254
npm_host_top99p_sum: Union[int, UnsetType] = unset,
253255
observability_pipelines_bytes_processed_agg_sum: Union[int, UnsetType] = unset,
254256
online_archive_events_count_agg_sum: Union[int, UnsetType] = unset,
257+
opentelemetry_apm_host_top99p_sum: Union[int, UnsetType] = unset,
255258
opentelemetry_host_top99p_sum: Union[int, UnsetType] = unset,
256259
profiling_container_agent_count_avg: Union[int, UnsetType] = unset,
257260
profiling_host_count_top99p_sum: Union[int, UnsetType] = unset,
@@ -455,6 +458,9 @@ def __init__(
455458
:param online_archive_events_count_agg_sum: Sum of all online archived events over all hours in the current months for all organizations.
456459
:type online_archive_events_count_agg_sum: int, optional
457460
461+
: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.
462+
:type opentelemetry_apm_host_top99p_sum: int, optional
463+
458464
: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.
459465
:type opentelemetry_host_top99p_sum: int, optional
460466
@@ -638,6 +644,8 @@ def __init__(
638644
kwargs["observability_pipelines_bytes_processed_agg_sum"] = observability_pipelines_bytes_processed_agg_sum
639645
if online_archive_events_count_agg_sum is not unset:
640646
kwargs["online_archive_events_count_agg_sum"] = online_archive_events_count_agg_sum
647+
if opentelemetry_apm_host_top99p_sum is not unset:
648+
kwargs["opentelemetry_apm_host_top99p_sum"] = opentelemetry_apm_host_top99p_sum
641649
if opentelemetry_host_top99p_sum is not unset:
642650
kwargs["opentelemetry_host_top99p_sum"] = opentelemetry_host_top99p_sum
643651
if profiling_container_agent_count_avg is not unset:

0 commit comments

Comments
 (0)