Skip to content

Commit 17a90b5

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add feature_flags_config_requests to usage summary API (#1486)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 6c7b549 commit 17a90b5

4 files changed

Lines changed: 66 additions & 0 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22344,6 +22344,10 @@ components:
2234422344
description: Shows the average of all Fargate tasks over all hours in the current date for all organizations.
2234522345
format: int64
2234622346
type: integer
22347+
feature_flags_config_requests_sum:
22348+
description: Shows the sum of all Feature Flags Client-Side SDK config requests over all hours in the current date for all organizations.
22349+
format: int64
22350+
type: integer
2234722351
flex_logs_compute_large_avg:
2234822352
description: Shows the average number of Flex Logs Compute Large Instances over all hours in the current date for the given org.
2234922353
format: int64
@@ -23317,6 +23321,10 @@ components:
2331723321
description: Shows the high-water mark of all Fargate tasks over all hours in the current date for the given org.
2331823322
format: int64
2331923323
type: integer
23324+
feature_flags_config_requests_sum:
23325+
description: Shows the sum of all Feature Flags Client-Side SDK config requests over all hours in the current date for the given org.
23326+
format: int64
23327+
type: integer
2332023328
flex_logs_compute_large_avg:
2332123329
description: Shows the average number of Flex Logs Compute Large Instances over all hours in the current date for the given org.
2332223330
format: int64
@@ -24300,6 +24308,10 @@ components:
2430024308
description: Shows the sum of the high-water marks of all Fargate tasks over all hours in the current month for all organizations.
2430124309
format: int64
2430224310
type: integer
24311+
feature_flags_config_requests_agg_sum:
24312+
description: Shows the sum of all Feature Flags Client-Side SDK config requests over all hours in the current month for all organizations.
24313+
format: int64
24314+
type: integer
2430324315
flex_logs_compute_large_avg_sum:
2430424316
description: Shows the average number of Flex Logs Compute Large Instances over all hours in the current months for all organizations.
2430524317
format: int64

src/datadogV1/model/model_usage_summary_date.rs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,9 @@ pub struct UsageSummaryDate {
341341
/// Shows the average of all Fargate tasks over all hours in the current date for all organizations.
342342
#[serde(rename = "fargate_tasks_count_hwm")]
343343
pub fargate_tasks_count_hwm: Option<i64>,
344+
/// Shows the sum of all Feature Flags Client-Side SDK config requests over all hours in the current date for all organizations.
345+
#[serde(rename = "feature_flags_config_requests_sum")]
346+
pub feature_flags_config_requests_sum: Option<i64>,
344347
/// Shows the average number of Flex Logs Compute Large Instances over all hours in the current date for the given org.
345348
#[serde(rename = "flex_logs_compute_large_avg")]
346349
pub flex_logs_compute_large_avg: Option<i64>,
@@ -853,6 +856,7 @@ impl UsageSummaryDate {
853856
fargate_container_profiler_profiling_fargate_eks_avg: None,
854857
fargate_tasks_count_avg: None,
855858
fargate_tasks_count_hwm: None,
859+
feature_flags_config_requests_sum: None,
856860
flex_logs_compute_large_avg: None,
857861
flex_logs_compute_medium_avg: None,
858862
flex_logs_compute_small_avg: None,
@@ -1642,6 +1646,12 @@ impl UsageSummaryDate {
16421646
self
16431647
}
16441648

1649+
#[allow(deprecated)]
1650+
pub fn feature_flags_config_requests_sum(mut self, value: i64) -> Self {
1651+
self.feature_flags_config_requests_sum = Some(value);
1652+
self
1653+
}
1654+
16451655
#[allow(deprecated)]
16461656
pub fn flex_logs_compute_large_avg(mut self, value: i64) -> Self {
16471657
self.flex_logs_compute_large_avg = Some(value);
@@ -2573,6 +2583,7 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
25732583
let mut fargate_container_profiler_profiling_fargate_eks_avg: Option<i64> = None;
25742584
let mut fargate_tasks_count_avg: Option<i64> = None;
25752585
let mut fargate_tasks_count_hwm: Option<i64> = None;
2586+
let mut feature_flags_config_requests_sum: Option<i64> = None;
25762587
let mut flex_logs_compute_large_avg: Option<i64> = None;
25772588
let mut flex_logs_compute_medium_avg: Option<i64> = None;
25782589
let mut flex_logs_compute_small_avg: Option<i64> = None;
@@ -3373,6 +3384,12 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
33733384
}
33743385
fargate_tasks_count_hwm = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
33753386
},
3387+
"feature_flags_config_requests_sum" => {
3388+
if v.is_null() {
3389+
continue;
3390+
}
3391+
feature_flags_config_requests_sum = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
3392+
},
33763393
"flex_logs_compute_large_avg" => {
33773394
if v.is_null() {
33783395
continue;
@@ -4254,6 +4271,7 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
42544271
fargate_container_profiler_profiling_fargate_eks_avg,
42554272
fargate_tasks_count_avg,
42564273
fargate_tasks_count_hwm,
4274+
feature_flags_config_requests_sum,
42574275
flex_logs_compute_large_avg,
42584276
flex_logs_compute_medium_avg,
42594277
flex_logs_compute_small_avg,

src/datadogV1/model/model_usage_summary_date_org.rs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,9 @@ pub struct UsageSummaryDateOrg {
350350
/// Shows the high-water mark of all Fargate tasks over all hours in the current date for the given org.
351351
#[serde(rename = "fargate_tasks_count_hwm")]
352352
pub fargate_tasks_count_hwm: Option<i64>,
353+
/// Shows the sum of all Feature Flags Client-Side SDK config requests over all hours in the current date for the given org.
354+
#[serde(rename = "feature_flags_config_requests_sum")]
355+
pub feature_flags_config_requests_sum: Option<i64>,
353356
/// Shows the average number of Flex Logs Compute Large Instances over all hours in the current date for the given org.
354357
#[serde(rename = "flex_logs_compute_large_avg")]
355358
pub flex_logs_compute_large_avg: Option<i64>,
@@ -875,6 +878,7 @@ impl UsageSummaryDateOrg {
875878
fargate_container_profiler_profiling_fargate_eks_avg: None,
876879
fargate_tasks_count_avg: None,
877880
fargate_tasks_count_hwm: None,
881+
feature_flags_config_requests_sum: None,
878882
flex_logs_compute_large_avg: None,
879883
flex_logs_compute_medium_avg: None,
880884
flex_logs_compute_small_avg: None,
@@ -1685,6 +1689,12 @@ impl UsageSummaryDateOrg {
16851689
self
16861690
}
16871691

1692+
#[allow(deprecated)]
1693+
pub fn feature_flags_config_requests_sum(mut self, value: i64) -> Self {
1694+
self.feature_flags_config_requests_sum = Some(value);
1695+
self
1696+
}
1697+
16881698
#[allow(deprecated)]
16891699
pub fn flex_logs_compute_large_avg(mut self, value: i64) -> Self {
16901700
self.flex_logs_compute_large_avg = Some(value);
@@ -2637,6 +2647,7 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
26372647
let mut fargate_container_profiler_profiling_fargate_eks_avg: Option<i64> = None;
26382648
let mut fargate_tasks_count_avg: Option<i64> = None;
26392649
let mut fargate_tasks_count_hwm: Option<i64> = None;
2650+
let mut feature_flags_config_requests_sum: Option<i64> = None;
26402651
let mut flex_logs_compute_large_avg: Option<i64> = None;
26412652
let mut flex_logs_compute_medium_avg: Option<i64> = None;
26422653
let mut flex_logs_compute_small_avg: Option<i64> = None;
@@ -3458,6 +3469,12 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
34583469
}
34593470
fargate_tasks_count_hwm = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
34603471
},
3472+
"feature_flags_config_requests_sum" => {
3473+
if v.is_null() {
3474+
continue;
3475+
}
3476+
feature_flags_config_requests_sum = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
3477+
},
34613478
"flex_logs_compute_large_avg" => {
34623479
if v.is_null() {
34633480
continue;
@@ -4360,6 +4377,7 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
43604377
fargate_container_profiler_profiling_fargate_eks_avg,
43614378
fargate_tasks_count_avg,
43624379
fargate_tasks_count_hwm,
4380+
feature_flags_config_requests_sum,
43634381
flex_logs_compute_large_avg,
43644382
flex_logs_compute_medium_avg,
43654383
flex_logs_compute_small_avg,

src/datadogV1/model/model_usage_summary_response.rs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,9 @@ pub struct UsageSummaryResponse {
350350
/// Shows the sum of the high-water marks of all Fargate tasks over all hours in the current month for all organizations.
351351
#[serde(rename = "fargate_tasks_count_hwm_sum")]
352352
pub fargate_tasks_count_hwm_sum: Option<i64>,
353+
/// Shows the sum of all Feature Flags Client-Side SDK config requests over all hours in the current month for all organizations.
354+
#[serde(rename = "feature_flags_config_requests_agg_sum")]
355+
pub feature_flags_config_requests_agg_sum: Option<i64>,
353356
/// Shows the average number of Flex Logs Compute Large Instances over all hours in the current months for all organizations.
354357
#[serde(rename = "flex_logs_compute_large_avg_sum")]
355358
pub flex_logs_compute_large_avg_sum: Option<i64>,
@@ -892,6 +895,7 @@ impl UsageSummaryResponse {
892895
fargate_container_profiler_profiling_fargate_eks_avg_sum: None,
893896
fargate_tasks_count_avg_sum: None,
894897
fargate_tasks_count_hwm_sum: None,
898+
feature_flags_config_requests_agg_sum: None,
895899
flex_logs_compute_large_avg_sum: None,
896900
flex_logs_compute_medium_avg_sum: None,
897901
flex_logs_compute_small_avg_sum: None,
@@ -1707,6 +1711,12 @@ impl UsageSummaryResponse {
17071711
self
17081712
}
17091713

1714+
#[allow(deprecated)]
1715+
pub fn feature_flags_config_requests_agg_sum(mut self, value: i64) -> Self {
1716+
self.feature_flags_config_requests_agg_sum = Some(value);
1717+
self
1718+
}
1719+
17101720
#[allow(deprecated)]
17111721
pub fn flex_logs_compute_large_avg_sum(mut self, value: i64) -> Self {
17121722
self.flex_logs_compute_large_avg_sum = Some(value);
@@ -2711,6 +2721,7 @@ impl<'de> Deserialize<'de> for UsageSummaryResponse {
27112721
None;
27122722
let mut fargate_tasks_count_avg_sum: Option<i64> = None;
27132723
let mut fargate_tasks_count_hwm_sum: Option<i64> = None;
2724+
let mut feature_flags_config_requests_agg_sum: Option<i64> = None;
27142725
let mut flex_logs_compute_large_avg_sum: Option<i64> = None;
27152726
let mut flex_logs_compute_medium_avg_sum: Option<i64> = None;
27162727
let mut flex_logs_compute_small_avg_sum: Option<i64> = None;
@@ -3540,6 +3551,12 @@ impl<'de> Deserialize<'de> for UsageSummaryResponse {
35403551
}
35413552
fargate_tasks_count_hwm_sum = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
35423553
},
3554+
"feature_flags_config_requests_agg_sum" => {
3555+
if v.is_null() {
3556+
continue;
3557+
}
3558+
feature_flags_config_requests_agg_sum = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
3559+
},
35433560
"flex_logs_compute_large_avg_sum" => {
35443561
if v.is_null() {
35453562
continue;
@@ -4472,6 +4489,7 @@ impl<'de> Deserialize<'de> for UsageSummaryResponse {
44724489
fargate_container_profiler_profiling_fargate_eks_avg_sum,
44734490
fargate_tasks_count_avg_sum,
44744491
fargate_tasks_count_hwm_sum,
4492+
feature_flags_config_requests_agg_sum,
44754493
flex_logs_compute_large_avg_sum,
44764494
flex_logs_compute_medium_avg_sum,
44774495
flex_logs_compute_small_avg_sum,

0 commit comments

Comments
 (0)