Skip to content

Commit

Permalink
[release] 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eropple committed Nov 1, 2021
1 parent 3c7a34f commit 6123933
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type ConfigurationOption func(*Configuration)
func NewConfiguration(opts ...ConfigurationOption) *Configuration {
cfg := &Configuration{
basePath: "https://api.mux.com",
userAgent: "Mux Go | 3.0.0",
userAgent: "Mux Go | 3.1.0",
}
for _, opt := range opts {
opt(cfg)
Expand Down
2 changes: 1 addition & 1 deletion docs/MetricsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Name | Type | Description | Notes
**filters** | [**optional.Interface of []string**](string.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. |
**measurement** | **optional.String**| Measurement for the provided metric. If omitted, the default for the metric will be used. |
**orderDirection** | **optional.String**| Sort order. |
**groupBy** | **optional.String**| Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the supplied timeframe. |
**groupBy** | **optional.String**| 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. |

### Return type

Expand Down

0 comments on commit 6123933

Please sign in to comment.