• Home
Name Date Size #Lines LOC

..--

chromeos/03-May-2024-755526

net/03-May-2024-12071

proto/03-May-2024-1,5121,213

BUILD.gnD03-May-2024286 1512

DEPSD03-May-202482 65

OWNERSD03-May-2024117 65

READMED03-May-20241 KiB2419

cloned_install_detector.ccD03-May-20243 KiB9969

cloned_install_detector.hD03-May-20241.9 KiB6030

compression_utils.ccD03-May-20245.2 KiB157110

compression_utils.hD03-May-2024673 218

compression_utils_unittest.ccD03-May-20242.5 KiB7747

machine_id_provider.hD03-May-20241.7 KiB4718

machine_id_provider_stub.ccD03-May-2024514 2513

machine_id_provider_win.ccD03-May-20243.7 KiB11880

machine_id_provider_win_unittest.ccD03-May-2024628 2413

metrics_hashes.ccD03-May-20241 KiB4023

metrics_hashes.hD03-May-2024546 218

metrics_hashes_unittest.ccD03-May-2024925 3221

metrics_log.ccD03-May-202416.4 KiB439319

metrics_log.hD03-May-20247.3 KiB19988

metrics_log_manager.ccD03-May-20245 KiB155109

metrics_log_manager.hD03-May-20244.6 KiB13052

metrics_log_manager_unittest.ccD03-May-202413.6 KiB363272

metrics_log_unittest.ccD03-May-202413.8 KiB383289

metrics_log_uploader.ccD03-May-2024589 2213

metrics_log_uploader.hD03-May-20241.5 KiB4624

metrics_pref_names.ccD03-May-20245.9 KiB13858

metrics_pref_names.hD03-May-20241.9 KiB4737

metrics_provider.hD03-May-20241.7 KiB5726

metrics_reporting_scheduler.ccD03-May-20244.9 KiB161112

metrics_reporting_scheduler.hD03-May-20242.5 KiB7931

metrics_reporting_scheduler_unittest.ccD03-May-20241.7 KiB5941

metrics_service.ccD03-May-202445.4 KiB1,207720

metrics_service.hD03-May-202417.9 KiB469196

metrics_service_client.hD03-May-20242.5 KiB7129

metrics_service_observer.ccD03-May-2024332 125

metrics_service_observer.hD03-May-2024778 2613

metrics_service_unittest.ccD03-May-202411.1 KiB305220

metrics_state_manager.ccD03-May-20247.9 KiB218149

metrics_state_manager.hD03-May-20244.9 KiB13256

metrics_state_manager_unittest.ccD03-May-20245.9 KiB175116

metrics_switches.ccD03-May-2024488 166

metrics_switches.hD03-May-2024548 198

persisted_logs.ccD03-May-20249.6 KiB299221

persisted_logs.hD03-May-20246.6 KiB18579

persisted_logs_unittest.ccD03-May-202411.6 KiB332245

test_metrics_service_client.ccD03-May-20241.8 KiB7350

test_metrics_service_client.hD03-May-20241.9 KiB5637

README

1This component contains the base classes for the metrics service and only
2depends on //base. It is used by ChromeOS as the base for a standalone service
3that will upload the metrics when ChromeOS is not installed (headless install).
4
5This is the first step towards the componentization of metrics that will happen
6later this spring.
7
8A proposed structure for the metrics component is:
9//components/metrics/base,
10  Depends on base only. Contains the protobuf definitions.
11//components/metrics/core
12  Depends on everything iOS depends on
13//components/metrics/content
14  Depends on content
15
16Ideally, the component would abstract the network stack and have a clean
17separation between the metrics upload logic (protbuf generation, retry, etc...),
18the chrome part (gathering histogram from all the threads, populating the
19log with hardware characteristics, plugin state, etc.).
20
21It is a plus if the code currently in the component (i.e., the code that can
22depend only on //base) stays in a single directory as it would be easier
23for ChromeOS to pull it :).
24