Skip to content
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

Update estimate docs with realtime changes #2177

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:52:40.246446",
"spec_repo_commit": "1fa8186c"
"regenerated": "2024-09-26 19:34:36.904910",
"spec_repo_commit": "83debf9e"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-09-25 18:52:40.260078",
"spec_repo_commit": "1fa8186c"
"regenerated": "2024-09-26 19:34:36.918924",
"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
4 changes: 2 additions & 2 deletions src/datadog_api_client/v2/api/metrics_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,13 +573,13 @@ def estimate_metrics_output_series(
:type metric_name: str
:param filter_groups: Filtered tag keys that the metric is configured to query with.
:type filter_groups: str, optional
:param filter_hours_ago: 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.
:param filter_hours_ago: The number of hours of look back (from now) to estimate cardinality with. If unspecified, it defaults to 0 hours.
:type filter_hours_ago: int, optional
:param filter_num_aggregations: The number of aggregations that a ``count`` , ``rate`` , or ``gauge`` metric is configured to use. Max number of aggregation combos is 9.
:type filter_num_aggregations: int, optional
:param filter_pct: A boolean, for distribution metrics only, to estimate cardinality if the metric includes additional percentile aggregators.
:type filter_pct: bool, optional
:param filter_timespan_h: A window, in hours, from the look back to estimate cardinality with.
:param filter_timespan_h: A window, in hours, from the look back to estimate cardinality with. The minimum and default is 1 hour.
:type filter_timespan_h: int, optional
:rtype: MetricEstimateResponse
"""
Expand Down
Loading