Skip to content

Commit 4041999

Browse files
committed
[release] 3.1.0
1 parent 1970847 commit 4041999

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/MetricsApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ timeframe = ['timeframe_example'] # list[str] | Timeframe window to limit result
5353
filters = ['filters_example'] # list[str] | Filter key:value pairs. Must be provided as an array query string parameter (e.g. filters[]=operating_system:windows&filters[]=country:US). Possible filter names are the same as returned by the List Filters endpoint. (optional)
5454
measurement = 'measurement_example' # str | Measurement for the provided metric. If omitted, the default for the metric will be used. (optional)
5555
order_direction = 'order_direction_example' # str | Sort order. (optional)
56-
group_by = 'group_by_example' # str | Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the supplied timeframe. (optional)
56+
group_by = 'group_by_example' # str | Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 hours inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 hours is `day`. This default behaviour is subject to change; it is strongly suggested that you explicitly specify the granularity. (optional)
5757

5858
try:
5959
# Get metric timeseries data
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
7272
**filters** | [**list[str]**](str.md)| Filter key:value pairs. Must be provided as an array query string parameter (e.g. filters[]=operating_system:windows&filters[]=country:US). Possible filter names are the same as returned by the List Filters endpoint. | [optional]
7373
**measurement** | **str**| Measurement for the provided metric. If omitted, the default for the metric will be used. | [optional]
7474
**order_direction** | **str**| Sort order. | [optional]
75-
**group_by** | **str**| Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the supplied timeframe. | [optional]
75+
**group_by** | **str**| Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 hours inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 hours is `day`. This default behaviour is subject to change; it is strongly suggested that you explicitly specify the granularity. | [optional]
7676

7777
### Return type
7878

gen/generator-config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"!!source": "https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/python.md",
33
"packageName": "mux_python",
44
"projectName": "mux_python",
5-
"packageVersion": "3.0.0"
5+
"packageVersion": "3.1.0"
66
}

mux_python/api/metrics_api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def get_metric_timeseries_data(self, metric_id, **kwargs): # noqa: E501
5757
:type measurement: str
5858
:param order_direction: Sort order.
5959
:type order_direction: str
60-
:param group_by: Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the supplied timeframe.
60+
:param group_by: Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 hours inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 hours is `day`. This default behaviour is subject to change; it is strongly suggested that you explicitly specify the granularity.
6161
:type group_by: str
6262
:param async_req: Whether to execute the request asynchronously.
6363
:type async_req: bool, optional
@@ -97,7 +97,7 @@ def get_metric_timeseries_data_with_http_info(self, metric_id, **kwargs): # noq
9797
:type measurement: str
9898
:param order_direction: Sort order.
9999
:type order_direction: str
100-
:param group_by: Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the supplied timeframe.
100+
:param group_by: Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 hours inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 hours is `day`. This default behaviour is subject to change; it is strongly suggested that you explicitly specify the granularity.
101101
:type group_by: str
102102
:param async_req: Whether to execute the request asynchronously.
103103
:type async_req: bool, optional

0 commit comments

Comments
 (0)