You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit acb8798
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .generator/schemas/v2/openapi.yaml
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -79277,11 +79277,15 @@ components:
79277
79277
enum:
79278
79278
- non_distribution
79279
79279
- distribution
79280
+
- exponential_histogram
79281
+
- explicit_histogram
79280
79282
example: distribution
79281
79283
type: string
79282
79284
x-enum-varnames:
79283
79285
- NON_DISTRIBUTION
79284
79286
- DISTRIBUTION
79287
+
- EXPONENTIAL_HISTOGRAM
79288
+
- EXPLICIT_HISTOGRAM
79285
79289
MetricTagConfigurationMetricTypes:
79286
79290
default: gauge
79287
79291
description: The metric's type.
@@ -199129,7 +199133,7 @@ paths:
199129
199133
schema:
199130
199134
type: boolean
199131
199135
- description: |-
199132
-
This parameter has no effect unless `filter[queried]` is also set. Only return metrics that have been queried or not queried in the specified window. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second. For example: `filter[queried]=true&filter[queried][window][seconds]=604800`.
199136
+
The look-back window for `filter[queried]`, in seconds. You must also set `filter[queried]`, or the request returns a 400 error. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 0. With `0`, the window ends now, so `filter[queried]=true` returns almost no metrics and `filter[queried]=false` returns all metrics. For example: `filter[queried]=true&filter[queried][window][seconds]=604800`.
199133
199137
example: 15552000
199134
199138
in: query
199135
199139
name: filter[queried][window][seconds]
@@ -199138,7 +199142,7 @@ paths:
199138
199142
default: 2592000
199139
199143
format: int64
199140
199144
maximum: 15552000
199141
-
minimum: 1
199145
+
minimum: 0
199142
199146
type: integer
199143
199147
- description: |-
199144
199148
Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards. For example: `filter[tags]=env IN (staging,test) AND service:web*`.
@@ -199171,16 +199175,16 @@ paths:
199171
199175
schema:
199172
199176
type: string
199173
199177
- description: |-
199174
-
Only return metrics that have been actively reporting in the specified window. The default value is 3600 seconds (1 hour), the maximum value is 2,592,000 seconds (30 days), and the minimum value is 1 second.
199178
+
Only return metrics that have been actively reporting in this window. The default value is 3,600 seconds (1 hour), the maximum value is 5,184,000 seconds (60 days), and the minimum value is 0. With `0`, the API returns only metrics that reported in the last few minutes.
199175
199179
example: 3600
199176
199180
in: query
199177
199181
name: window[seconds]
199178
199182
required: false
199179
199183
schema:
199180
199184
default: 3600
199181
199185
format: int64
199182
-
maximum: 2592000
199183
-
minimum: 1
199186
+
maximum: 5184000
199187
+
minimum: 0
199184
199188
type: integer
199185
199189
- description: |-
199186
199190
Maximum number of results per page. Send `page[size]` on the first request to opt in to pagination. On each subsequent request, send `page[cursor]` set to the value of `meta.pagination.next_cursor` from the previous response. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
:param filter_queried: Only return metrics that have been queried (true) or not queried (false) in the look back window. Set the window with ``filter[queried][window][seconds]`` ; if omitted, a default window is used.
1491
1491
:type filter_queried: bool, optional
1492
-
:param filter_queried_window_seconds: This parameter has no effect unless ``filter[queried]`` is also set. Only return metrics that have been queriedor not queried in the specified window. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second. For example: ``filter[queried]=true&filter[queried][window][seconds]=604800``.
1492
+
:param filter_queried_window_seconds: The look-back window for ``filter[queried]`` , in seconds. You must also set ``filter[queried]`` , or the request returns a 400 error. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 0. With ``0`` , the window ends now, so ``filter[queried]=true`` returns almost no metrics and ``filter[queried]=false`` returns all metrics. For example: ``filter[queried]=true&filter[queried][window][seconds]=604800``.
:param filter_tags: Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards. For example: ``filter[tags]=env IN (staging,test) AND service:web*``.
:param sort: Sort results by metric volume. Prefix a key with ``-`` for descending order. Supported keys: ``metric_volumes.indexed_volume`` , ``metric_volumes.ingested_volume`` , ``metric_volumes.indexed_volume_delta`` , ``metric_volumes.ingested_volume_delta``. Requires a paginated request ( ``page[size]`` or ``page[cursor]`` ).
1501
1501
:type sort: str, optional
1502
-
:param window_seconds: Only return metrics that have been actively reporting in the specified window. The default value is 3600 seconds (1 hour), the maximum value is 2,592,000 seconds (30 days), and the minimum value is 1 second.
1502
+
:param window_seconds: Only return metrics that have been actively reporting in this window. The default value is 3,600 seconds (1 hour), the maximum value is 5,184,000 seconds (60 days), and the minimum value is 0. With ``0`` , the API returns only metrics that reported in the last few minutes.
1503
1503
:type window_seconds: int, optional
1504
1504
:param page_size: Maximum number of results per page. Send ``page[size]`` on the first request to opt in to pagination. On each subsequent request, send ``page[cursor]`` set to the value of ``meta.pagination.next_cursor`` from the previous response. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
:param filter_queried: Only return metrics that have been queried (true) or not queried (false) in the look back window. Set the window with ``filter[queried][window][seconds]`` ; if omitted, a default window is used.
1588
1588
:type filter_queried: bool, optional
1589
-
:param filter_queried_window_seconds: This parameter has no effect unless ``filter[queried]`` is also set. Only return metrics that have been queriedor not queried in the specified window. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second. For example: ``filter[queried]=true&filter[queried][window][seconds]=604800``.
1589
+
:param filter_queried_window_seconds: The look-back window for ``filter[queried]`` , in seconds. You must also set ``filter[queried]`` , or the request returns a 400 error. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 0. With ``0`` , the window ends now, so ``filter[queried]=true`` returns almost no metrics and ``filter[queried]=false`` returns all metrics. For example: ``filter[queried]=true&filter[queried][window][seconds]=604800``.
:param filter_tags: Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards. For example: ``filter[tags]=env IN (staging,test) AND service:web*``.
:param sort: Sort results by metric volume. Prefix a key with ``-`` for descending order. Supported keys: ``metric_volumes.indexed_volume`` , ``metric_volumes.ingested_volume`` , ``metric_volumes.indexed_volume_delta`` , ``metric_volumes.ingested_volume_delta``. Requires a paginated request ( ``page[size]`` or ``page[cursor]`` ).
1598
1598
:type sort: str, optional
1599
-
:param window_seconds: Only return metrics that have been actively reporting in the specified window. The default value is 3600 seconds (1 hour), the maximum value is 2,592,000 seconds (30 days), and the minimum value is 1 second.
1599
+
:param window_seconds: Only return metrics that have been actively reporting in this window. The default value is 3,600 seconds (1 hour), the maximum value is 5,184,000 seconds (60 days), and the minimum value is 0. With ``0`` , the API returns only metrics that reported in the last few minutes.
1600
1600
:type window_seconds: int, optional
1601
1601
:param page_size: Maximum number of results per page. Send ``page[size]`` on the first request to opt in to pagination. On each subsequent request, send ``page[cursor]`` set to the value of ``meta.pagination.next_cursor`` from the previous response. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
Copy file name to clipboardExpand all lines: src/datadog_api_client/v2/model/metric_tag_configuration_metric_type_category.py
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,16 +16,20 @@ class MetricTagConfigurationMetricTypeCategory(ModelSimple):
16
16
"""
17
17
The metric's type category.
18
18
19
-
:param value: If omitted defaults to "distribution". Must be one of ["non_distribution", "distribution"].
19
+
:param value: If omitted defaults to "distribution". Must be one of ["non_distribution", "distribution", "exponential_histogram", "explicit_histogram"].
0 commit comments