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
7 changes: 5 additions & 2 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86825,8 +86825,11 @@ paths:
required: false
schema:
type: boolean
- description: (Preview) Filter custom metrics that have or have not been queried
in the past 30 days.
- description: '(Preview) Filter custom metrics that have or have not been queried
in the specified window[seconds].

If no window is provided or the window is less than 2 hours, a default of
2 hours will be applied.'
example: true
in: query
name: filter[queried]
Expand Down
6 changes: 4 additions & 2 deletions src/datadogV2/api/api_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ pub struct ListTagConfigurationsOptionalParams {
/// Filter distributions with additional percentile
/// aggregations enabled or disabled.
pub filter_include_percentiles: Option<bool>,
/// (Preview) Filter custom metrics that have or have not been queried in the past 30 days.
/// (Preview) Filter custom metrics that have or have not been queried in the specified window[seconds].
/// If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
pub filter_queried: Option<bool>,
/// Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
/// Can only be combined with the filter[queried] filter.
Expand Down Expand Up @@ -131,7 +132,8 @@ impl ListTagConfigurationsOptionalParams {
self.filter_include_percentiles = Some(value);
self
}
/// (Preview) Filter custom metrics that have or have not been queried in the past 30 days.
/// (Preview) Filter custom metrics that have or have not been queried in the specified window[seconds].
/// If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
pub fn filter_queried(mut self, value: bool) -> Self {
self.filter_queried = Some(value);
self
Expand Down
Loading