Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UT breakdown for fargate_container_profiler billing dimension #432

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-17 15:51:05.376779",
"spec_repo_commit": "b82d3677"
"regenerated": "2024-12-18 14:10:06.027964",
"spec_repo_commit": "d1f49008"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-17 15:51:05.390982",
"spec_repo_commit": "b82d3677"
"regenerated": "2024-12-18 14:10:06.043287",
"spec_repo_commit": "d1f49008"
}
}
}
40 changes: 36 additions & 4 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19697,7 +19697,8 @@ components:
format: int64
type: integer
avg_profiled_fargate_tasks:
description: The average profiled task count for Fargate Profiling.
description: The average total count for Fargate Container Profiler over
all hours in the current date for all organizations.
format: int64
type: integer
aws_host_top99p:
Expand Down Expand Up @@ -19971,6 +19972,16 @@ components:
hours in the current date for the given org.
format: int64
type: integer
fargate_container_profiler_profiling_fargate_avg:
description: The average number of Profiling Fargate tasks over all hours
in the current date for all organizations.
format: int64
type: integer
fargate_container_profiler_profiling_fargate_eks_avg:
description: The average number of Profiling Fargate Elastic Kubernetes
Service tasks over all hours in the current date for all organizations.
format: int64
type: integer
fargate_tasks_count_avg:
description: Shows the high-watermark of all Fargate tasks over all hours
in the current date for all organizations.
Expand Down Expand Up @@ -20468,7 +20479,8 @@ components:
format: int64
type: integer
avg_profiled_fargate_tasks:
description: The average profiled task count for Fargate Profiling.
description: The average total count for Fargate Container Profiler over
all hours in the current month for the given org.
format: int64
type: integer
aws_host_top99p:
Expand Down Expand Up @@ -20748,6 +20760,16 @@ components:
hours in the current date for the given org.
format: int64
type: integer
fargate_container_profiler_profiling_fargate_avg:
description: The average number of Profiling Fargate tasks over all hours
in the current month for the given org.
format: int64
type: integer
fargate_container_profiler_profiling_fargate_eks_avg:
description: The average number of Profiling Fargate Elastic Kubernetes
Service tasks over all hours in the current month for the given org.
format: int64
type: integer
fargate_tasks_count_avg:
description: The average task count for Fargate.
format: int64
Expand Down Expand Up @@ -21243,8 +21265,8 @@ components:
format: int64
type: integer
avg_profiled_fargate_tasks_sum:
description: Shows the average of all profiled Fargate tasks over all hours
in the current month for all organizations.
description: The average total count for Fargate Container Profiler over
all hours in the current month for all organizations.
format: int64
type: integer
aws_host_top99p_sum:
Expand Down Expand Up @@ -21532,6 +21554,16 @@ components:
hours in the current month for all organizations.
format: int64
type: integer
fargate_container_profiler_profiling_fargate_avg_sum:
description: The average number of Profiling Fargate tasks over all hours
in the current month for all organizations.
format: int64
type: integer
fargate_container_profiler_profiling_fargate_eks_avg_sum:
description: The average number of Profiling Fargate Elastic Kubernetes
Service tasks over all hours in the current month for all organizations.
format: int64
type: integer
fargate_tasks_count_avg_sum:
description: Shows the average of all Fargate tasks over all hours in the
current month for all organizations.
Expand Down
40 changes: 39 additions & 1 deletion src/datadogV1/model/model_usage_summary_date.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub struct UsageSummaryDate {
/// Shows the number of organizations that had Audit Trail enabled in the current date.
#[serde(rename = "audit_trail_enabled_hwm")]
pub audit_trail_enabled_hwm: Option<i64>,
/// The average profiled task count for Fargate Profiling.
/// The average total count for Fargate Container Profiler over all hours in the current date for all organizations.
#[serde(rename = "avg_profiled_fargate_tasks")]
pub avg_profiled_fargate_tasks: Option<i64>,
/// Shows the 99th percentile of all AWS hosts over all hours in the current date for all organizations.
Expand Down Expand Up @@ -200,6 +200,12 @@ pub struct UsageSummaryDate {
/// Shows the sum of all Error Tracking RUM error events over all hours in the current date for the given org.
#[serde(rename = "error_tracking_rum_error_events_sum")]
pub error_tracking_rum_error_events_sum: Option<i64>,
/// The average number of Profiling Fargate tasks over all hours in the current date for all organizations.
#[serde(rename = "fargate_container_profiler_profiling_fargate_avg")]
pub fargate_container_profiler_profiling_fargate_avg: Option<i64>,
/// The average number of Profiling Fargate Elastic Kubernetes Service tasks over all hours in the current date for all organizations.
#[serde(rename = "fargate_container_profiler_profiling_fargate_eks_avg")]
pub fargate_container_profiler_profiling_fargate_eks_avg: Option<i64>,
/// Shows the high-watermark of all Fargate tasks over all hours in the current date for all organizations.
#[serde(rename = "fargate_tasks_count_avg")]
pub fargate_tasks_count_avg: Option<i64>,
Expand Down Expand Up @@ -521,6 +527,8 @@ impl UsageSummaryDate {
error_tracking_error_events_sum: None,
error_tracking_events_sum: None,
error_tracking_rum_error_events_sum: None,
fargate_container_profiler_profiling_fargate_avg: None,
fargate_container_profiler_profiling_fargate_eks_avg: None,
fargate_tasks_count_avg: None,
fargate_tasks_count_hwm: None,
flex_logs_compute_large_avg: None,
Expand Down Expand Up @@ -977,6 +985,18 @@ impl UsageSummaryDate {
self
}

#[allow(deprecated)]
pub fn fargate_container_profiler_profiling_fargate_avg(mut self, value: i64) -> Self {
self.fargate_container_profiler_profiling_fargate_avg = Some(value);
self
}

#[allow(deprecated)]
pub fn fargate_container_profiler_profiling_fargate_eks_avg(mut self, value: i64) -> Self {
self.fargate_container_profiler_profiling_fargate_eks_avg = Some(value);
self
}

#[allow(deprecated)]
pub fn fargate_tasks_count_avg(mut self, value: i64) -> Self {
self.fargate_tasks_count_avg = Some(value);
Expand Down Expand Up @@ -1545,6 +1565,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
let mut error_tracking_error_events_sum: Option<i64> = None;
let mut error_tracking_events_sum: Option<i64> = None;
let mut error_tracking_rum_error_events_sum: Option<i64> = None;
let mut fargate_container_profiler_profiling_fargate_avg: Option<i64> = None;
let mut fargate_container_profiler_profiling_fargate_eks_avg: Option<i64> = None;
let mut fargate_tasks_count_avg: Option<i64> = None;
let mut fargate_tasks_count_hwm: Option<i64> = None;
let mut flex_logs_compute_large_avg: Option<i64> = None;
Expand Down Expand Up @@ -2065,6 +2087,20 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
error_tracking_rum_error_events_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_container_profiler_profiling_fargate_avg" => {
if v.is_null() {
continue;
}
fargate_container_profiler_profiling_fargate_avg =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_container_profiler_profiling_fargate_eks_avg" => {
if v.is_null() {
continue;
}
fargate_container_profiler_profiling_fargate_eks_avg =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_tasks_count_avg" => {
if v.is_null() {
continue;
Expand Down Expand Up @@ -2689,6 +2725,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
error_tracking_error_events_sum,
error_tracking_events_sum,
error_tracking_rum_error_events_sum,
fargate_container_profiler_profiling_fargate_avg,
fargate_container_profiler_profiling_fargate_eks_avg,
fargate_tasks_count_avg,
fargate_tasks_count_hwm,
flex_logs_compute_large_avg,
Expand Down
40 changes: 39 additions & 1 deletion src/datadogV1/model/model_usage_summary_date_org.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub struct UsageSummaryDateOrg {
/// Shows whether Audit Trail is enabled for the current date for the given org.
#[serde(rename = "audit_trail_enabled_hwm")]
pub audit_trail_enabled_hwm: Option<i64>,
/// The average profiled task count for Fargate Profiling.
/// The average total count for Fargate Container Profiler over all hours in the current month for the given org.
#[serde(rename = "avg_profiled_fargate_tasks")]
pub avg_profiled_fargate_tasks: Option<i64>,
/// Shows the 99th percentile of all AWS hosts over all hours in the current date for the given org.
Expand Down Expand Up @@ -209,6 +209,12 @@ pub struct UsageSummaryDateOrg {
/// Shows the sum of all Error Tracking RUM error events over all hours in the current date for the given org.
#[serde(rename = "error_tracking_rum_error_events_sum")]
pub error_tracking_rum_error_events_sum: Option<i64>,
/// The average number of Profiling Fargate tasks over all hours in the current month for the given org.
#[serde(rename = "fargate_container_profiler_profiling_fargate_avg")]
pub fargate_container_profiler_profiling_fargate_avg: Option<i64>,
/// The average number of Profiling Fargate Elastic Kubernetes Service tasks over all hours in the current month for the given org.
#[serde(rename = "fargate_container_profiler_profiling_fargate_eks_avg")]
pub fargate_container_profiler_profiling_fargate_eks_avg: Option<i64>,
/// The average task count for Fargate.
#[serde(rename = "fargate_tasks_count_avg")]
pub fargate_tasks_count_avg: Option<i64>,
Expand Down Expand Up @@ -543,6 +549,8 @@ impl UsageSummaryDateOrg {
error_tracking_error_events_sum: None,
error_tracking_events_sum: None,
error_tracking_rum_error_events_sum: None,
fargate_container_profiler_profiling_fargate_avg: None,
fargate_container_profiler_profiling_fargate_eks_avg: None,
fargate_tasks_count_avg: None,
fargate_tasks_count_hwm: None,
flex_logs_compute_large_avg: None,
Expand Down Expand Up @@ -1020,6 +1028,18 @@ impl UsageSummaryDateOrg {
self
}

#[allow(deprecated)]
pub fn fargate_container_profiler_profiling_fargate_avg(mut self, value: i64) -> Self {
self.fargate_container_profiler_profiling_fargate_avg = Some(value);
self
}

#[allow(deprecated)]
pub fn fargate_container_profiler_profiling_fargate_eks_avg(mut self, value: i64) -> Self {
self.fargate_container_profiler_profiling_fargate_eks_avg = Some(value);
self
}

#[allow(deprecated)]
pub fn fargate_tasks_count_avg(mut self, value: i64) -> Self {
self.fargate_tasks_count_avg = Some(value);
Expand Down Expand Up @@ -1609,6 +1629,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
let mut error_tracking_error_events_sum: Option<i64> = None;
let mut error_tracking_events_sum: Option<i64> = None;
let mut error_tracking_rum_error_events_sum: Option<i64> = None;
let mut fargate_container_profiler_profiling_fargate_avg: Option<i64> = None;
let mut fargate_container_profiler_profiling_fargate_eks_avg: Option<i64> = None;
let mut fargate_tasks_count_avg: Option<i64> = None;
let mut fargate_tasks_count_hwm: Option<i64> = None;
let mut flex_logs_compute_large_avg: Option<i64> = None;
Expand Down Expand Up @@ -2154,6 +2176,20 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
error_tracking_rum_error_events_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_container_profiler_profiling_fargate_avg" => {
if v.is_null() {
continue;
}
fargate_container_profiler_profiling_fargate_avg =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_container_profiler_profiling_fargate_eks_avg" => {
if v.is_null() {
continue;
}
fargate_container_profiler_profiling_fargate_eks_avg =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_tasks_count_avg" => {
if v.is_null() {
continue;
Expand Down Expand Up @@ -2799,6 +2835,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
error_tracking_error_events_sum,
error_tracking_events_sum,
error_tracking_rum_error_events_sum,
fargate_container_profiler_profiling_fargate_avg,
fargate_container_profiler_profiling_fargate_eks_avg,
fargate_tasks_count_avg,
fargate_tasks_count_hwm,
flex_logs_compute_large_avg,
Expand Down
Loading
Loading