Skip to content

Commit f7a2a08

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add UT breakdown for fargate_container_profiler billing dimension (#2622)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 1d5288a commit f7a2a08

File tree

5 files changed

+271
-12
lines changed

5 files changed

+271
-12
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-12-17 15:51:05.988918",
8-
"spec_repo_commit": "b82d3677"
7+
"regenerated": "2024-12-18 14:10:19.119214",
8+
"spec_repo_commit": "d1f49008"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-17 15:51:06.004049",
13-
"spec_repo_commit": "b82d3677"
12+
"regenerated": "2024-12-18 14:10:19.134937",
13+
"spec_repo_commit": "d1f49008"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19697,7 +19697,8 @@ components:
1969719697
format: int64
1969819698
type: integer
1969919699
avg_profiled_fargate_tasks:
19700-
description: The average profiled task count for Fargate Profiling.
19700+
description: The average total count for Fargate Container Profiler over
19701+
all hours in the current date for all organizations.
1970119702
format: int64
1970219703
type: integer
1970319704
aws_host_top99p:
@@ -19971,6 +19972,16 @@ components:
1997119972
hours in the current date for the given org.
1997219973
format: int64
1997319974
type: integer
19975+
fargate_container_profiler_profiling_fargate_avg:
19976+
description: The average number of Profiling Fargate tasks over all hours
19977+
in the current date for all organizations.
19978+
format: int64
19979+
type: integer
19980+
fargate_container_profiler_profiling_fargate_eks_avg:
19981+
description: The average number of Profiling Fargate Elastic Kubernetes
19982+
Service tasks over all hours in the current date for all organizations.
19983+
format: int64
19984+
type: integer
1997419985
fargate_tasks_count_avg:
1997519986
description: Shows the high-watermark of all Fargate tasks over all hours
1997619987
in the current date for all organizations.
@@ -20468,7 +20479,8 @@ components:
2046820479
format: int64
2046920480
type: integer
2047020481
avg_profiled_fargate_tasks:
20471-
description: The average profiled task count for Fargate Profiling.
20482+
description: The average total count for Fargate Container Profiler over
20483+
all hours in the current month for the given org.
2047220484
format: int64
2047320485
type: integer
2047420486
aws_host_top99p:
@@ -20748,6 +20760,16 @@ components:
2074820760
hours in the current date for the given org.
2074920761
format: int64
2075020762
type: integer
20763+
fargate_container_profiler_profiling_fargate_avg:
20764+
description: The average number of Profiling Fargate tasks over all hours
20765+
in the current month for the given org.
20766+
format: int64
20767+
type: integer
20768+
fargate_container_profiler_profiling_fargate_eks_avg:
20769+
description: The average number of Profiling Fargate Elastic Kubernetes
20770+
Service tasks over all hours in the current month for the given org.
20771+
format: int64
20772+
type: integer
2075120773
fargate_tasks_count_avg:
2075220774
description: The average task count for Fargate.
2075320775
format: int64
@@ -21243,8 +21265,8 @@ components:
2124321265
format: int64
2124421266
type: integer
2124521267
avg_profiled_fargate_tasks_sum:
21246-
description: Shows the average of all profiled Fargate tasks over all hours
21247-
in the current month for all organizations.
21268+
description: The average total count for Fargate Container Profiler over
21269+
all hours in the current month for all organizations.
2124821270
format: int64
2124921271
type: integer
2125021272
aws_host_top99p_sum:
@@ -21532,6 +21554,16 @@ components:
2153221554
hours in the current month for all organizations.
2153321555
format: int64
2153421556
type: integer
21557+
fargate_container_profiler_profiling_fargate_avg_sum:
21558+
description: The average number of Profiling Fargate tasks over all hours
21559+
in the current month for all organizations.
21560+
format: int64
21561+
type: integer
21562+
fargate_container_profiler_profiling_fargate_eks_avg_sum:
21563+
description: The average number of Profiling Fargate Elastic Kubernetes
21564+
Service tasks over all hours in the current month for all organizations.
21565+
format: int64
21566+
type: integer
2153521567
fargate_tasks_count_avg_sum:
2153621568
description: Shows the average of all Fargate tasks over all hours in the
2153721569
current month for all organizations.

src/main/java/com/datadog/api/client/v1/model/UsageSummaryDate.java

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@
8383
UsageSummaryDate.JSON_PROPERTY_ERROR_TRACKING_ERROR_EVENTS_SUM,
8484
UsageSummaryDate.JSON_PROPERTY_ERROR_TRACKING_EVENTS_SUM,
8585
UsageSummaryDate.JSON_PROPERTY_ERROR_TRACKING_RUM_ERROR_EVENTS_SUM,
86+
UsageSummaryDate.JSON_PROPERTY_FARGATE_CONTAINER_PROFILER_PROFILING_FARGATE_AVG,
87+
UsageSummaryDate.JSON_PROPERTY_FARGATE_CONTAINER_PROFILER_PROFILING_FARGATE_EKS_AVG,
8688
UsageSummaryDate.JSON_PROPERTY_FARGATE_TASKS_COUNT_AVG,
8789
UsageSummaryDate.JSON_PROPERTY_FARGATE_TASKS_COUNT_HWM,
8890
UsageSummaryDate.JSON_PROPERTY_FLEX_LOGS_COMPUTE_LARGE_AVG,
@@ -383,6 +385,14 @@ public class UsageSummaryDate {
383385
"error_tracking_rum_error_events_sum";
384386
private Long errorTrackingRumErrorEventsSum;
385387

388+
public static final String JSON_PROPERTY_FARGATE_CONTAINER_PROFILER_PROFILING_FARGATE_AVG =
389+
"fargate_container_profiler_profiling_fargate_avg";
390+
private Long fargateContainerProfilerProfilingFargateAvg;
391+
392+
public static final String JSON_PROPERTY_FARGATE_CONTAINER_PROFILER_PROFILING_FARGATE_EKS_AVG =
393+
"fargate_container_profiler_profiling_fargate_eks_avg";
394+
private Long fargateContainerProfilerProfilingFargateEksAvg;
395+
386396
public static final String JSON_PROPERTY_FARGATE_TASKS_COUNT_AVG = "fargate_tasks_count_avg";
387397
private Long fargateTasksCountAvg;
388398

@@ -879,7 +889,8 @@ public UsageSummaryDate avgProfiledFargateTasks(Long avgProfiledFargateTasks) {
879889
}
880890

881891
/**
882-
* The average profiled task count for Fargate Profiling.
892+
* The average total count for Fargate Container Profiler over all hours in the current date for
893+
* all organizations.
883894
*
884895
* @return avgProfiledFargateTasks
885896
*/
@@ -2057,6 +2068,56 @@ public void setErrorTrackingRumErrorEventsSum(Long errorTrackingRumErrorEventsSu
20572068
this.errorTrackingRumErrorEventsSum = errorTrackingRumErrorEventsSum;
20582069
}
20592070

2071+
public UsageSummaryDate fargateContainerProfilerProfilingFargateAvg(
2072+
Long fargateContainerProfilerProfilingFargateAvg) {
2073+
this.fargateContainerProfilerProfilingFargateAvg = fargateContainerProfilerProfilingFargateAvg;
2074+
return this;
2075+
}
2076+
2077+
/**
2078+
* The average number of Profiling Fargate tasks over all hours in the current date for all
2079+
* organizations.
2080+
*
2081+
* @return fargateContainerProfilerProfilingFargateAvg
2082+
*/
2083+
@jakarta.annotation.Nullable
2084+
@JsonProperty(JSON_PROPERTY_FARGATE_CONTAINER_PROFILER_PROFILING_FARGATE_AVG)
2085+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
2086+
public Long getFargateContainerProfilerProfilingFargateAvg() {
2087+
return fargateContainerProfilerProfilingFargateAvg;
2088+
}
2089+
2090+
public void setFargateContainerProfilerProfilingFargateAvg(
2091+
Long fargateContainerProfilerProfilingFargateAvg) {
2092+
this.fargateContainerProfilerProfilingFargateAvg = fargateContainerProfilerProfilingFargateAvg;
2093+
}
2094+
2095+
public UsageSummaryDate fargateContainerProfilerProfilingFargateEksAvg(
2096+
Long fargateContainerProfilerProfilingFargateEksAvg) {
2097+
this.fargateContainerProfilerProfilingFargateEksAvg =
2098+
fargateContainerProfilerProfilingFargateEksAvg;
2099+
return this;
2100+
}
2101+
2102+
/**
2103+
* The average number of Profiling Fargate Elastic Kubernetes Service tasks over all hours in the
2104+
* current date for all organizations.
2105+
*
2106+
* @return fargateContainerProfilerProfilingFargateEksAvg
2107+
*/
2108+
@jakarta.annotation.Nullable
2109+
@JsonProperty(JSON_PROPERTY_FARGATE_CONTAINER_PROFILER_PROFILING_FARGATE_EKS_AVG)
2110+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
2111+
public Long getFargateContainerProfilerProfilingFargateEksAvg() {
2112+
return fargateContainerProfilerProfilingFargateEksAvg;
2113+
}
2114+
2115+
public void setFargateContainerProfilerProfilingFargateEksAvg(
2116+
Long fargateContainerProfilerProfilingFargateEksAvg) {
2117+
this.fargateContainerProfilerProfilingFargateEksAvg =
2118+
fargateContainerProfilerProfilingFargateEksAvg;
2119+
}
2120+
20602121
public UsageSummaryDate fargateTasksCountAvg(Long fargateTasksCountAvg) {
20612122
this.fargateTasksCountAvg = fargateTasksCountAvg;
20622123
return this;
@@ -4014,6 +4075,12 @@ public boolean equals(Object o) {
40144075
&& Objects.equals(this.errorTrackingEventsSum, usageSummaryDate.errorTrackingEventsSum)
40154076
&& Objects.equals(
40164077
this.errorTrackingRumErrorEventsSum, usageSummaryDate.errorTrackingRumErrorEventsSum)
4078+
&& Objects.equals(
4079+
this.fargateContainerProfilerProfilingFargateAvg,
4080+
usageSummaryDate.fargateContainerProfilerProfilingFargateAvg)
4081+
&& Objects.equals(
4082+
this.fargateContainerProfilerProfilingFargateEksAvg,
4083+
usageSummaryDate.fargateContainerProfilerProfilingFargateEksAvg)
40174084
&& Objects.equals(this.fargateTasksCountAvg, usageSummaryDate.fargateTasksCountAvg)
40184085
&& Objects.equals(this.fargateTasksCountHwm, usageSummaryDate.fargateTasksCountHwm)
40194086
&& Objects.equals(this.flexLogsComputeLargeAvg, usageSummaryDate.flexLogsComputeLargeAvg)
@@ -4218,6 +4285,8 @@ public int hashCode() {
42184285
errorTrackingErrorEventsSum,
42194286
errorTrackingEventsSum,
42204287
errorTrackingRumErrorEventsSum,
4288+
fargateContainerProfilerProfilingFargateAvg,
4289+
fargateContainerProfilerProfilingFargateEksAvg,
42214290
fargateTasksCountAvg,
42224291
fargateTasksCountHwm,
42234292
flexLogsComputeLargeAvg,
@@ -4446,6 +4515,12 @@ public String toString() {
44464515
sb.append(" errorTrackingRumErrorEventsSum: ")
44474516
.append(toIndentedString(errorTrackingRumErrorEventsSum))
44484517
.append("\n");
4518+
sb.append(" fargateContainerProfilerProfilingFargateAvg: ")
4519+
.append(toIndentedString(fargateContainerProfilerProfilingFargateAvg))
4520+
.append("\n");
4521+
sb.append(" fargateContainerProfilerProfilingFargateEksAvg: ")
4522+
.append(toIndentedString(fargateContainerProfilerProfilingFargateEksAvg))
4523+
.append("\n");
44494524
sb.append(" fargateTasksCountAvg: ")
44504525
.append(toIndentedString(fargateTasksCountAvg))
44514526
.append("\n");

src/main/java/com/datadog/api/client/v1/model/UsageSummaryDateOrg.java

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@
8383
UsageSummaryDateOrg.JSON_PROPERTY_ERROR_TRACKING_ERROR_EVENTS_SUM,
8484
UsageSummaryDateOrg.JSON_PROPERTY_ERROR_TRACKING_EVENTS_SUM,
8585
UsageSummaryDateOrg.JSON_PROPERTY_ERROR_TRACKING_RUM_ERROR_EVENTS_SUM,
86+
UsageSummaryDateOrg.JSON_PROPERTY_FARGATE_CONTAINER_PROFILER_PROFILING_FARGATE_AVG,
87+
UsageSummaryDateOrg.JSON_PROPERTY_FARGATE_CONTAINER_PROFILER_PROFILING_FARGATE_EKS_AVG,
8688
UsageSummaryDateOrg.JSON_PROPERTY_FARGATE_TASKS_COUNT_AVG,
8789
UsageSummaryDateOrg.JSON_PROPERTY_FARGATE_TASKS_COUNT_HWM,
8890
UsageSummaryDateOrg.JSON_PROPERTY_FLEX_LOGS_COMPUTE_LARGE_AVG,
@@ -395,6 +397,14 @@ public class UsageSummaryDateOrg {
395397
"error_tracking_rum_error_events_sum";
396398
private Long errorTrackingRumErrorEventsSum;
397399

400+
public static final String JSON_PROPERTY_FARGATE_CONTAINER_PROFILER_PROFILING_FARGATE_AVG =
401+
"fargate_container_profiler_profiling_fargate_avg";
402+
private Long fargateContainerProfilerProfilingFargateAvg;
403+
404+
public static final String JSON_PROPERTY_FARGATE_CONTAINER_PROFILER_PROFILING_FARGATE_EKS_AVG =
405+
"fargate_container_profiler_profiling_fargate_eks_avg";
406+
private Long fargateContainerProfilerProfilingFargateEksAvg;
407+
398408
public static final String JSON_PROPERTY_FARGATE_TASKS_COUNT_AVG = "fargate_tasks_count_avg";
399409
private Long fargateTasksCountAvg;
400410

@@ -942,7 +952,8 @@ public UsageSummaryDateOrg avgProfiledFargateTasks(Long avgProfiledFargateTasks)
942952
}
943953

944954
/**
945-
* The average profiled task count for Fargate Profiling.
955+
* The average total count for Fargate Container Profiler over all hours in the current month for
956+
* the given org.
946957
*
947958
* @return avgProfiledFargateTasks
948959
*/
@@ -2141,6 +2152,56 @@ public void setErrorTrackingRumErrorEventsSum(Long errorTrackingRumErrorEventsSu
21412152
this.errorTrackingRumErrorEventsSum = errorTrackingRumErrorEventsSum;
21422153
}
21432154

2155+
public UsageSummaryDateOrg fargateContainerProfilerProfilingFargateAvg(
2156+
Long fargateContainerProfilerProfilingFargateAvg) {
2157+
this.fargateContainerProfilerProfilingFargateAvg = fargateContainerProfilerProfilingFargateAvg;
2158+
return this;
2159+
}
2160+
2161+
/**
2162+
* The average number of Profiling Fargate tasks over all hours in the current month for the given
2163+
* org.
2164+
*
2165+
* @return fargateContainerProfilerProfilingFargateAvg
2166+
*/
2167+
@jakarta.annotation.Nullable
2168+
@JsonProperty(JSON_PROPERTY_FARGATE_CONTAINER_PROFILER_PROFILING_FARGATE_AVG)
2169+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
2170+
public Long getFargateContainerProfilerProfilingFargateAvg() {
2171+
return fargateContainerProfilerProfilingFargateAvg;
2172+
}
2173+
2174+
public void setFargateContainerProfilerProfilingFargateAvg(
2175+
Long fargateContainerProfilerProfilingFargateAvg) {
2176+
this.fargateContainerProfilerProfilingFargateAvg = fargateContainerProfilerProfilingFargateAvg;
2177+
}
2178+
2179+
public UsageSummaryDateOrg fargateContainerProfilerProfilingFargateEksAvg(
2180+
Long fargateContainerProfilerProfilingFargateEksAvg) {
2181+
this.fargateContainerProfilerProfilingFargateEksAvg =
2182+
fargateContainerProfilerProfilingFargateEksAvg;
2183+
return this;
2184+
}
2185+
2186+
/**
2187+
* The average number of Profiling Fargate Elastic Kubernetes Service tasks over all hours in the
2188+
* current month for the given org.
2189+
*
2190+
* @return fargateContainerProfilerProfilingFargateEksAvg
2191+
*/
2192+
@jakarta.annotation.Nullable
2193+
@JsonProperty(JSON_PROPERTY_FARGATE_CONTAINER_PROFILER_PROFILING_FARGATE_EKS_AVG)
2194+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
2195+
public Long getFargateContainerProfilerProfilingFargateEksAvg() {
2196+
return fargateContainerProfilerProfilingFargateEksAvg;
2197+
}
2198+
2199+
public void setFargateContainerProfilerProfilingFargateEksAvg(
2200+
Long fargateContainerProfilerProfilingFargateEksAvg) {
2201+
this.fargateContainerProfilerProfilingFargateEksAvg =
2202+
fargateContainerProfilerProfilingFargateEksAvg;
2203+
}
2204+
21442205
public UsageSummaryDateOrg fargateTasksCountAvg(Long fargateTasksCountAvg) {
21452206
this.fargateTasksCountAvg = fargateTasksCountAvg;
21462207
return this;
@@ -4157,6 +4218,12 @@ public boolean equals(Object o) {
41574218
&& Objects.equals(this.errorTrackingEventsSum, usageSummaryDateOrg.errorTrackingEventsSum)
41584219
&& Objects.equals(
41594220
this.errorTrackingRumErrorEventsSum, usageSummaryDateOrg.errorTrackingRumErrorEventsSum)
4221+
&& Objects.equals(
4222+
this.fargateContainerProfilerProfilingFargateAvg,
4223+
usageSummaryDateOrg.fargateContainerProfilerProfilingFargateAvg)
4224+
&& Objects.equals(
4225+
this.fargateContainerProfilerProfilingFargateEksAvg,
4226+
usageSummaryDateOrg.fargateContainerProfilerProfilingFargateEksAvg)
41604227
&& Objects.equals(this.fargateTasksCountAvg, usageSummaryDateOrg.fargateTasksCountAvg)
41614228
&& Objects.equals(this.fargateTasksCountHwm, usageSummaryDateOrg.fargateTasksCountHwm)
41624229
&& Objects.equals(this.flexLogsComputeLargeAvg, usageSummaryDateOrg.flexLogsComputeLargeAvg)
@@ -4379,6 +4446,8 @@ public int hashCode() {
43794446
errorTrackingErrorEventsSum,
43804447
errorTrackingEventsSum,
43814448
errorTrackingRumErrorEventsSum,
4449+
fargateContainerProfilerProfilingFargateAvg,
4450+
fargateContainerProfilerProfilingFargateEksAvg,
43824451
fargateTasksCountAvg,
43834452
fargateTasksCountHwm,
43844453
flexLogsComputeLargeAvg,
@@ -4615,6 +4684,12 @@ public String toString() {
46154684
sb.append(" errorTrackingRumErrorEventsSum: ")
46164685
.append(toIndentedString(errorTrackingRumErrorEventsSum))
46174686
.append("\n");
4687+
sb.append(" fargateContainerProfilerProfilingFargateAvg: ")
4688+
.append(toIndentedString(fargateContainerProfilerProfilingFargateAvg))
4689+
.append("\n");
4690+
sb.append(" fargateContainerProfilerProfilingFargateEksAvg: ")
4691+
.append(toIndentedString(fargateContainerProfilerProfilingFargateEksAvg))
4692+
.append("\n");
46184693
sb.append(" fargateTasksCountAvg: ")
46194694
.append(toIndentedString(fargateTasksCountAvg))
46204695
.append("\n");

0 commit comments

Comments
 (0)