Skip to content

Commit 037f3f8

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 66d9d069 of spec repo
1 parent 1c28bf6 commit 037f3f8

File tree

5 files changed

+148
-4
lines changed

5 files changed

+148
-4
lines changed

.apigentools-info

+4-4
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-07 20:43:55.394276",
8-
"spec_repo_commit": "efa118f1"
7+
"regenerated": "2024-11-07 21:30:03.834993",
8+
"spec_repo_commit": "66d9d069"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-11-07 20:43:55.413281",
13-
"spec_repo_commit": "efa118f1"
12+
"regenerated": "2024-11-07 21:30:03.853594",
13+
"spec_repo_commit": "66d9d069"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -19932,11 +19932,21 @@ components:
1993219932
over all hours in the current date for all organizations.
1993319933
format: int64
1993419934
type: integer
19935+
error_tracking_error_events_sum:
19936+
description: Shows the sum of all Error Tracking error events over all hours
19937+
in the current date for the given org.
19938+
format: int64
19939+
type: integer
1993519940
error_tracking_events_sum:
1993619941
description: Shows the sum of all Error Tracking events over all hours in
1993719942
the current date for the given org.
1993819943
format: int64
1993919944
type: integer
19945+
error_tracking_rum_error_events_sum:
19946+
description: Shows the sum of all Error Tracking RUM error events over all
19947+
hours in the current date for the given org.
19948+
format: int64
19949+
type: integer
1994019950
fargate_tasks_count_avg:
1994119951
description: Shows the high-watermark of all Fargate tasks over all hours
1994219952
in the current date for all organizations.
@@ -20688,11 +20698,21 @@ components:
2068820698
queries over all hours in the current month for the given org.
2068920699
format: int64
2069020700
type: integer
20701+
error_tracking_error_events_sum:
20702+
description: Shows the sum of all Error Tracking error events over all hours
20703+
in the current date for the given org.
20704+
format: int64
20705+
type: integer
2069120706
error_tracking_events_sum:
2069220707
description: Shows the sum of all Error Tracking events over all hours in
2069320708
the current date for the given org.
2069420709
format: int64
2069520710
type: integer
20711+
error_tracking_rum_error_events_sum:
20712+
description: Shows the sum of all Error Tracking RUM error events over all
20713+
hours in the current date for the given org.
20714+
format: int64
20715+
type: integer
2069620716
fargate_tasks_count_avg:
2069720717
description: The average task count for Fargate.
2069820718
format: int64
@@ -21451,11 +21471,21 @@ components:
2145121471
description: Shows the last date of usage in the current month for all organizations.
2145221472
format: date-time
2145321473
type: string
21474+
error_tracking_error_events_agg_sum:
21475+
description: Shows the sum of all Error Tracking error events over all hours
21476+
in the current month for all organizations.
21477+
format: int64
21478+
type: integer
2145421479
error_tracking_events_agg_sum:
2145521480
description: Shows the sum of all Error Tracking events over all hours in
2145621481
the current months for all organizations.
2145721482
format: int64
2145821483
type: integer
21484+
error_tracking_rum_error_events_agg_sum:
21485+
description: Shows the sum of all Error Tracking RUM error events over all
21486+
hours in the current month for all organizations.
21487+
format: int64
21488+
type: integer
2145921489
fargate_tasks_count_avg_sum:
2146021490
description: Shows the average of all Fargate tasks over all hours in the
2146121491
current month for all organizations.

src/datadogV1/model/model_usage_summary_date.rs

+38
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,15 @@ pub struct UsageSummaryDate {
185185
/// Shows the average of all normalized Database Monitoring queries over all hours in the current date for all organizations.
186186
#[serde(rename = "dbm_queries_count_avg")]
187187
pub dbm_queries_count_avg: Option<i64>,
188+
/// Shows the sum of all Error Tracking error events over all hours in the current date for the given org.
189+
#[serde(rename = "error_tracking_error_events_sum")]
190+
pub error_tracking_error_events_sum: Option<i64>,
188191
/// Shows the sum of all Error Tracking events over all hours in the current date for the given org.
189192
#[serde(rename = "error_tracking_events_sum")]
190193
pub error_tracking_events_sum: Option<i64>,
194+
/// Shows the sum of all Error Tracking RUM error events over all hours in the current date for the given org.
195+
#[serde(rename = "error_tracking_rum_error_events_sum")]
196+
pub error_tracking_rum_error_events_sum: Option<i64>,
191197
/// Shows the high-watermark of all Fargate tasks over all hours in the current date for all organizations.
192198
#[serde(rename = "fargate_tasks_count_avg")]
193199
pub fargate_tasks_count_avg: Option<i64>,
@@ -504,7 +510,9 @@ impl UsageSummaryDate {
504510
date: None,
505511
dbm_host_top99p: None,
506512
dbm_queries_count_avg: None,
513+
error_tracking_error_events_sum: None,
507514
error_tracking_events_sum: None,
515+
error_tracking_rum_error_events_sum: None,
508516
fargate_tasks_count_avg: None,
509517
fargate_tasks_count_hwm: None,
510518
flex_logs_compute_large_avg: None,
@@ -931,12 +939,24 @@ impl UsageSummaryDate {
931939
self
932940
}
933941

942+
#[allow(deprecated)]
943+
pub fn error_tracking_error_events_sum(mut self, value: i64) -> Self {
944+
self.error_tracking_error_events_sum = Some(value);
945+
self
946+
}
947+
934948
#[allow(deprecated)]
935949
pub fn error_tracking_events_sum(mut self, value: i64) -> Self {
936950
self.error_tracking_events_sum = Some(value);
937951
self
938952
}
939953

954+
#[allow(deprecated)]
955+
pub fn error_tracking_rum_error_events_sum(mut self, value: i64) -> Self {
956+
self.error_tracking_rum_error_events_sum = Some(value);
957+
self
958+
}
959+
940960
#[allow(deprecated)]
941961
pub fn fargate_tasks_count_avg(mut self, value: i64) -> Self {
942962
self.fargate_tasks_count_avg = Some(value);
@@ -1500,7 +1520,9 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
15001520
let mut date: Option<chrono::DateTime<chrono::Utc>> = None;
15011521
let mut dbm_host_top99p: Option<i64> = None;
15021522
let mut dbm_queries_count_avg: Option<i64> = None;
1523+
let mut error_tracking_error_events_sum: Option<i64> = None;
15031524
let mut error_tracking_events_sum: Option<i64> = None;
1525+
let mut error_tracking_rum_error_events_sum: Option<i64> = None;
15041526
let mut fargate_tasks_count_avg: Option<i64> = None;
15051527
let mut fargate_tasks_count_hwm: Option<i64> = None;
15061528
let mut flex_logs_compute_large_avg: Option<i64> = None;
@@ -1986,13 +2008,27 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
19862008
dbm_queries_count_avg =
19872009
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
19882010
}
2011+
"error_tracking_error_events_sum" => {
2012+
if v.is_null() {
2013+
continue;
2014+
}
2015+
error_tracking_error_events_sum =
2016+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2017+
}
19892018
"error_tracking_events_sum" => {
19902019
if v.is_null() {
19912020
continue;
19922021
}
19932022
error_tracking_events_sum =
19942023
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
19952024
}
2025+
"error_tracking_rum_error_events_sum" => {
2026+
if v.is_null() {
2027+
continue;
2028+
}
2029+
error_tracking_rum_error_events_sum =
2030+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2031+
}
19962032
"fargate_tasks_count_avg" => {
19972033
if v.is_null() {
19982034
continue;
@@ -2612,7 +2648,9 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
26122648
date,
26132649
dbm_host_top99p,
26142650
dbm_queries_count_avg,
2651+
error_tracking_error_events_sum,
26152652
error_tracking_events_sum,
2653+
error_tracking_rum_error_events_sum,
26162654
fargate_tasks_count_avg,
26172655
fargate_tasks_count_hwm,
26182656
flex_logs_compute_large_avg,

src/datadogV1/model/model_usage_summary_date_org.rs

+38
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,15 @@ pub struct UsageSummaryDateOrg {
194194
/// Shows the average of all distinct Database Monitoring normalized queries over all hours in the current month for the given org.
195195
#[serde(rename = "dbm_queries_avg_sum")]
196196
pub dbm_queries_avg_sum: Option<i64>,
197+
/// Shows the sum of all Error Tracking error events over all hours in the current date for the given org.
198+
#[serde(rename = "error_tracking_error_events_sum")]
199+
pub error_tracking_error_events_sum: Option<i64>,
197200
/// Shows the sum of all Error Tracking events over all hours in the current date for the given org.
198201
#[serde(rename = "error_tracking_events_sum")]
199202
pub error_tracking_events_sum: Option<i64>,
203+
/// Shows the sum of all Error Tracking RUM error events over all hours in the current date for the given org.
204+
#[serde(rename = "error_tracking_rum_error_events_sum")]
205+
pub error_tracking_rum_error_events_sum: Option<i64>,
200206
/// The average task count for Fargate.
201207
#[serde(rename = "fargate_tasks_count_avg")]
202208
pub fargate_tasks_count_avg: Option<i64>,
@@ -526,7 +532,9 @@ impl UsageSummaryDateOrg {
526532
data_jobs_monitoring_host_hr_sum: None,
527533
dbm_host_top99p_sum: None,
528534
dbm_queries_avg_sum: None,
535+
error_tracking_error_events_sum: None,
529536
error_tracking_events_sum: None,
537+
error_tracking_rum_error_events_sum: None,
530538
fargate_tasks_count_avg: None,
531539
fargate_tasks_count_hwm: None,
532540
flex_logs_compute_large_avg: None,
@@ -974,12 +982,24 @@ impl UsageSummaryDateOrg {
974982
self
975983
}
976984

985+
#[allow(deprecated)]
986+
pub fn error_tracking_error_events_sum(mut self, value: i64) -> Self {
987+
self.error_tracking_error_events_sum = Some(value);
988+
self
989+
}
990+
977991
#[allow(deprecated)]
978992
pub fn error_tracking_events_sum(mut self, value: i64) -> Self {
979993
self.error_tracking_events_sum = Some(value);
980994
self
981995
}
982996

997+
#[allow(deprecated)]
998+
pub fn error_tracking_rum_error_events_sum(mut self, value: i64) -> Self {
999+
self.error_tracking_rum_error_events_sum = Some(value);
1000+
self
1001+
}
1002+
9831003
#[allow(deprecated)]
9841004
pub fn fargate_tasks_count_avg(mut self, value: i64) -> Self {
9851005
self.fargate_tasks_count_avg = Some(value);
@@ -1564,7 +1584,9 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
15641584
let mut data_jobs_monitoring_host_hr_sum: Option<i64> = None;
15651585
let mut dbm_host_top99p_sum: Option<i64> = None;
15661586
let mut dbm_queries_avg_sum: Option<i64> = None;
1587+
let mut error_tracking_error_events_sum: Option<i64> = None;
15671588
let mut error_tracking_events_sum: Option<i64> = None;
1589+
let mut error_tracking_rum_error_events_sum: Option<i64> = None;
15681590
let mut fargate_tasks_count_avg: Option<i64> = None;
15691591
let mut fargate_tasks_count_hwm: Option<i64> = None;
15701592
let mut flex_logs_compute_large_avg: Option<i64> = None;
@@ -2075,13 +2097,27 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
20752097
dbm_queries_avg_sum =
20762098
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
20772099
}
2100+
"error_tracking_error_events_sum" => {
2101+
if v.is_null() {
2102+
continue;
2103+
}
2104+
error_tracking_error_events_sum =
2105+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2106+
}
20782107
"error_tracking_events_sum" => {
20792108
if v.is_null() {
20802109
continue;
20812110
}
20822111
error_tracking_events_sum =
20832112
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
20842113
}
2114+
"error_tracking_rum_error_events_sum" => {
2115+
if v.is_null() {
2116+
continue;
2117+
}
2118+
error_tracking_rum_error_events_sum =
2119+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2120+
}
20852121
"fargate_tasks_count_avg" => {
20862122
if v.is_null() {
20872123
continue;
@@ -2722,7 +2758,9 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
27222758
data_jobs_monitoring_host_hr_sum,
27232759
dbm_host_top99p_sum,
27242760
dbm_queries_avg_sum,
2761+
error_tracking_error_events_sum,
27252762
error_tracking_events_sum,
2763+
error_tracking_rum_error_events_sum,
27262764
fargate_tasks_count_avg,
27272765
fargate_tasks_count_hwm,
27282766
flex_logs_compute_large_avg,

src/datadogV1/model/model_usage_summary_response.rs

+38
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,15 @@ pub struct UsageSummaryResponse {
194194
/// Shows the last date of usage in the current month for all organizations.
195195
#[serde(rename = "end_date")]
196196
pub end_date: Option<chrono::DateTime<chrono::Utc>>,
197+
/// Shows the sum of all Error Tracking error events over all hours in the current month for all organizations.
198+
#[serde(rename = "error_tracking_error_events_agg_sum")]
199+
pub error_tracking_error_events_agg_sum: Option<i64>,
197200
/// Shows the sum of all Error Tracking events over all hours in the current months for all organizations.
198201
#[serde(rename = "error_tracking_events_agg_sum")]
199202
pub error_tracking_events_agg_sum: Option<i64>,
203+
/// Shows the sum of all Error Tracking RUM error events over all hours in the current month for all organizations.
204+
#[serde(rename = "error_tracking_rum_error_events_agg_sum")]
205+
pub error_tracking_rum_error_events_agg_sum: Option<i64>,
200206
/// Shows the average of all Fargate tasks over all hours in the current month for all organizations.
201207
#[serde(rename = "fargate_tasks_count_avg_sum")]
202208
pub fargate_tasks_count_avg_sum: Option<i64>,
@@ -543,7 +549,9 @@ impl UsageSummaryResponse {
543549
dbm_host_top99p_sum: None,
544550
dbm_queries_avg_sum: None,
545551
end_date: None,
552+
error_tracking_error_events_agg_sum: None,
546553
error_tracking_events_agg_sum: None,
554+
error_tracking_rum_error_events_agg_sum: None,
547555
fargate_tasks_count_avg_sum: None,
548556
fargate_tasks_count_hwm_sum: None,
549557
flex_logs_compute_large_avg_sum: None,
@@ -996,12 +1004,24 @@ impl UsageSummaryResponse {
9961004
self
9971005
}
9981006

1007+
#[allow(deprecated)]
1008+
pub fn error_tracking_error_events_agg_sum(mut self, value: i64) -> Self {
1009+
self.error_tracking_error_events_agg_sum = Some(value);
1010+
self
1011+
}
1012+
9991013
#[allow(deprecated)]
10001014
pub fn error_tracking_events_agg_sum(mut self, value: i64) -> Self {
10011015
self.error_tracking_events_agg_sum = Some(value);
10021016
self
10031017
}
10041018

1019+
#[allow(deprecated)]
1020+
pub fn error_tracking_rum_error_events_agg_sum(mut self, value: i64) -> Self {
1021+
self.error_tracking_rum_error_events_agg_sum = Some(value);
1022+
self
1023+
}
1024+
10051025
#[allow(deprecated)]
10061026
pub fn fargate_tasks_count_avg_sum(mut self, value: i64) -> Self {
10071027
self.fargate_tasks_count_avg_sum = Some(value);
@@ -1616,7 +1636,9 @@ impl<'de> Deserialize<'de> for UsageSummaryResponse {
16161636
let mut dbm_host_top99p_sum: Option<i64> = None;
16171637
let mut dbm_queries_avg_sum: Option<i64> = None;
16181638
let mut end_date: Option<chrono::DateTime<chrono::Utc>> = None;
1639+
let mut error_tracking_error_events_agg_sum: Option<i64> = None;
16191640
let mut error_tracking_events_agg_sum: Option<i64> = None;
1641+
let mut error_tracking_rum_error_events_agg_sum: Option<i64> = None;
16201642
let mut fargate_tasks_count_avg_sum: Option<i64> = None;
16211643
let mut fargate_tasks_count_hwm_sum: Option<i64> = None;
16221644
let mut flex_logs_compute_large_avg_sum: Option<i64> = None;
@@ -2131,13 +2153,27 @@ impl<'de> Deserialize<'de> for UsageSummaryResponse {
21312153
}
21322154
end_date = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
21332155
}
2156+
"error_tracking_error_events_agg_sum" => {
2157+
if v.is_null() {
2158+
continue;
2159+
}
2160+
error_tracking_error_events_agg_sum =
2161+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2162+
}
21342163
"error_tracking_events_agg_sum" => {
21352164
if v.is_null() {
21362165
continue;
21372166
}
21382167
error_tracking_events_agg_sum =
21392168
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
21402169
}
2170+
"error_tracking_rum_error_events_agg_sum" => {
2171+
if v.is_null() {
2172+
continue;
2173+
}
2174+
error_tracking_rum_error_events_agg_sum =
2175+
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
2176+
}
21412177
"fargate_tasks_count_avg_sum" => {
21422178
if v.is_null() {
21432179
continue;
@@ -2815,7 +2851,9 @@ impl<'de> Deserialize<'de> for UsageSummaryResponse {
28152851
dbm_host_top99p_sum,
28162852
dbm_queries_avg_sum,
28172853
end_date,
2854+
error_tracking_error_events_agg_sum,
28182855
error_tracking_events_agg_sum,
2856+
error_tracking_rum_error_events_agg_sum,
28192857
fargate_tasks_count_avg_sum,
28202858
fargate_tasks_count_hwm_sum,
28212859
flex_logs_compute_large_avg_sum,

0 commit comments

Comments
 (0)