Skip to content

Commit d7ae8aa

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update documentation for observability pipeline bytes usage attribution (#1472)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 6216dd5 commit d7ae8aa

File tree

5 files changed

+49
-6
lines changed

5 files changed

+49
-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": "2023-05-24 12:48:53.735604",
8-
"spec_repo_commit": "ba7efe40"
7+
"regenerated": "2023-05-24 13:16:05.936665",
8+
"spec_repo_commit": "61d57b72"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-05-24 12:48:53.752207",
13-
"spec_repo_commit": "ba7efe40"
12+
"regenerated": "2023-05-24 13:16:06.032642",
13+
"spec_repo_commit": "61d57b72"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3834,6 +3834,7 @@ components:
38343834
- infra_host_usage
38353835
- invocations_usage
38363836
- npm_host_usage
3837+
- obs_pipeline_bytes_usage
38373838
- profiled_container_usage
38383839
- profiled_fargate_usage
38393840
- profiled_host_usage
@@ -3868,6 +3869,7 @@ components:
38683869
- INFRA_HOST_USAGE
38693870
- INVOCATIONS_USAGE
38703871
- NPM_HOST_USAGE
3872+
- OBS_PIPELINE_BYTES_USAGE
38713873
- PROFILED_CONTAINER_USAGE
38723874
- PROFILED_FARGATE_USAGE
38733875
- PROFILED_HOST_USAGE
@@ -7368,6 +7370,8 @@ components:
73687370
- invocations_percentage
73697371
- npm_host_usage
73707372
- npm_host_percentage
7373+
- obs_pipeline_bytes_usage
7374+
- obs_pipeline_bytes_percentage
73717375
- profiled_container_usage
73727376
- profiled_container_percentage
73737377
- profiled_fargate_usage
@@ -7435,6 +7439,8 @@ components:
74357439
- INVOCATIONS_PERCENTAGE
74367440
- NPM_HOST_USAGE
74377441
- NPM_HOST_PERCENTAGE
7442+
- OBS_PIPELINE_BYTES_USAGE
7443+
- OBS_PIPELINE_BYTES_PERCENTAGE
74387444
- PROFILED_CONTAINER_USAGE
74397445
- PROFILED_CONTAINER_PERCENTAGE
74407446
- PROFILED_FARGATE_USAGE
@@ -7666,6 +7672,14 @@ components:
76667672
description: The network host usage by tag(s).
76677673
format: double
76687674
type: number
7675+
obs_pipeline_bytes_percentage:
7676+
description: The percentage of observability pipeline bytes usage by tag(s).
7677+
format: double
7678+
type: number
7679+
obs_pipeline_bytes_usage:
7680+
description: The observability pipeline bytes usage by tag(s).
7681+
format: double
7682+
type: number
76697683
profiled_container_percentage:
76707684
description: The percentage of profiled container usage by tag(s).
76717685
format: double

src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
1616
"""
1717
Supported products for hourly usage attribution requests.
1818
19-
:param value: Must be one of ["api_usage", "apm_fargate_usage", "apm_host_usage", "appsec_fargate_usage", "appsec_usage", "browser_usage", "container_excl_agent_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_ingested_timeseries_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", "dbm_hosts_usage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_ingested_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_spans_usage", "fargate_usage", "functions_usage", "infra_host_usage", "invocations_usage", "npm_host_usage", "profiled_container_usage", "profiled_fargate_usage", "profiled_host_usage", "snmp_usage", "estimated_rum_sessions_usage", "universal_service_monitoring_usage", "vuln_management_hosts_usage"].
19+
:param value: Must be one of ["api_usage", "apm_fargate_usage", "apm_host_usage", "appsec_fargate_usage", "appsec_usage", "browser_usage", "container_excl_agent_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_ingested_timeseries_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", "dbm_hosts_usage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_ingested_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_spans_usage", "fargate_usage", "functions_usage", "infra_host_usage", "invocations_usage", "npm_host_usage", "obs_pipeline_bytes_usage", "profiled_container_usage", "profiled_fargate_usage", "profiled_host_usage", "snmp_usage", "estimated_rum_sessions_usage", "universal_service_monitoring_usage", "vuln_management_hosts_usage"].
2020
:type value: str
2121
"""
2222

@@ -46,6 +46,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
4646
"infra_host_usage",
4747
"invocations_usage",
4848
"npm_host_usage",
49+
"obs_pipeline_bytes_usage",
4950
"profiled_container_usage",
5051
"profiled_fargate_usage",
5152
"profiled_host_usage",
@@ -79,6 +80,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
7980
INFRA_HOST_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
8081
INVOCATIONS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
8182
NPM_HOST_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
83+
OBS_PIPELINE_BYTES_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
8284
PROFILED_CONTAINER_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
8385
PROFILED_FARGATE_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
8486
PROFILED_HOST_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
@@ -131,6 +133,7 @@ def openapi_types(_):
131133
HourlyUsageAttributionUsageType.INFRA_HOST_USAGE = HourlyUsageAttributionUsageType("infra_host_usage")
132134
HourlyUsageAttributionUsageType.INVOCATIONS_USAGE = HourlyUsageAttributionUsageType("invocations_usage")
133135
HourlyUsageAttributionUsageType.NPM_HOST_USAGE = HourlyUsageAttributionUsageType("npm_host_usage")
136+
HourlyUsageAttributionUsageType.OBS_PIPELINE_BYTES_USAGE = HourlyUsageAttributionUsageType("obs_pipeline_bytes_usage")
134137
HourlyUsageAttributionUsageType.PROFILED_CONTAINER_USAGE = HourlyUsageAttributionUsageType("profiled_container_usage")
135138
HourlyUsageAttributionUsageType.PROFILED_FARGATE_USAGE = HourlyUsageAttributionUsageType("profiled_fargate_usage")
136139
HourlyUsageAttributionUsageType.PROFILED_HOST_USAGE = HourlyUsageAttributionUsageType("profiled_host_usage")

src/datadog_api_client/v1/model/monthly_usage_attribution_supported_metrics.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
1616
"""
1717
Supported metrics for monthly usage attribution requests.
1818
19-
:param value: Must be one of ["api_usage", "api_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "apm_host_usage", "apm_host_percentage", "appsec_usage", "appsec_percentage", "browser_usage", "browser_percentage", "container_excl_agent_usage", "container_excl_agent_percentage", "container_usage", "container_percentage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_timeseries_usage", "custom_timeseries_percentage", "custom_ingested_timeseries_usage", "custom_ingested_timeseries_percentage", "cws_containers_percentage", "cws_containers_usage", "cws_hosts_percentage", "cws_hosts_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "fargate_usage", "fargate_percentage", "functions_usage", "functions_percentage", "infra_host_usage", "infra_host_percentage", "invocations_usage", "invocations_percentage", "npm_host_usage", "npm_host_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_fargate_usage", "profiled_fargate_percentage", "profiled_host_usage", "profiled_host_percentage", "snmp_usage", "snmp_percentage", "estimated_rum_sessions_usage", "estimated_rum_sessions_percentage", "universal_service_monitoring_usage", "universal_service_monitoring_percentage", "vuln_management_hosts_usage", "vuln_management_hosts_percentage", "*"].
19+
:param value: Must be one of ["api_usage", "api_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "apm_host_usage", "apm_host_percentage", "appsec_usage", "appsec_percentage", "browser_usage", "browser_percentage", "container_excl_agent_usage", "container_excl_agent_percentage", "container_usage", "container_percentage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_timeseries_usage", "custom_timeseries_percentage", "custom_ingested_timeseries_usage", "custom_ingested_timeseries_percentage", "cws_containers_percentage", "cws_containers_usage", "cws_hosts_percentage", "cws_hosts_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "fargate_usage", "fargate_percentage", "functions_usage", "functions_percentage", "infra_host_usage", "infra_host_percentage", "invocations_usage", "invocations_percentage", "npm_host_usage", "npm_host_percentage", "obs_pipeline_bytes_usage", "obs_pipeline_bytes_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_fargate_usage", "profiled_fargate_percentage", "profiled_host_usage", "profiled_host_percentage", "snmp_usage", "snmp_percentage", "estimated_rum_sessions_usage", "estimated_rum_sessions_percentage", "universal_service_monitoring_usage", "universal_service_monitoring_percentage", "vuln_management_hosts_usage", "vuln_management_hosts_percentage", "*"].
2020
:type value: str
2121
"""
2222

@@ -71,6 +71,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
7171
"invocations_percentage",
7272
"npm_host_usage",
7373
"npm_host_percentage",
74+
"obs_pipeline_bytes_usage",
75+
"obs_pipeline_bytes_percentage",
7476
"profiled_container_usage",
7577
"profiled_container_percentage",
7678
"profiled_fargate_usage",
@@ -137,6 +139,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
137139
INVOCATIONS_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
138140
NPM_HOST_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
139141
NPM_HOST_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
142+
OBS_PIPELINE_BYTES_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
143+
OBS_PIPELINE_BYTES_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
140144
PROFILED_CONTAINER_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
141145
PROFILED_CONTAINER_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
142146
PROFILED_FARGATE_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
@@ -276,6 +280,12 @@ def openapi_types(_):
276280
MonthlyUsageAttributionSupportedMetrics.NPM_HOST_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
277281
"npm_host_percentage"
278282
)
283+
MonthlyUsageAttributionSupportedMetrics.OBS_PIPELINE_BYTES_USAGE = MonthlyUsageAttributionSupportedMetrics(
284+
"obs_pipeline_bytes_usage"
285+
)
286+
MonthlyUsageAttributionSupportedMetrics.OBS_PIPELINE_BYTES_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
287+
"obs_pipeline_bytes_percentage"
288+
)
279289
MonthlyUsageAttributionSupportedMetrics.PROFILED_CONTAINER_USAGE = MonthlyUsageAttributionSupportedMetrics(
280290
"profiled_container_usage"
281291
)

src/datadog_api_client/v1/model/monthly_usage_attribution_values.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ def openapi_types(_):
6969
"invocations_usage": (float,),
7070
"npm_host_percentage": (float,),
7171
"npm_host_usage": (float,),
72+
"obs_pipeline_bytes_percentage": (float,),
73+
"obs_pipeline_bytes_usage": (float,),
7274
"profiled_container_percentage": (float,),
7375
"profiled_container_usage": (float,),
7476
"profiled_fargate_percentage": (float,),
@@ -136,6 +138,8 @@ def openapi_types(_):
136138
"invocations_usage": "invocations_usage",
137139
"npm_host_percentage": "npm_host_percentage",
138140
"npm_host_usage": "npm_host_usage",
141+
"obs_pipeline_bytes_percentage": "obs_pipeline_bytes_percentage",
142+
"obs_pipeline_bytes_usage": "obs_pipeline_bytes_usage",
139143
"profiled_container_percentage": "profiled_container_percentage",
140144
"profiled_container_usage": "profiled_container_usage",
141145
"profiled_fargate_percentage": "profiled_fargate_percentage",
@@ -204,6 +208,8 @@ def __init__(
204208
invocations_usage: Union[float, UnsetType] = unset,
205209
npm_host_percentage: Union[float, UnsetType] = unset,
206210
npm_host_usage: Union[float, UnsetType] = unset,
211+
obs_pipeline_bytes_percentage: Union[float, UnsetType] = unset,
212+
obs_pipeline_bytes_usage: Union[float, UnsetType] = unset,
207213
profiled_container_percentage: Union[float, UnsetType] = unset,
208214
profiled_container_usage: Union[float, UnsetType] = unset,
209215
profiled_fargate_percentage: Union[float, UnsetType] = unset,
@@ -377,6 +383,12 @@ def __init__(
377383
:param npm_host_usage: The network host usage by tag(s).
378384
:type npm_host_usage: float, optional
379385
386+
:param obs_pipeline_bytes_percentage: The percentage of observability pipeline bytes usage by tag(s).
387+
:type obs_pipeline_bytes_percentage: float, optional
388+
389+
:param obs_pipeline_bytes_usage: The observability pipeline bytes usage by tag(s).
390+
:type obs_pipeline_bytes_usage: float, optional
391+
380392
:param profiled_container_percentage: The percentage of profiled container usage by tag(s).
381393
:type profiled_container_percentage: float, optional
382394
@@ -517,6 +529,10 @@ def __init__(
517529
kwargs["npm_host_percentage"] = npm_host_percentage
518530
if npm_host_usage is not unset:
519531
kwargs["npm_host_usage"] = npm_host_usage
532+
if obs_pipeline_bytes_percentage is not unset:
533+
kwargs["obs_pipeline_bytes_percentage"] = obs_pipeline_bytes_percentage
534+
if obs_pipeline_bytes_usage is not unset:
535+
kwargs["obs_pipeline_bytes_usage"] = obs_pipeline_bytes_usage
520536
if profiled_container_percentage is not unset:
521537
kwargs["profiled_container_percentage"] = profiled_container_percentage
522538
if profiled_container_usage is not unset:

0 commit comments

Comments
 (0)