/api/rca/metrics/cohorts
.
Here’s an example:
Name | Description |
---|---|
start | The starting time in epoch milliseconds (millis). Example: 1623110400000 means Tue Jun 08 2021 00:00:00 UTC |
end | The end time in epoch millis . Example: 1623283200000 means Thu Jun 10 2021 00:00:00 UTC |
threshold | Exact value of metric. Dimensions Recommender which contribute more than this will be included. |
percentage | If threshold is not provided, then percentage is used. Example: setting percentage to 10 means that threshold = 10% of overall aggregate. |
generateEnumerationItems (beta) | If set to true, ThirdEye will also try to generate the list of enumeration items in addition to dimensions recommender |
where | This is an additional where clause that can be added to the query in the form of a SQL expression. Example: ""where": "country LIKE 'US%' AND \"device\" = 'phone'"" |
having | Similar to where, having clause is a SQL expression that can be added to the query. Example: "COUNT(*) > 1000000" |
maxDepth | The max depth in dimensions that the recommendation engine will dive to. Example: maxDepth = 3 means all dimensions reported will have a max of 3 dimensions. like country = 'US', device = 'phone', version='0.3.0' . Default value is 10 |
dimensions | If set, this is the list of dimensions that the dimensions recommender will iterate through. Example: if the dataset has 5 dimensions and "dimensions": ["country", "device"] . ThirdEye will only iterate on these 2 dimensions |
limit | If set, this behaves like top N. The number of results are trimmed to limit and the results are sorted in descending order by contribution. The default value is 100 |