Skip to content

Mark aggregations arguments as deprecated since they're no longer needed #29223

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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": "2025-05-13 01:21:37.991041",
"spec_repo_commit": "dc3b522f"
"regenerated": "2025-05-13 13:54:17.645161",
"spec_repo_commit": "c347d76e"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-05-13 01:21:46.854800",
"spec_repo_commit": "dc3b522f"
"regenerated": "2025-05-13 13:54:26.663297",
"spec_repo_commit": "c347d76e"
}
}
}
12 changes: 6 additions & 6 deletions content/en/api/v2/metrics/examples.json

Large diffs are not rendered by default.

52 changes: 10 additions & 42 deletions data/api/v2/full_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21620,38 +21620,8 @@ components:
- space
type: object
MetricCustomAggregations:
description: 'A list of queryable aggregation combinations for a count, rate,
or gauge metric.

By default, count and rate metrics require the (time: sum, space: sum) aggregation
and

Gauge metrics require the (time: avg, space: avg) aggregation.

Additional time & space combinations are also available:


- time: avg, space: avg

- time: avg, space: max

- time: avg, space: min

- time: avg, space: sum

- time: count, space: sum

- time: max, space: max

- time: min, space: min

- time: sum, space: avg

- time: sum, space: sum


Can only be applied to non_distribution metrics that have a `metric_type`
of `count`, `rate`, or `gauge`.'
description: Deprecated. You no longer need to configure specific time and space
aggregations for Metrics Without Limits.
example:
- space: sum
time: sum
Expand Down Expand Up @@ -52687,8 +52657,7 @@ paths:
maximum: 2147483647
minimum: 49
type: integer
- description: The number of aggregations that a `count`, `rate`, or `gauge`
metric is configured to use. Max number of aggregation combos is 9.
- description: Deprecated. Number of aggregations has no impact on volume.
example: 1
in: query
name: filter[num_aggregations]
Expand Down Expand Up @@ -52908,17 +52877,16 @@ paths:
description: 'Create and define a list of queryable tag keys for an existing
count/gauge/rate/distribution metric.

Optionally, include percentile aggregations on any distribution metric or
configure custom aggregations
Optionally, include percentile aggregations on any distribution metric. By
setting `exclude_tags_mode`

on any count, rate, or gauge metric. By setting `exclude_tags_mode` to true
the behavior is changed
to true, the behavior is changed from an allow-list to a deny-list, and tags
in the defined list are

from an allow-list to a deny-list, and tags in the defined list will not be
queryable.
not queryable. Can only be used with application keys of users with the `Manage
Tags for Metrics`

Can only be used with application keys of users with the `Manage Tags for
Metrics` permission.'
permission.'
operationId: CreateTagConfiguration
parameters:
- $ref: '#/components/parameters/MetricName'
Expand Down
Loading
Loading