mattermost-mobile/app/client/rest
Elias Nahum d1d3fda83a
Request metrics improvements (#8420)
* Network metrics

* update network-client ref

* fix unit tests

* missing catch error parsing

* Replace API's to fetch all teams and channels for a user
Update groupLabel to use a type definition
Include effective Latency and Average Speed in the metrics
Include parallel and sequential request counts

* update network library and fix tests

* feat(MM-61865): send network request telemetry data to the server (#8436)

* feat(MM-61865): send network info telemetry data

* unit testing

* fix latency vs effectiveLatency

* cleanup test

* fix failing tests

* fix spelling error

* fix failing test

* more cleanup

* fix: improve parallel requests calculation (#8439)

* fix: improve parallel requests calculation

* fix test issue

* multiple parallelGroups testing

* calculateAverageSpeedWithCategories test

* categorizedRequests in it's own describe

* clean up duplicate tests

* check for when groupLabel is non-existent

* a case when groupLabel is non-existent

* more testing with effective latency.

* resolveAndFlattenModels with a capital F

* add try..catch within resolveAndFlattenModels

* update groupLabel to fix failing lint

* fix linting issue due to unknown group label

* forgot to push changes

* fix the indentation problem again

* add env var option for COLLECT_NETWORK_METRICS

---------

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-16 13:55:29 -07:00
..
apps.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
base.ts View custom profile attributes (#8460) 2025-01-13 20:38:14 +01:00
categories.test.ts MM-59683 + more - Add tests to client/rest (#8447) 2025-01-07 08:23:28 -05:00
categories.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
channel_bookmark.test.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
channel_bookmark.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
channels.test.ts MM-59683 + more - Add tests to client/rest (#8447) 2025-01-07 08:23:28 -05:00
channels.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
constants.ts Integrate react-native-network-client (#5499) 2021-07-06 11:16:35 -04:00
custom_profile_attributes.test.ts View custom profile attributes (#8460) 2025-01-13 20:38:14 +01:00
custom_profile_attributes.ts View custom profile attributes (#8460) 2025-01-13 20:38:14 +01:00
emojis.test.ts MM-59683 + more - Add tests to client/rest (#8447) 2025-01-07 08:23:28 -05:00
emojis.ts Remove watermelondb limitation on updating an already updated model (#7067) 2023-02-03 17:11:57 +02:00
error.ts Refactor errors around the app (#7306) 2023-05-03 13:08:55 +02:00
files.test.ts MM-59683 + more - Add tests to client/rest (#8447) 2025-01-07 08:23:28 -05:00
files.ts MM-59683 + more - Add tests to client/rest (#8447) 2025-01-07 08:23:28 -05:00
general.test.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
general.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
groups.test.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
groups.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
index.test.js [Gekidou] Fix & small refactor to the app entry logic and WS reconnection (#5937) 2022-02-09 12:49:37 -03:00
index.ts View custom profile attributes (#8460) 2025-01-13 20:38:14 +01:00
integrations.test.ts MM-59683 + more - Add tests to client/rest (#8447) 2025-01-07 08:23:28 -05:00
integrations.ts Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
nps.test.ts MM-59683 + more - Add tests to client/rest (#8447) 2025-01-07 08:23:28 -05:00
nps.ts Remove watermelondb limitation on updating an already updated model (#7067) 2023-02-03 17:11:57 +02:00
plugins.test.ts MM-59683 + more - Add tests to client/rest (#8447) 2025-01-07 08:23:28 -05:00
plugins.ts Remove watermelondb limitation on updating an already updated model (#7067) 2023-02-03 17:11:57 +02:00
posts.test.ts MM-59683 + more - Add tests to client/rest (#8447) 2025-01-07 08:23:28 -05:00
posts.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
preferences.test.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
preferences.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
teams.test.ts MM-59683 + more - Add tests to client/rest (#8447) 2025-01-07 08:23:28 -05:00
teams.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
threads.test.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
threads.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
tos.test.ts MM-59683 + more - Add tests to client/rest (#8447) 2025-01-07 08:23:28 -05:00
tos.ts Remove watermelondb limitation on updating an already updated model (#7067) 2023-02-03 17:11:57 +02:00
tracking.test.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
tracking.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00
users.test.ts MM-59683 + more - Add tests to client/rest (#8447) 2025-01-07 08:23:28 -05:00
users.ts Request metrics improvements (#8420) 2025-01-16 13:55:29 -07:00