Skip to content

Commit bc1fee8

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add clarification on metrics parameter filter[hours_ago] (#2194)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent e62914c commit bc1fee8

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-02-20 19:02:50.038339",
8-
"spec_repo_commit": "5ef419de"
7+
"regenerated": "2024-02-21 12:50:48.376475",
8+
"spec_repo_commit": "1ec2d96a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-02-20 19:02:50.054420",
13-
"spec_repo_commit": "5ef419de"
12+
"regenerated": "2024-02-21 12:50:48.392799",
13+
"spec_repo_commit": "1ec2d96a"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28095,14 +28095,16 @@ paths:
2809528095
schema:
2809628096
type: string
2809728097
- description: The number of hours of look back (from now) to estimate cardinality
28098-
with.
28098+
with. Estimates are based on historical data, and unspecified fields default
28099+
to the minimum 49 hours.
2809928100
example: 49
2810028101
in: query
2810128102
name: filter[hours_ago]
2810228103
required: false
2810328104
schema:
2810428105
format: int32
2810528106
maximum: 2147483647
28107+
minimum: 49
2810628108
type: integer
2810728109
- description: The number of aggregations that a `count`, `rate`, or `gauge`
2810828110
metric is configured to use. Max number of aggregation combos is 9.

src/main/java/com/datadog/api/client/v2/api/MetricsApi.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,8 @@ public EstimateMetricsOutputSeriesOptionalParameters filterGroups(String filterG
682682
* Set filterHoursAgo.
683683
*
684684
* @param filterHoursAgo The number of hours of look back (from now) to estimate cardinality
685-
* with. (optional)
685+
* with. Estimates are based on historical data, and unspecified fields default to the
686+
* minimum 49 hours. (optional)
686687
* @return EstimateMetricsOutputSeriesOptionalParameters
687688
*/
688689
public EstimateMetricsOutputSeriesOptionalParameters filterHoursAgo(Integer filterHoursAgo) {

0 commit comments

Comments
 (0)