Skip to content

Commit 75d6faf

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add new bits_ai usage attribution type to Usage Attribution Public API Documentation (#3052)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent b087562 commit 75d6faf

4 files changed

Lines changed: 47 additions & 2 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4281,6 +4281,7 @@ components:
42814281
- appsec_usage
42824282
- asm_serverless_traced_invocations_usage
42834283
- asm_serverless_traced_invocations_percentage
4284+
- bits_ai_investigations_usage
42844285
- browser_usage
42854286
- ci_pipeline_indexed_spans_usage
42864287
- ci_test_indexed_spans_usage
@@ -4364,6 +4365,7 @@ components:
43644365
- APPSEC_USAGE
43654366
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
43664367
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
4368+
- BITS_AI_INVESTIGATIONS_USAGE
43674369
- BROWSER_USAGE
43684370
- CI_PIPELINE_INDEXED_SPANS_USAGE
43694371
- CI_TEST_INDEXED_SPANS_USAGE
@@ -8702,6 +8704,8 @@ components:
87028704
- appsec_percentage
87038705
- asm_serverless_traced_invocations_usage
87048706
- asm_serverless_traced_invocations_percentage
8707+
- bits_ai_investigations_usage
8708+
- bits_ai_investigations_percentage
87058709
- browser_usage
87068710
- browser_percentage
87078711
- ci_visibility_itr_usage
@@ -8863,6 +8867,8 @@ components:
88638867
- APPSEC_PERCENTAGE
88648868
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
88658869
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
8870+
- BITS_AI_INVESTIGATIONS_USAGE
8871+
- BITS_AI_INVESTIGATIONS_PERCENTAGE
88668872
- BROWSER_USAGE
88678873
- BROWSER_PERCENTAGE
88688874
- CI_VISIBILITY_ITR_USAGE
@@ -9076,6 +9082,14 @@ components:
90769082
usage by tag(s).
90779083
format: double
90789084
type: number
9085+
bits_ai_investigations_percentage:
9086+
description: The percentage of Bits AI `SRE` investigation usage by tag(s).
9087+
format: double
9088+
type: number
9089+
bits_ai_investigations_usage:
9090+
description: The Bits AI `SRE` investigation usage by tag(s).
9091+
format: double
9092+
type: number
90799093
browser_percentage:
90809094
description: The percentage of synthetic browser test usage by tag(s).
90819095
format: double

src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
1717
Supported products for hourly usage attribution requests.
1818
The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_ingested_spans_usage`.
1919
20-
: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", "code_security_host_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_fargate_task_usage", "cws_hosts_usage", "data_jobs_monitoring_usage", "data_stream_monitoring_usage", "dbm_hosts_usage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_percentage", "estimated_indexed_spans_usage", "estimated_ingested_spans_usage", "fargate_usage", "flex_stored_logs", "functions_usage", "incident_management_monthly_active_users_usage", "indexed_spans_usage", "infra_host_usage", "ingested_logs_bytes_usage", "ingested_spans_bytes_usage", "invocations_usage", "lambda_traced_invocations_usage", "llm_observability_usage", "llm_spans_usage", "logs_indexed_15day_usage", "logs_indexed_180day_usage", "logs_indexed_1day_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", "network_device_wireless_usage", "obs_pipeline_bytes_usage", "obs_pipelines_vcpu_usage", "online_archive_usage", "product_analytics_session_usage", "profiled_container_usage", "profiled_fargate_usage", "profiled_host_usage", "published_app", "rum_browser_mobile_sessions_usage", "rum_ingested_usage", "rum_investigate_usage", "rum_replay_sessions_usage", "rum_session_replay_add_on_usage", "sca_fargate_usage", "sds_scanned_bytes_usage", "serverless_apps_usage", "siem_analyzed_logs_add_on_usage", "siem_ingested_bytes_usage", "snmp_usage", "universal_service_monitoring_usage", "vuln_management_hosts_usage", "workflow_executions_usage"].
20+
: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", "bits_ai_investigations_usage", "browser_usage", "ci_pipeline_indexed_spans_usage", "ci_test_indexed_spans_usage", "ci_visibility_itr_usage", "cloud_siem_usage", "code_security_host_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_fargate_task_usage", "cws_hosts_usage", "data_jobs_monitoring_usage", "data_stream_monitoring_usage", "dbm_hosts_usage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_percentage", "estimated_indexed_spans_usage", "estimated_ingested_spans_usage", "fargate_usage", "flex_stored_logs", "functions_usage", "incident_management_monthly_active_users_usage", "indexed_spans_usage", "infra_host_usage", "ingested_logs_bytes_usage", "ingested_spans_bytes_usage", "invocations_usage", "lambda_traced_invocations_usage", "llm_observability_usage", "llm_spans_usage", "logs_indexed_15day_usage", "logs_indexed_180day_usage", "logs_indexed_1day_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", "network_device_wireless_usage", "obs_pipeline_bytes_usage", "obs_pipelines_vcpu_usage", "online_archive_usage", "product_analytics_session_usage", "profiled_container_usage", "profiled_fargate_usage", "profiled_host_usage", "published_app", "rum_browser_mobile_sessions_usage", "rum_ingested_usage", "rum_investigate_usage", "rum_replay_sessions_usage", "rum_session_replay_add_on_usage", "sca_fargate_usage", "sds_scanned_bytes_usage", "serverless_apps_usage", "siem_analyzed_logs_add_on_usage", "siem_ingested_bytes_usage", "snmp_usage", "universal_service_monitoring_usage", "vuln_management_hosts_usage", "workflow_executions_usage"].
2121
:type value: str
2222
"""
2323

@@ -30,6 +30,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
3030
"appsec_usage",
3131
"asm_serverless_traced_invocations_usage",
3232
"asm_serverless_traced_invocations_percentage",
33+
"bits_ai_investigations_usage",
3334
"browser_usage",
3435
"ci_pipeline_indexed_spans_usage",
3536
"ci_test_indexed_spans_usage",
@@ -112,6 +113,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
112113
APPSEC_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
113114
ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
114115
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE: ClassVar["HourlyUsageAttributionUsageType"]
116+
BITS_AI_INVESTIGATIONS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
115117
BROWSER_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
116118
CI_PIPELINE_INDEXED_SPANS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
117119
CI_TEST_INDEXED_SPANS_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
@@ -205,6 +207,9 @@ def openapi_types(_):
205207
HourlyUsageAttributionUsageType.ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = HourlyUsageAttributionUsageType(
206208
"asm_serverless_traced_invocations_percentage"
207209
)
210+
HourlyUsageAttributionUsageType.BITS_AI_INVESTIGATIONS_USAGE = HourlyUsageAttributionUsageType(
211+
"bits_ai_investigations_usage"
212+
)
208213
HourlyUsageAttributionUsageType.BROWSER_USAGE = HourlyUsageAttributionUsageType("browser_usage")
209214
HourlyUsageAttributionUsageType.CI_PIPELINE_INDEXED_SPANS_USAGE = HourlyUsageAttributionUsageType(
210215
"ci_pipeline_indexed_spans_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", "code_security_host_usage", "code_security_host_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_fargate_task_percentage", "cws_fargate_task_usage", "cws_hosts_percentage", "cws_hosts_usage", "data_jobs_monitoring_usage", "data_jobs_monitoring_percentage", "data_stream_monitoring_usage", "data_stream_monitoring_percentage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "fargate_usage", "fargate_percentage", "flex_stored_logs_usage", "flex_stored_logs_percentage", "functions_usage", "functions_percentage", "incident_management_monthly_active_users_usage", "incident_management_monthly_active_users_percentage", "infra_host_usage", "infra_host_percentage", "invocations_usage", "invocations_percentage", "lambda_traced_invocations_usage", "lambda_traced_invocations_percentage", "llm_observability_usage", "llm_observability_percentage", "llm_spans_usage", "llm_spans_percentage", "mobile_app_testing_percentage", "mobile_app_testing_usage", "ndm_netflow_usage", "ndm_netflow_percentage", "network_device_wireless_usage", "network_device_wireless_percentage", "npm_host_usage", "npm_host_percentage", "obs_pipeline_bytes_usage", "obs_pipeline_bytes_percentage", "obs_pipelines_vcpu_usage", "obs_pipelines_vcpu_percentage", "online_archive_usage", "online_archive_percentage", "product_analytics_session_usage", "product_analytics_session_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_fargate_usage", "profiled_fargate_percentage", "profiled_host_usage", "profiled_host_percentage", "published_app_usage", "published_app_percentage", "serverless_apps_usage", "serverless_apps_percentage", "snmp_usage", "snmp_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", "logs_indexed_1day_usage", "logs_indexed_1day_percentage", "rum_ingested_usage", "rum_ingested_percentage", "rum_investigate_usage", "rum_investigate_percentage", "rum_replay_sessions_usage", "rum_replay_sessions_percentage", "rum_session_replay_add_on_usage", "rum_session_replay_add_on_percentage", "rum_browser_mobile_sessions_usage", "rum_browser_mobile_sessions_percentage", "ingested_spans_bytes_usage", "ingested_spans_bytes_percentage", "siem_analyzed_logs_add_on_usage", "siem_analyzed_logs_add_on_percentage", "siem_ingested_bytes_usage", "siem_ingested_bytes_percentage", "workflow_executions_usage", "workflow_executions_percentage", "sca_fargate_usage", "sca_fargate_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", "bits_ai_investigations_usage", "bits_ai_investigations_percentage", "browser_usage", "browser_percentage", "ci_visibility_itr_usage", "ci_visibility_itr_percentage", "cloud_siem_usage", "cloud_siem_percentage", "code_security_host_usage", "code_security_host_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_fargate_task_percentage", "cws_fargate_task_usage", "cws_hosts_percentage", "cws_hosts_usage", "data_jobs_monitoring_usage", "data_jobs_monitoring_percentage", "data_stream_monitoring_usage", "data_stream_monitoring_percentage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "fargate_usage", "fargate_percentage", "flex_stored_logs_usage", "flex_stored_logs_percentage", "functions_usage", "functions_percentage", "incident_management_monthly_active_users_usage", "incident_management_monthly_active_users_percentage", "infra_host_usage", "infra_host_percentage", "invocations_usage", "invocations_percentage", "lambda_traced_invocations_usage", "lambda_traced_invocations_percentage", "llm_observability_usage", "llm_observability_percentage", "llm_spans_usage", "llm_spans_percentage", "mobile_app_testing_percentage", "mobile_app_testing_usage", "ndm_netflow_usage", "ndm_netflow_percentage", "network_device_wireless_usage", "network_device_wireless_percentage", "npm_host_usage", "npm_host_percentage", "obs_pipeline_bytes_usage", "obs_pipeline_bytes_percentage", "obs_pipelines_vcpu_usage", "obs_pipelines_vcpu_percentage", "online_archive_usage", "online_archive_percentage", "product_analytics_session_usage", "product_analytics_session_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_fargate_usage", "profiled_fargate_percentage", "profiled_host_usage", "profiled_host_percentage", "published_app_usage", "published_app_percentage", "serverless_apps_usage", "serverless_apps_percentage", "snmp_usage", "snmp_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", "logs_indexed_1day_usage", "logs_indexed_1day_percentage", "rum_ingested_usage", "rum_ingested_percentage", "rum_investigate_usage", "rum_investigate_percentage", "rum_replay_sessions_usage", "rum_replay_sessions_percentage", "rum_session_replay_add_on_usage", "rum_session_replay_add_on_percentage", "rum_browser_mobile_sessions_usage", "rum_browser_mobile_sessions_percentage", "ingested_spans_bytes_usage", "ingested_spans_bytes_percentage", "siem_analyzed_logs_add_on_usage", "siem_analyzed_logs_add_on_percentage", "siem_ingested_bytes_usage", "siem_ingested_bytes_percentage", "workflow_executions_usage", "workflow_executions_percentage", "sca_fargate_usage", "sca_fargate_percentage", "*"].
2020
:type value: str
2121
"""
2222

@@ -35,6 +35,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
3535
"appsec_percentage",
3636
"asm_serverless_traced_invocations_usage",
3737
"asm_serverless_traced_invocations_percentage",
38+
"bits_ai_investigations_usage",
39+
"bits_ai_investigations_percentage",
3840
"browser_usage",
3941
"browser_percentage",
4042
"ci_visibility_itr_usage",
@@ -195,6 +197,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
195197
APPSEC_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
196198
ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
197199
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
200+
BITS_AI_INVESTIGATIONS_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
201+
BITS_AI_INVESTIGATIONS_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
198202
BROWSER_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
199203
BROWSER_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
200204
CI_VISIBILITY_ITR_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
@@ -376,6 +380,12 @@ def openapi_types(_):
376380
MonthlyUsageAttributionSupportedMetrics.ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE = (
377381
MonthlyUsageAttributionSupportedMetrics("asm_serverless_traced_invocations_percentage")
378382
)
383+
MonthlyUsageAttributionSupportedMetrics.BITS_AI_INVESTIGATIONS_USAGE = MonthlyUsageAttributionSupportedMetrics(
384+
"bits_ai_investigations_usage"
385+
)
386+
MonthlyUsageAttributionSupportedMetrics.BITS_AI_INVESTIGATIONS_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
387+
"bits_ai_investigations_percentage"
388+
)
379389
MonthlyUsageAttributionSupportedMetrics.BROWSER_USAGE = MonthlyUsageAttributionSupportedMetrics("browser_usage")
380390
MonthlyUsageAttributionSupportedMetrics.BROWSER_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
381391
"browser_percentage"

0 commit comments

Comments
 (0)