Skip to content

Update estimate docs with realtime changes #308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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
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": "2024-09-25 18:39:36.583329",
"spec_repo_commit": "1fa8186c"
"regenerated": "2024-09-26 19:34:38.607113",
"spec_repo_commit": "83debf9e"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-09-25 18:39:36.598325",
"spec_repo_commit": "1fa8186c"
"regenerated": "2024-09-26 19:34:38.621641",
"spec_repo_commit": "83debf9e"
}
}
}
5 changes: 2 additions & 3 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32775,8 +32775,7 @@ paths:
schema:
type: string
- description: The number of hours of look back (from now) to estimate cardinality
with. Estimates are based on historical data, and unspecified fields default
to the minimum 49 hours.
with. If unspecified, it defaults to 0 hours.
example: 49
in: query
name: filter[hours_ago]
Expand Down Expand Up @@ -32805,7 +32804,7 @@ paths:
schema:
type: boolean
- description: A window, in hours, from the look back to estimate cardinality
with.
with. The minimum and default is 1 hour.
example: 6
in: query
name: filter[timespan_h]
Expand Down
8 changes: 4 additions & 4 deletions src/datadogV2/api/api_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ use std::io::Write;
pub struct EstimateMetricsOutputSeriesOptionalParams {
/// Filtered tag keys that the metric is configured to query with.
pub filter_groups: Option<String>,
/// The number of hours of look back (from now) to estimate cardinality with. Estimates are based on historical data, and unspecified fields default to the minimum 49 hours.
/// The number of hours of look back (from now) to estimate cardinality with. If unspecified, it defaults to 0 hours.
pub filter_hours_ago: Option<i32>,
/// The number of aggregations that a `count`, `rate`, or `gauge` metric is configured to use. Max number of aggregation combos is 9.
pub filter_num_aggregations: Option<i32>,
/// A boolean, for distribution metrics only, to estimate cardinality if the metric includes additional percentile aggregators.
pub filter_pct: Option<bool>,
/// A window, in hours, from the look back to estimate cardinality with.
/// A window, in hours, from the look back to estimate cardinality with. The minimum and default is 1 hour.
pub filter_timespan_h: Option<i32>,
}

Expand All @@ -33,7 +33,7 @@ impl EstimateMetricsOutputSeriesOptionalParams {
self.filter_groups = Some(value);
self
}
/// The number of hours of look back (from now) to estimate cardinality with. Estimates are based on historical data, and unspecified fields default to the minimum 49 hours.
/// The number of hours of look back (from now) to estimate cardinality with. If unspecified, it defaults to 0 hours.
pub fn filter_hours_ago(mut self, value: i32) -> Self {
self.filter_hours_ago = Some(value);
self
Expand All @@ -48,7 +48,7 @@ impl EstimateMetricsOutputSeriesOptionalParams {
self.filter_pct = Some(value);
self
}
/// A window, in hours, from the look back to estimate cardinality with.
/// A window, in hours, from the look back to estimate cardinality with. The minimum and default is 1 hour.
pub fn filter_timespan_h(mut self, value: i32) -> Self {
self.filter_timespan_h = Some(value);
self
Expand Down
Loading