Function: getMetrics()
Parameters
options
object & object
The search query parameters.
Returns
Promise<{
aggregateMetrics: {
[key: Uncapitalize<string>]:
| number
| {
[key: string]: number;
};
};
bucketedMetrics: {
[key: Uncapitalize<string>]: object[];
};
emsCapturedError?: boolean;
groupByColumns: string[];
standardErrors?: | null
| {
[key: Uncapitalize<string>]: object;
};
}>
A promise that resolves to the search results.