* Add performance metrics to the app
* add batcher and improve handling
* Add tests
* Fix test
* Address feedback
* Address feedback
* Address feedback
* update podfile
(cherry picked from commit 5f01f9e9af)
Co-authored-by: Daniel Espino García <larkox@gmail.com>
16 lines
465 B
TypeScript
16 lines
465 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export function getBaseReportRequest(start: number, end: number): {body: PerformanceReport; headers: {}} {
|
|
return {
|
|
body: {
|
|
version: '0.1.0',
|
|
start,
|
|
end,
|
|
labels: {agent: 'rnapp', platform: 'ios'},
|
|
histograms: [],
|
|
counters: [],
|
|
},
|
|
headers: {},
|
|
};
|
|
}
|