Skip to content

Commit 8228e49

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add documentation for workflow usage attribution (#1898)
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 236650d commit 8228e49

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.6",
7-
"regenerated": "2024-03-11 14:09:39.314202",
8-
"spec_repo_commit": "0f7ad8f2"
7+
"regenerated": "2024-03-11 18:06:45.607287",
8+
"spec_repo_commit": "ac12ffe4"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-03-11 14:09:39.334539",
13-
"spec_repo_commit": "0f7ad8f2"
12+
"regenerated": "2024-03-11 18:06:45.623937",
13+
"spec_repo_commit": "ac12ffe4"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4142,6 +4142,7 @@ components:
41424142
- snmp_usage
41434143
- universal_service_monitoring_usage
41444144
- vuln_management_hosts_usage
4145+
- workflow_executions_usage
41454146
type: string
41464147
x-enum-varnames:
41474148
- API_USAGE
@@ -4209,6 +4210,7 @@ components:
42094210
- SNMP_USAGE
42104211
- UNIVERSAL_SERVICE_MONITORING_USAGE
42114212
- VULN_MANAGEMENT_HOSTS_USAGE
4213+
- WORKFLOW_EXECUTIONS_USAGE
42124214
IFrameWidgetDefinition:
42134215
description: The iframe widget allows you to embed a portion of any other web
42144216
page on your dashboard. Only available on FREE layout dashboards.
@@ -7886,6 +7888,8 @@ components:
78867888
- ingested_spans_bytes_percentage
78877889
- siem_ingested_bytes_usage
78887890
- siem_ingested_bytes_percentage
7891+
- workflow_executions_usage
7892+
- workflow_executions_percentage
78897893
- '*'
78907894
type: string
78917895
x-enum-varnames:
@@ -8015,6 +8019,8 @@ components:
80158019
- INGESTED_SPANS_BYTES_PERCENTAGE
80168020
- SIEM_INGESTED_BYTES_USAGE
80178021
- SIEM_INGESTED_BYTES_PERCENTAGE
8022+
- WORKFLOW_EXECUTIONS_USAGE
8023+
- WORKFLOW_EXECUTIONS_PERCENTAGE
80188024
- ALL
80198025
MonthlyUsageAttributionValues:
80208026
description: Fields in Usage Summary by tag(s).
@@ -8548,6 +8554,14 @@ components:
85488554
description: The Application Vulnerability Management usage by tag(s).
85498555
format: double
85508556
type: number
8557+
workflow_executions_percentage:
8558+
description: The percentage of workflow executions usage by tag(s).
8559+
format: double
8560+
type: number
8561+
workflow_executions_usage:
8562+
description: The total workflow executions usage by tag(s).
8563+
format: double
8564+
type: number
85518565
type: object
85528566
NoteWidgetDefinition:
85538567
description: The notes and links widget is similar to free text widget, but

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", "apm_usm_usage", "appsec_fargate_usage", "appsec_usage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "browser_usage", "ci_pipeline_indexed_spans_usage", "ci_test_indexed_spans_usage", "ci_visibility_itr_usage", "cloud_siem_usage", "container_excl_agent_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_event_usage", "custom_ingested_timeseries_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", "dbm_hosts_usage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_percentage", "estimated_indexed_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_logs_usage", "estimated_ingested_spans_usage", "estimated_rum_sessions_usage", "fargate_usage", "functions_usage", "indexed_spans_usage", "infra_host_usage", "ingested_logs_bytes_usage", "ingested_spans_bytes_usage", "invocations_usage", "lambda_traced_invocations_usage", "logs_indexed_15day_usage", "logs_indexed_180day_usage", "logs_indexed_30day_usage", "logs_indexed_360day_usage", "logs_indexed_3day_usage", "logs_indexed_45day_usage", "logs_indexed_60day_usage", "logs_indexed_7day_usage", "logs_indexed_90day_usage", "logs_indexed_custom_retention_usage", "mobile_app_testing_usage", "ndm_netflow_usage", "npm_host_usage", "obs_pipeline_bytes_usage", "obs_pipelines_vcpu_usage", "profiled_container_usage", "profiled_fargate_usage", "profiled_host_usage", "rum_browser_mobile_sessions_usage", "rum_replay_sessions_usage", "sds_scanned_bytes_usage", "serverless_apps_usage", "siem_ingested_bytes_usage", "snmp_usage", "universal_service_monitoring_usage", "vuln_management_hosts_usage"].
19+
:param value: Must be one of ["api_usage", "apm_fargate_usage", "apm_host_usage", "apm_usm_usage", "appsec_fargate_usage", "appsec_usage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "browser_usage", "ci_pipeline_indexed_spans_usage", "ci_test_indexed_spans_usage", "ci_visibility_itr_usage", "cloud_siem_usage", "container_excl_agent_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_event_usage", "custom_ingested_timeseries_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", "dbm_hosts_usage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_percentage", "estimated_indexed_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_logs_usage", "estimated_ingested_spans_usage", "estimated_rum_sessions_usage", "fargate_usage", "functions_usage", "indexed_spans_usage", "infra_host_usage", "ingested_logs_bytes_usage", "ingested_spans_bytes_usage", "invocations_usage", "lambda_traced_invocations_usage", "logs_indexed_15day_usage", "logs_indexed_180day_usage", "logs_indexed_30day_usage", "logs_indexed_360day_usage", "logs_indexed_3day_usage", "logs_indexed_45day_usage", "logs_indexed_60day_usage", "logs_indexed_7day_usage", "logs_indexed_90day_usage", "logs_indexed_custom_retention_usage", "mobile_app_testing_usage", "ndm_netflow_usage", "npm_host_usage", "obs_pipeline_bytes_usage", "obs_pipelines_vcpu_usage", "profiled_container_usage", "profiled_fargate_usage", "profiled_host_usage", "rum_browser_mobile_sessions_usage", "rum_replay_sessions_usage", "sds_scanned_bytes_usage", "serverless_apps_usage", "siem_ingested_bytes_usage", "snmp_usage", "universal_service_monitoring_usage", "vuln_management_hosts_usage", "workflow_executions_usage"].
2020
:type value: str
2121
"""
2222

@@ -86,6 +86,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
8686
"snmp_usage",
8787
"universal_service_monitoring_usage",
8888
"vuln_management_hosts_usage",
89+
"workflow_executions_usage",
8990
}
9091
API_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
9192
APM_FARGATE_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
@@ -152,6 +153,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
152153
SNMP_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
153154
UNIVERSAL_SERVICE_MONITORING_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
154155
VULN_MANAGEMENT_HOSTS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
156+
WORKFLOW_EXECUTIONS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
155157

156158
@cached_property
157159
def openapi_types(_):
@@ -259,3 +261,4 @@ def openapi_types(_):
259261
HourlyUsageAttributionUsageType.VULN_MANAGEMENT_HOSTS_USAGE = HourlyUsageAttributionUsageType(
260262
"vuln_management_hosts_usage"
261263
)
264+
HourlyUsageAttributionUsageType.WORKFLOW_EXECUTIONS_USAGE = HourlyUsageAttributionUsageType("workflow_executions_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", "apm_usm_usage", "apm_usm_percentage", "appsec_usage", "appsec_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "browser_usage", "browser_percentage", "ci_visibility_itr_usage", "ci_visibility_itr_percentage", "cloud_siem_usage", "cloud_siem_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", "error_tracking_usage", "error_tracking_percentage", "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", "lambda_traced_invocations_usage", "lambda_traced_invocations_percentage", "mobile_app_testing_percentage", "mobile_app_testing_usage", "ndm_netflow_usage", "ndm_netflow_percentage", "npm_host_usage", "npm_host_percentage", "obs_pipeline_bytes_usage", "obs_pipeline_bytes_percentage", "obs_pipelines_vcpu_usage", "obs_pipelines_vcpu_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_fargate_usage", "profiled_fargate_percentage", "profiled_host_usage", "profiled_host_percentage", "serverless_apps_usage", "serverless_apps_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", "sds_scanned_bytes_usage", "sds_scanned_bytes_percentage", "ci_test_indexed_spans_usage", "ci_test_indexed_spans_percentage", "ingested_logs_bytes_usage", "ingested_logs_bytes_percentage", "ci_pipeline_indexed_spans_usage", "ci_pipeline_indexed_spans_percentage", "indexed_spans_usage", "indexed_spans_percentage", "custom_event_usage", "custom_event_percentage", "logs_indexed_custom_retention_usage", "logs_indexed_custom_retention_percentage", "logs_indexed_360day_usage", "logs_indexed_360day_percentage", "logs_indexed_180day_usage", "logs_indexed_180day_percentage", "logs_indexed_90day_usage", "logs_indexed_90day_percentage", "logs_indexed_60day_usage", "logs_indexed_60day_percentage", "logs_indexed_45day_usage", "logs_indexed_45day_percentage", "logs_indexed_30day_usage", "logs_indexed_30day_percentage", "logs_indexed_15day_usage", "logs_indexed_15day_percentage", "logs_indexed_7day_usage", "logs_indexed_7day_percentage", "logs_indexed_3day_usage", "logs_indexed_3day_percentage", "rum_replay_sessions_usage", "rum_replay_sessions_percentage", "rum_browser_mobile_sessions_usage", "rum_browser_mobile_sessions_percentage", "ingested_spans_bytes_usage", "ingested_spans_bytes_percentage", "siem_ingested_bytes_usage", "siem_ingested_bytes_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", "apm_usm_usage", "apm_usm_percentage", "appsec_usage", "appsec_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "browser_usage", "browser_percentage", "ci_visibility_itr_usage", "ci_visibility_itr_percentage", "cloud_siem_usage", "cloud_siem_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", "error_tracking_usage", "error_tracking_percentage", "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", "lambda_traced_invocations_usage", "lambda_traced_invocations_percentage", "mobile_app_testing_percentage", "mobile_app_testing_usage", "ndm_netflow_usage", "ndm_netflow_percentage", "npm_host_usage", "npm_host_percentage", "obs_pipeline_bytes_usage", "obs_pipeline_bytes_percentage", "obs_pipelines_vcpu_usage", "obs_pipelines_vcpu_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_fargate_usage", "profiled_fargate_percentage", "profiled_host_usage", "profiled_host_percentage", "serverless_apps_usage", "serverless_apps_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", "sds_scanned_bytes_usage", "sds_scanned_bytes_percentage", "ci_test_indexed_spans_usage", "ci_test_indexed_spans_percentage", "ingested_logs_bytes_usage", "ingested_logs_bytes_percentage", "ci_pipeline_indexed_spans_usage", "ci_pipeline_indexed_spans_percentage", "indexed_spans_usage", "indexed_spans_percentage", "custom_event_usage", "custom_event_percentage", "logs_indexed_custom_retention_usage", "logs_indexed_custom_retention_percentage", "logs_indexed_360day_usage", "logs_indexed_360day_percentage", "logs_indexed_180day_usage", "logs_indexed_180day_percentage", "logs_indexed_90day_usage", "logs_indexed_90day_percentage", "logs_indexed_60day_usage", "logs_indexed_60day_percentage", "logs_indexed_45day_usage", "logs_indexed_45day_percentage", "logs_indexed_30day_usage", "logs_indexed_30day_percentage", "logs_indexed_15day_usage", "logs_indexed_15day_percentage", "logs_indexed_7day_usage", "logs_indexed_7day_percentage", "logs_indexed_3day_usage", "logs_indexed_3day_percentage", "rum_replay_sessions_usage", "rum_replay_sessions_percentage", "rum_browser_mobile_sessions_usage", "rum_browser_mobile_sessions_percentage", "ingested_spans_bytes_usage", "ingested_spans_bytes_percentage", "siem_ingested_bytes_usage", "siem_ingested_bytes_percentage", "workflow_executions_usage", "workflow_executions_percentage", "*"].
2020
:type value: str
2121
"""
2222

@@ -147,6 +147,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
147147
"ingested_spans_bytes_percentage",
148148
"siem_ingested_bytes_usage",
149149
"siem_ingested_bytes_percentage",
150+
"workflow_executions_usage",
151+
"workflow_executions_percentage",
150152
"*",
151153
}
152154
API_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
@@ -275,6 +277,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
275277
INGESTED_SPANS_BYTES_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
276278
SIEM_INGESTED_BYTES_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
277279
SIEM_INGESTED_BYTES_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
280+
WORKFLOW_EXECUTIONS_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
281+
WORKFLOW_EXECUTIONS_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
278282
ALL: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
279283

280284
@cached_property
@@ -618,4 +622,10 @@ def openapi_types(_):
618622
MonthlyUsageAttributionSupportedMetrics.SIEM_INGESTED_BYTES_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
619623
"siem_ingested_bytes_percentage"
620624
)
625+
MonthlyUsageAttributionSupportedMetrics.WORKFLOW_EXECUTIONS_USAGE = MonthlyUsageAttributionSupportedMetrics(
626+
"workflow_executions_usage"
627+
)
628+
MonthlyUsageAttributionSupportedMetrics.WORKFLOW_EXECUTIONS_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
629+
"workflow_executions_percentage"
630+
)
621631
MonthlyUsageAttributionSupportedMetrics.ALL = MonthlyUsageAttributionSupportedMetrics("*")

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
@@ -143,6 +143,8 @@ def openapi_types(_):
143143
"universal_service_monitoring_usage": (float,),
144144
"vuln_management_hosts_percentage": (float,),
145145
"vuln_management_hosts_usage": (float,),
146+
"workflow_executions_percentage": (float,),
147+
"workflow_executions_usage": (float,),
146148
}
147149

148150
attribute_map = {
@@ -272,6 +274,8 @@ def openapi_types(_):
272274
"universal_service_monitoring_usage": "universal_service_monitoring_usage",
273275
"vuln_management_hosts_percentage": "vuln_management_hosts_percentage",
274276
"vuln_management_hosts_usage": "vuln_management_hosts_usage",
277+
"workflow_executions_percentage": "workflow_executions_percentage",
278+
"workflow_executions_usage": "workflow_executions_usage",
275279
}
276280

277281
def __init__(
@@ -402,6 +406,8 @@ def __init__(
402406
universal_service_monitoring_usage: Union[float, UnsetType] = unset,
403407
vuln_management_hosts_percentage: Union[float, UnsetType] = unset,
404408
vuln_management_hosts_usage: Union[float, UnsetType] = unset,
409+
workflow_executions_percentage: Union[float, UnsetType] = unset,
410+
workflow_executions_usage: Union[float, UnsetType] = unset,
405411
**kwargs,
406412
):
407413
"""
@@ -784,6 +790,12 @@ def __init__(
784790
785791
:param vuln_management_hosts_usage: The Application Vulnerability Management usage by tag(s).
786792
:type vuln_management_hosts_usage: float, optional
793+
794+
:param workflow_executions_percentage: The percentage of workflow executions usage by tag(s).
795+
:type workflow_executions_percentage: float, optional
796+
797+
:param workflow_executions_usage: The total workflow executions usage by tag(s).
798+
:type workflow_executions_usage: float, optional
787799
"""
788800
if api_percentage is not unset:
789801
kwargs["api_percentage"] = api_percentage
@@ -1037,4 +1049,8 @@ def __init__(
10371049
kwargs["vuln_management_hosts_percentage"] = vuln_management_hosts_percentage
10381050
if vuln_management_hosts_usage is not unset:
10391051
kwargs["vuln_management_hosts_usage"] = vuln_management_hosts_usage
1052+
if workflow_executions_percentage is not unset:
1053+
kwargs["workflow_executions_percentage"] = workflow_executions_percentage
1054+
if workflow_executions_usage is not unset:
1055+
kwargs["workflow_executions_usage"] = workflow_executions_usage
10401056
super().__init__(kwargs)

0 commit comments

Comments
 (0)