mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) remove metrics
Summary: This removes some old metric code. There's also a user preference dialog that has a single option (whether to allow metrics) this is left in place with a dummy option. It could be ripped out as well, probably. Test Plan: existing tests pass Reviewers: dsagal Reviewed By: dsagal Differential Revision: https://phab.getgrist.com/D2622
This commit is contained in:
@@ -8,26 +8,11 @@ export interface GristServerAPI extends
|
||||
DocListAPI,
|
||||
LoginSessionAPI,
|
||||
BasketClientAPI,
|
||||
ServerMetricsAPI,
|
||||
UserAPI,
|
||||
SharingAPI,
|
||||
MiscAPI {}
|
||||
|
||||
|
||||
interface ServerMetricsAPI {
|
||||
/**
|
||||
* Registers the list of client metric names. The calls to pushClientMetrics() send metric
|
||||
* values as an array parallel to this list of names.
|
||||
*/
|
||||
registerClientMetrics(clientMetricsList: string[]): Promise<void>;
|
||||
|
||||
/**
|
||||
* Sends bucketed client metric data to the server. The .values arrays contain one value for
|
||||
* each of the registered metric names, as a parallel array.
|
||||
*/
|
||||
pushClientMetrics(clientBuckets: Array<{startTime: number, values: number[]}>): Promise<void>;
|
||||
}
|
||||
|
||||
interface UserAPI {
|
||||
/**
|
||||
* Gets the Grist configuration from the server.
|
||||
|
||||
Reference in New Issue
Block a user