Skip to content
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
14 changes: 14 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4281,6 +4281,7 @@ components:
- appsec_usage
- asm_serverless_traced_invocations_usage
- asm_serverless_traced_invocations_percentage
- bits_ai_investigations_usage
- browser_usage
- ci_pipeline_indexed_spans_usage
- ci_test_indexed_spans_usage
Expand Down Expand Up @@ -4364,6 +4365,7 @@ components:
- APPSEC_USAGE
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
- BITS_AI_INVESTIGATIONS_USAGE
- BROWSER_USAGE
- CI_PIPELINE_INDEXED_SPANS_USAGE
- CI_TEST_INDEXED_SPANS_USAGE
Expand Down Expand Up @@ -8702,6 +8704,8 @@ components:
- appsec_percentage
- asm_serverless_traced_invocations_usage
- asm_serverless_traced_invocations_percentage
- bits_ai_investigations_usage
- bits_ai_investigations_percentage
- browser_usage
- browser_percentage
- ci_visibility_itr_usage
Expand Down Expand Up @@ -8863,6 +8867,8 @@ components:
- APPSEC_PERCENTAGE
- ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE
- ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
- BITS_AI_INVESTIGATIONS_USAGE
- BITS_AI_INVESTIGATIONS_PERCENTAGE
- BROWSER_USAGE
- BROWSER_PERCENTAGE
- CI_VISIBILITY_ITR_USAGE
Expand Down Expand Up @@ -9076,6 +9082,14 @@ components:
usage by tag(s).
format: double
type: number
bits_ai_investigations_percentage:
description: The percentage of Bits AI `SRE` investigation usage by tag(s).
format: double
type: number
bits_ai_investigations_usage:
description: The Bits AI `SRE` investigation usage by tag(s).
format: double
type: number
browser_percentage:
description: The percentage of synthetic browser test usage by tag(s).
format: double
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub enum HourlyUsageAttributionUsageType {
APPSEC_USAGE,
ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE,
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE,
BITS_AI_INVESTIGATIONS_USAGE,
BROWSER_USAGE,
CI_PIPELINE_INDEXED_SPANS_USAGE,
CI_TEST_INDEXED_SPANS_USAGE,
Expand Down Expand Up @@ -106,6 +107,7 @@ impl ToString for HourlyUsageAttributionUsageType {
Self::ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE => {
String::from("asm_serverless_traced_invocations_percentage")
}
Self::BITS_AI_INVESTIGATIONS_USAGE => String::from("bits_ai_investigations_usage"),
Self::BROWSER_USAGE => String::from("browser_usage"),
Self::CI_PIPELINE_INDEXED_SPANS_USAGE => {
String::from("ci_pipeline_indexed_spans_usage")
Expand Down Expand Up @@ -235,6 +237,7 @@ impl<'de> Deserialize<'de> for HourlyUsageAttributionUsageType {
"asm_serverless_traced_invocations_percentage" => {
Self::ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
}
"bits_ai_investigations_usage" => Self::BITS_AI_INVESTIGATIONS_USAGE,
"browser_usage" => Self::BROWSER_USAGE,
"ci_pipeline_indexed_spans_usage" => Self::CI_PIPELINE_INDEXED_SPANS_USAGE,
"ci_test_indexed_spans_usage" => Self::CI_TEST_INDEXED_SPANS_USAGE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ pub enum MonthlyUsageAttributionSupportedMetrics {
APPSEC_PERCENTAGE,
ASM_SERVERLESS_TRACED_INVOCATIONS_USAGE,
ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE,
BITS_AI_INVESTIGATIONS_USAGE,
BITS_AI_INVESTIGATIONS_PERCENTAGE,
BROWSER_USAGE,
BROWSER_PERCENTAGE,
CI_VISIBILITY_ITR_USAGE,
Expand Down Expand Up @@ -190,6 +192,10 @@ impl ToString for MonthlyUsageAttributionSupportedMetrics {
Self::ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE => {
String::from("asm_serverless_traced_invocations_percentage")
}
Self::BITS_AI_INVESTIGATIONS_USAGE => String::from("bits_ai_investigations_usage"),
Self::BITS_AI_INVESTIGATIONS_PERCENTAGE => {
String::from("bits_ai_investigations_percentage")
}
Self::BROWSER_USAGE => String::from("browser_usage"),
Self::BROWSER_PERCENTAGE => String::from("browser_percentage"),
Self::CI_VISIBILITY_ITR_USAGE => String::from("ci_visibility_itr_usage"),
Expand Down Expand Up @@ -435,6 +441,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionSupportedMetrics {
"asm_serverless_traced_invocations_percentage" => {
Self::ASM_SERVERLESS_TRACED_INVOCATIONS_PERCENTAGE
}
"bits_ai_investigations_usage" => Self::BITS_AI_INVESTIGATIONS_USAGE,
"bits_ai_investigations_percentage" => Self::BITS_AI_INVESTIGATIONS_PERCENTAGE,
"browser_usage" => Self::BROWSER_USAGE,
"browser_percentage" => Self::BROWSER_PERCENTAGE,
"ci_visibility_itr_usage" => Self::CI_VISIBILITY_ITR_USAGE,
Expand Down
36 changes: 36 additions & 0 deletions src/datadogV1/model/model_monthly_usage_attribution_values.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ pub struct MonthlyUsageAttributionValues {
/// The Application Security Monitoring Serverless traced invocations usage by tag(s).
#[serde(rename = "asm_serverless_traced_invocations_usage")]
pub asm_serverless_traced_invocations_usage: Option<f64>,
/// The percentage of Bits AI `SRE` investigation usage by tag(s).
#[serde(rename = "bits_ai_investigations_percentage")]
pub bits_ai_investigations_percentage: Option<f64>,
/// The Bits AI `SRE` investigation usage by tag(s).
#[serde(rename = "bits_ai_investigations_usage")]
pub bits_ai_investigations_usage: Option<f64>,
/// The percentage of synthetic browser test usage by tag(s).
#[serde(rename = "browser_percentage")]
pub browser_percentage: Option<f64>,
Expand Down Expand Up @@ -504,6 +510,8 @@ impl MonthlyUsageAttributionValues {
appsec_usage: None,
asm_serverless_traced_invocations_percentage: None,
asm_serverless_traced_invocations_usage: None,
bits_ai_investigations_percentage: None,
bits_ai_investigations_usage: None,
browser_percentage: None,
browser_usage: None,
ci_pipeline_indexed_spans_percentage: None,
Expand Down Expand Up @@ -721,6 +729,16 @@ impl MonthlyUsageAttributionValues {
self
}

pub fn bits_ai_investigations_percentage(mut self, value: f64) -> Self {
self.bits_ai_investigations_percentage = Some(value);
self
}

pub fn bits_ai_investigations_usage(mut self, value: f64) -> Self {
self.bits_ai_investigations_usage = Some(value);
self
}

pub fn browser_percentage(mut self, value: f64) -> Self {
self.browser_percentage = Some(value);
self
Expand Down Expand Up @@ -1477,6 +1495,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
let mut appsec_usage: Option<f64> = None;
let mut asm_serverless_traced_invocations_percentage: Option<f64> = None;
let mut asm_serverless_traced_invocations_usage: Option<f64> = None;
let mut bits_ai_investigations_percentage: Option<f64> = None;
let mut bits_ai_investigations_usage: Option<f64> = None;
let mut browser_percentage: Option<f64> = None;
let mut browser_usage: Option<f64> = None;
let mut ci_pipeline_indexed_spans_percentage: Option<f64> = None;
Expand Down Expand Up @@ -1724,6 +1744,20 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
asm_serverless_traced_invocations_usage =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"bits_ai_investigations_percentage" => {
if v.is_null() {
continue;
}
bits_ai_investigations_percentage =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"bits_ai_investigations_usage" => {
if v.is_null() {
continue;
}
bits_ai_investigations_usage =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"browser_percentage" => {
if v.is_null() {
continue;
Expand Down Expand Up @@ -2740,6 +2774,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues {
appsec_usage,
asm_serverless_traced_invocations_percentage,
asm_serverless_traced_invocations_usage,
bits_ai_investigations_percentage,
bits_ai_investigations_usage,
browser_percentage,
browser_usage,
ci_pipeline_indexed_spans_percentage,
Expand Down