QueryAnalyticsRequest - Go SDK
QueryAnalyticsRequest - Go SDK
QueryAnalyticsRequest type definition
QueryAnalyticsRequest - Go SDK
The Go SDK and docs are currently in beta. Report issues on GitHub.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
Dimensions | []string | ➖ | N/A | |
Filters | []operations.Filter | ➖ | N/A | |
Granularity | *string | ➖ | Time granularity | day |
GroupLimit | *int64 | ➖ | Maximum rows per distinct combination of dimensions (ClickHouse LIMIT n BY). When omitted on time-series queries (granularity + dimensions), auto-computed to avoid truncating time windows. Explicit values override the default and may truncate time buckets if set lower than the number of buckets in the range. Ignored when no dimensions are specified. | 100 |
Limit | *int64 | ➖ | Maximum total rows returned. Defaults to 1000. On time-series queries with dimensions and no explicit group_limit, the server may raise this to accommodate the expected number of unique time-bucket/dimension combinations. | |
Metrics | []string | ✔️ | N/A | |
OrderBy | *operations.OrderBy | ➖ | N/A | |
TimeRange | *operations.TimeRange | ➖ | N/A |