Skip to content

Commit

Permalink
Update rum doc to include new usage types (#449)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Jan 13, 2025
1 parent 3f10a5d commit 4830082
Show file tree
Hide file tree
Showing 5 changed files with 228 additions and 12 deletions.
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": "2025-01-13 17:10:11.638797",
"spec_repo_commit": "be17a7b8"
"regenerated": "2025-01-13 18:28:01.987122",
"spec_repo_commit": "3517c947"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-13 17:10:11.653898",
"spec_repo_commit": "be17a7b8"
"regenerated": "2025-01-13 18:28:02.002232",
"spec_repo_commit": "3517c947"
}
}
}
53 changes: 49 additions & 4 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20269,7 +20269,7 @@ components:
type: integer
profiling_host_top99p:
description: Shows the 99th percentile of all profiled hosts over all hours
in the current date for all organizations.
within the current date for all organizations.
format: int64
type: integer
rum_browser_and_mobile_session_count:
Expand Down Expand Up @@ -20358,10 +20358,25 @@ components:
type: integer
rum_mobile_lite_session_count_roku_sum:
description: Shows the sum of all mobile RUM lite sessions on Roku over
all hours in the current date for all organizations (To be introduced
all hours within the current date for all organizations (To be introduced
on October 1st, 2024).
format: int64
type: integer
rum_mobile_replay_session_count_android_sum:
description: Shows the sum of all mobile RUM replay sessions on Android
over all hours within the current date for the given org.
format: int64
type: integer
rum_mobile_replay_session_count_ios_sum:
description: Shows the sum of all mobile RUM replay sessions on iOS over
all hours within the current date for the given org.
format: int64
type: integer
rum_mobile_replay_session_count_reactnative_sum:
description: Shows the sum of all mobile RUM replay sessions on React Native
over all hours within the current date for the given org.
format: int64
type: integer
rum_replay_session_count_sum:
description: Shows the sum of all RUM Session Replay counts over all hours
in the current date for all organizations (To be introduced on October
Expand Down Expand Up @@ -21122,7 +21137,7 @@ components:
type: integer
profiling_host_top99p:
description: Shows the 99th percentile of all profiled hosts over all hours
in the current date for the given org.
within the current date for the given org.
format: int64
type: integer
public_id:
Expand Down Expand Up @@ -21221,6 +21236,21 @@ components:
1st, 2024).
format: int64
type: integer
rum_mobile_replay_session_count_android_sum:
description: Shows the sum of all mobile RUM replay sessions on Android
over all hours within the current date for the given org.
format: int64
type: integer
rum_mobile_replay_session_count_ios_sum:
description: Shows the sum of all mobile RUM replay sessions on iOS over
all hours within the current date for the given org.
format: int64
type: integer
rum_mobile_replay_session_count_reactnative_sum:
description: Shows the sum of all mobile RUM replay sessions on React Native
over all hours within the current date for the given org.
format: int64
type: integer
rum_replay_session_count_sum:
description: Shows the sum of all RUM Session Replay counts over all hours
in the current date for the given org (To be introduced on October 1st,
Expand Down Expand Up @@ -22109,10 +22139,25 @@ components:
type: integer
rum_mobile_lite_session_count_roku_agg_sum:
description: Shows the sum of all mobile RUM lite sessions on Roku over
all hours in the current month for all organizations (To be introduced
all hours within the current month for all organizations (To be introduced
on October 1st, 2024).
format: int64
type: integer
rum_mobile_replay_session_count_android_agg_sum:
description: Shows the sum of all mobile RUM replay sessions on Android
over all hours within the current month for all organizations.
format: int64
type: integer
rum_mobile_replay_session_count_ios_agg_sum:
description: Shows the sum of all mobile RUM replay sessions on iOS over
all hours within the current month for all organizations.
format: int64
type: integer
rum_mobile_replay_session_count_reactnative_agg_sum:
description: Shows the sum of all mobile RUM replay sessions on React Native
over all hours within the current month for all organizations.
format: int64
type: integer
rum_replay_session_count_agg_sum:
description: Shows the sum of all RUM Session Replay counts over all hours
in the current month for all organizations (To be introduced on October
Expand Down
61 changes: 59 additions & 2 deletions src/datadogV1/model/model_usage_summary_date.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ pub struct UsageSummaryDate {
/// Shows the 99th percentile of all profiled Azure app services over all hours in the current date for all organizations.
#[serde(rename = "profiling_aas_count_top99p")]
pub profiling_aas_count_top99p: Option<i64>,
/// Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations.
/// Shows the 99th percentile of all profiled hosts over all hours within the current date for all organizations.
#[serde(rename = "profiling_host_top99p")]
pub profiling_host_top99p: Option<i64>,
/// Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current month for all organizations (To be deprecated on October 1st, 2024).
Expand Down Expand Up @@ -413,9 +413,18 @@ pub struct UsageSummaryDate {
/// Shows the sum of all mobile RUM lite sessions on React Native over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
#[serde(rename = "rum_mobile_lite_session_count_reactnative_sum")]
pub rum_mobile_lite_session_count_reactnative_sum: Option<i64>,
/// Shows the sum of all mobile RUM lite sessions on Roku over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
/// Shows the sum of all mobile RUM lite sessions on Roku over all hours within the current date for all organizations (To be introduced on October 1st, 2024).
#[serde(rename = "rum_mobile_lite_session_count_roku_sum")]
pub rum_mobile_lite_session_count_roku_sum: Option<i64>,
/// Shows the sum of all mobile RUM replay sessions on Android over all hours within the current date for the given org.
#[serde(rename = "rum_mobile_replay_session_count_android_sum")]
pub rum_mobile_replay_session_count_android_sum: Option<i64>,
/// Shows the sum of all mobile RUM replay sessions on iOS over all hours within the current date for the given org.
#[serde(rename = "rum_mobile_replay_session_count_ios_sum")]
pub rum_mobile_replay_session_count_ios_sum: Option<i64>,
/// Shows the sum of all mobile RUM replay sessions on React Native over all hours within the current date for the given org.
#[serde(rename = "rum_mobile_replay_session_count_reactnative_sum")]
pub rum_mobile_replay_session_count_reactnative_sum: Option<i64>,
/// Shows the sum of all RUM Session Replay counts over all hours in the current date for all organizations (To be introduced on October 1st, 2024).
#[serde(rename = "rum_replay_session_count_sum")]
pub rum_replay_session_count_sum: Option<i64>,
Expand Down Expand Up @@ -635,6 +644,9 @@ impl UsageSummaryDate {
rum_mobile_lite_session_count_ios_sum: None,
rum_mobile_lite_session_count_reactnative_sum: None,
rum_mobile_lite_session_count_roku_sum: None,
rum_mobile_replay_session_count_android_sum: None,
rum_mobile_replay_session_count_ios_sum: None,
rum_mobile_replay_session_count_reactnative_sum: None,
rum_replay_session_count_sum: None,
rum_session_count_sum: None,
rum_total_session_count_sum: None,
Expand Down Expand Up @@ -1451,6 +1463,24 @@ impl UsageSummaryDate {
self
}

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

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

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

#[allow(deprecated)]
pub fn rum_replay_session_count_sum(mut self, value: i64) -> Self {
self.rum_replay_session_count_sum = Some(value);
Expand Down Expand Up @@ -1764,6 +1794,9 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
let mut rum_mobile_lite_session_count_ios_sum: Option<i64> = None;
let mut rum_mobile_lite_session_count_reactnative_sum: Option<i64> = None;
let mut rum_mobile_lite_session_count_roku_sum: Option<i64> = None;
let mut rum_mobile_replay_session_count_android_sum: Option<i64> = None;
let mut rum_mobile_replay_session_count_ios_sum: Option<i64> = None;
let mut rum_mobile_replay_session_count_reactnative_sum: Option<i64> = None;
let mut rum_replay_session_count_sum: Option<i64> = None;
let mut rum_session_count_sum: Option<i64> = None;
let mut rum_total_session_count_sum: Option<i64> = None;
Expand Down Expand Up @@ -2712,6 +2745,27 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
rum_mobile_lite_session_count_roku_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"rum_mobile_replay_session_count_android_sum" => {
if v.is_null() {
continue;
}
rum_mobile_replay_session_count_android_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"rum_mobile_replay_session_count_ios_sum" => {
if v.is_null() {
continue;
}
rum_mobile_replay_session_count_ios_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"rum_mobile_replay_session_count_reactnative_sum" => {
if v.is_null() {
continue;
}
rum_mobile_replay_session_count_reactnative_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"rum_replay_session_count_sum" => {
if v.is_null() {
continue;
Expand Down Expand Up @@ -3028,6 +3082,9 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
rum_mobile_lite_session_count_ios_sum,
rum_mobile_lite_session_count_reactnative_sum,
rum_mobile_lite_session_count_roku_sum,
rum_mobile_replay_session_count_android_sum,
rum_mobile_replay_session_count_ios_sum,
rum_mobile_replay_session_count_reactnative_sum,
rum_replay_session_count_sum,
rum_session_count_sum,
rum_total_session_count_sum,
Expand Down
59 changes: 58 additions & 1 deletion src/datadogV1/model/model_usage_summary_date_org.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ pub struct UsageSummaryDateOrg {
/// Shows the 99th percentile of all profiled Azure app services over all hours in the current date for all organizations.
#[serde(rename = "profiling_aas_count_top99p")]
pub profiling_aas_count_top99p: Option<i64>,
/// Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org.
/// Shows the 99th percentile of all profiled hosts over all hours within the current date for the given org.
#[serde(rename = "profiling_host_top99p")]
pub profiling_host_top99p: Option<i64>,
/// The organization public id.
Expand Down Expand Up @@ -435,6 +435,15 @@ pub struct UsageSummaryDateOrg {
/// Shows the sum of all mobile RUM lite sessions on Roku over all hours in the current date for the given org (To be introduced on October 1st, 2024).
#[serde(rename = "rum_mobile_lite_session_count_roku_sum")]
pub rum_mobile_lite_session_count_roku_sum: Option<i64>,
/// Shows the sum of all mobile RUM replay sessions on Android over all hours within the current date for the given org.
#[serde(rename = "rum_mobile_replay_session_count_android_sum")]
pub rum_mobile_replay_session_count_android_sum: Option<i64>,
/// Shows the sum of all mobile RUM replay sessions on iOS over all hours within the current date for the given org.
#[serde(rename = "rum_mobile_replay_session_count_ios_sum")]
pub rum_mobile_replay_session_count_ios_sum: Option<i64>,
/// Shows the sum of all mobile RUM replay sessions on React Native over all hours within the current date for the given org.
#[serde(rename = "rum_mobile_replay_session_count_reactnative_sum")]
pub rum_mobile_replay_session_count_reactnative_sum: Option<i64>,
/// Shows the sum of all RUM Session Replay counts over all hours in the current date for the given org (To be introduced on October 1st, 2024).
#[serde(rename = "rum_replay_session_count_sum")]
pub rum_replay_session_count_sum: Option<i64>,
Expand Down Expand Up @@ -660,6 +669,9 @@ impl UsageSummaryDateOrg {
rum_mobile_lite_session_count_ios_sum: None,
rum_mobile_lite_session_count_reactnative_sum: None,
rum_mobile_lite_session_count_roku_sum: None,
rum_mobile_replay_session_count_android_sum: None,
rum_mobile_replay_session_count_ios_sum: None,
rum_mobile_replay_session_count_reactnative_sum: None,
rum_replay_session_count_sum: None,
rum_session_count_sum: None,
rum_total_session_count_sum: None,
Expand Down Expand Up @@ -1512,6 +1524,24 @@ impl UsageSummaryDateOrg {
self
}

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

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

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

#[allow(deprecated)]
pub fn rum_replay_session_count_sum(mut self, value: i64) -> Self {
self.rum_replay_session_count_sum = Some(value);
Expand Down Expand Up @@ -1831,6 +1861,9 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
let mut rum_mobile_lite_session_count_ios_sum: Option<i64> = None;
let mut rum_mobile_lite_session_count_reactnative_sum: Option<i64> = None;
let mut rum_mobile_lite_session_count_roku_sum: Option<i64> = None;
let mut rum_mobile_replay_session_count_android_sum: Option<i64> = None;
let mut rum_mobile_replay_session_count_ios_sum: Option<i64> = None;
let mut rum_mobile_replay_session_count_reactnative_sum: Option<i64> = None;
let mut rum_replay_session_count_sum: Option<i64> = None;
let mut rum_session_count_sum: Option<i64> = None;
let mut rum_total_session_count_sum: Option<i64> = None;
Expand Down Expand Up @@ -2819,6 +2852,27 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
rum_mobile_lite_session_count_roku_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"rum_mobile_replay_session_count_android_sum" => {
if v.is_null() {
continue;
}
rum_mobile_replay_session_count_android_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"rum_mobile_replay_session_count_ios_sum" => {
if v.is_null() {
continue;
}
rum_mobile_replay_session_count_ios_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"rum_mobile_replay_session_count_reactnative_sum" => {
if v.is_null() {
continue;
}
rum_mobile_replay_session_count_reactnative_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"rum_replay_session_count_sum" => {
if v.is_null() {
continue;
Expand Down Expand Up @@ -3141,6 +3195,9 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
rum_mobile_lite_session_count_ios_sum,
rum_mobile_lite_session_count_reactnative_sum,
rum_mobile_lite_session_count_roku_sum,
rum_mobile_replay_session_count_android_sum,
rum_mobile_replay_session_count_ios_sum,
rum_mobile_replay_session_count_reactnative_sum,
rum_replay_session_count_sum,
rum_session_count_sum,
rum_total_session_count_sum,
Expand Down
Loading

0 comments on commit 4830082

Please sign in to comment.