Skip to content

Commit a7726fc

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Add clarification on metrics parameter filter[hours_ago] (#1527)
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 213252d commit a7726fc

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-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:28.868806",
8-
"spec_repo_commit": "5ef419de"
7+
"regenerated": "2024-02-21 12:50:38.923679",
8+
"spec_repo_commit": "1ec2d96a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-02-20 19:02:28.888150",
13-
"spec_repo_commit": "5ef419de"
12+
"regenerated": "2024-02-21 12:50:38.947728",
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.

packages/datadog-api-client-v2/apis/MetricsApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,7 @@ export interface MetricsApiEstimateMetricsOutputSeriesRequest {
16281628
*/
16291629
filterGroups?: string;
16301630
/**
1631-
* The number of hours of look back (from now) to estimate cardinality with.
1631+
* 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.
16321632
* @type number
16331633
*/
16341634
filterHoursAgo?: number;

0 commit comments

Comments
 (0)