Skip to content

Commit c133ed0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add new keys for CWS Fargate Task in summary usage and usage attribution endpoints (#2773)
* Regenerate client from commit ae3b5463 of spec repo * pre-commit fixes * pre-commit fixes * pre-commit fixes * pre-commit fixes * pre-commit fixes * pre-commit fixes * pre-commit fixes --------- Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent df64067 commit c133ed0

11 files changed

+242
-31
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-11-08 14:25:40.171557",
8-
"spec_repo_commit": "d907813e"
7+
"regenerated": "2024-11-08 19:36:33.795117",
8+
"spec_repo_commit": "ae3b5463"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-11-08 14:25:40.189971",
13-
"spec_repo_commit": "d907813e"
12+
"regenerated": "2024-11-08 19:36:33.814631",
13+
"spec_repo_commit": "ae3b5463"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4187,6 +4187,7 @@ components:
41874187
- custom_ingested_timeseries_usage
41884188
- custom_timeseries_usage
41894189
- cws_containers_usage
4190+
- cws_fargate_task_usage
41904191
- cws_hosts_usage
41914192
- data_jobs_monitoring_usage
41924193
- data_stream_monitoring_usage
@@ -4259,6 +4260,7 @@ components:
42594260
- CUSTOM_INGESTED_TIMESERIES_USAGE
42604261
- CUSTOM_TIMESERIES_USAGE
42614262
- CWS_CONTAINERS_USAGE
4263+
- CWS_FARGATE_TASK_USAGE
42624264
- CWS_HOSTS_USAGE
42634265
- DATA_JOBS_MONITORING_USAGE
42644266
- DATA_STREAM_MONITORING_USAGE
@@ -7939,6 +7941,8 @@ components:
79397941
- custom_ingested_timeseries_percentage
79407942
- cws_containers_percentage
79417943
- cws_containers_usage
7944+
- cws_fargate_task_percentage
7945+
- cws_fargate_task_usage
79427946
- cws_hosts_percentage
79437947
- cws_hosts_usage
79447948
- data_jobs_monitoring_usage
@@ -8078,6 +8082,8 @@ components:
80788082
- CUSTOM_INGESTED_TIMESERIES_PERCENTAGE
80798083
- CWS_CONTAINERS_PERCENTAGE
80808084
- CWS_CONTAINERS_USAGE
8085+
- CWS_FARGATE_TASK_PERCENTAGE
8086+
- CWS_FARGATE_TASK_USAGE
80818087
- CWS_HOSTS_PERCENTAGE
80828088
- CWS_HOSTS_USAGE
80838089
- DATA_JOBS_MONITORING_USAGE
@@ -8357,6 +8363,15 @@ components:
83578363
description: The Cloud Workload Security container usage by tag(s).
83588364
format: double
83598365
type: number
8366+
cws_fargate_task_percentage:
8367+
description: The percentage of Cloud Workload Security Fargate task usage
8368+
by tag(s).
8369+
format: double
8370+
type: number
8371+
cws_fargate_task_usage:
8372+
description: The Cloud Workload Security Fargate task usage by tag(s).
8373+
format: double
8374+
type: number
83608375
cws_hosts_percentage:
83618376
description: The percentage of Cloud Workload Security host usage by tag(s).
83628377
format: double
@@ -19909,6 +19924,11 @@ components:
1990919924
over all hours in the current date for all organizations.
1991019925
format: int64
1991119926
type: integer
19927+
cws_fargate_task_avg:
19928+
description: Shows the average of all distinct Cloud Workload Security Fargate
19929+
tasks over all hours in the current date for all organizations.
19930+
format: int64
19931+
type: integer
1991219932
cws_host_top99p:
1991319933
description: Shows the 99th percentile of all Cloud Workload Security hosts
1991419934
over all hours in the current date for all organizations.
@@ -20679,6 +20699,11 @@ components:
2067920699
over all hours in the current date for the given org.
2068020700
format: int64
2068120701
type: integer
20702+
cws_fargate_task_avg:
20703+
description: Shows the average of all distinct Cloud Workload Security Fargate
20704+
tasks over all hours in the current date for the given org.
20705+
format: int64
20706+
type: integer
2068220707
cws_host_top99p:
2068320708
description: Shows the 99th percentile of all Cloud Workload Security hosts
2068420709
over all hours in the current date for the given org.
@@ -21443,11 +21468,16 @@ components:
2144321468
hours in the current month for all organizations.
2144421469
format: int64
2144521470
type: integer
21446-
cws_containers_avg_sum:
21471+
cws_container_avg_sum:
2144721472
description: Shows the average of all distinct Cloud Workload Security containers
2144821473
over all hours in the current month for all organizations.
2144921474
format: int64
2145021475
type: integer
21476+
cws_fargate_task_avg_sum:
21477+
description: Shows the average of all distinct Cloud Workload Security Fargate
21478+
tasks over all hours in the current month for all organizations.
21479+
format: int64
21480+
type: integer
2145121481
cws_host_top99p_sum:
2145221482
description: Shows the 99th percentile of all Cloud Workload Security hosts
2145321483
over all hours in the current month for all organizations.

api/datadogV1/model_hourly_usage_attribution_usage_type.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const (
3636
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CUSTOM_INGESTED_TIMESERIES_USAGE HourlyUsageAttributionUsageType = "custom_ingested_timeseries_usage"
3737
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CUSTOM_TIMESERIES_USAGE HourlyUsageAttributionUsageType = "custom_timeseries_usage"
3838
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_CONTAINERS_USAGE HourlyUsageAttributionUsageType = "cws_containers_usage"
39+
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_FARGATE_TASK_USAGE HourlyUsageAttributionUsageType = "cws_fargate_task_usage"
3940
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_HOSTS_USAGE HourlyUsageAttributionUsageType = "cws_hosts_usage"
4041
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DATA_JOBS_MONITORING_USAGE HourlyUsageAttributionUsageType = "data_jobs_monitoring_usage"
4142
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DATA_STREAM_MONITORING_USAGE HourlyUsageAttributionUsageType = "data_stream_monitoring_usage"
@@ -109,6 +110,7 @@ var allowedHourlyUsageAttributionUsageTypeEnumValues = []HourlyUsageAttributionU
109110
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CUSTOM_INGESTED_TIMESERIES_USAGE,
110111
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CUSTOM_TIMESERIES_USAGE,
111112
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_CONTAINERS_USAGE,
113+
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_FARGATE_TASK_USAGE,
112114
HOURLYUSAGEATTRIBUTIONUSAGETYPE_CWS_HOSTS_USAGE,
113115
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DATA_JOBS_MONITORING_USAGE,
114116
HOURLYUSAGEATTRIBUTIONUSAGETYPE_DATA_STREAM_MONITORING_USAGE,

api/datadogV1/model_monthly_usage_attribution_supported_metrics.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ const (
4949
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_INGESTED_TIMESERIES_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "custom_ingested_timeseries_percentage"
5050
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_CONTAINERS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "cws_containers_percentage"
5151
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_CONTAINERS_USAGE MonthlyUsageAttributionSupportedMetrics = "cws_containers_usage"
52+
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_FARGATE_TASK_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "cws_fargate_task_percentage"
53+
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_FARGATE_TASK_USAGE MonthlyUsageAttributionSupportedMetrics = "cws_fargate_task_usage"
5254
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_PERCENTAGE MonthlyUsageAttributionSupportedMetrics = "cws_hosts_percentage"
5355
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_USAGE MonthlyUsageAttributionSupportedMetrics = "cws_hosts_usage"
5456
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_JOBS_MONITORING_USAGE MonthlyUsageAttributionSupportedMetrics = "data_jobs_monitoring_usage"
@@ -189,6 +191,8 @@ var allowedMonthlyUsageAttributionSupportedMetricsEnumValues = []MonthlyUsageAtt
189191
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CUSTOM_INGESTED_TIMESERIES_PERCENTAGE,
190192
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_CONTAINERS_PERCENTAGE,
191193
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_CONTAINERS_USAGE,
194+
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_FARGATE_TASK_PERCENTAGE,
195+
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_FARGATE_TASK_USAGE,
192196
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_PERCENTAGE,
193197
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_CWS_HOSTS_USAGE,
194198
MONTHLYUSAGEATTRIBUTIONSUPPORTEDMETRICS_DATA_JOBS_MONITORING_USAGE,

0 commit comments

Comments
 (0)