* Add performance metrics to the app * add batcher and improve handling * Add tests * Fix test * Address feedback * Address feedback * Address feedback * update podfile
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: {},
|
|
};
|
|
}
|