probe-scraper icon indicating copy to clipboard operation
probe-scraper copied to clipboard

Hard to parse list of expired metrics in the expired metrics mails

Open chutten opened this issue 4 years ago • 0 comments

I'm finding it tricky to read the list of expired metrics in the mail. Here's how it reads, from a recent go 'round:

```
TIME_TO_LOAD_EVENT_END_PRELOAD_MS
TIME_TO_LOAD_EVENT_START_NO_PRELOAD_MS
blocklist.mlbf_stash_time_oldest
TIME_TO_LOAD_EVENT_END_NO_PRELOAD_MS
COOKIE_PURGING_TRACKERS_USER_INTERACTION_REMAINING_DAYS
COOKIE_PURGING_DURATION_MS
js.run_time_us
COOKIE_PURGING_TRACKERS_WITH_USER_INTERACTION
wasm.compile_time_baseline_us
COOKIE_PURGING_ORIGINS_PURGED
blocklist.lastModified_rs_addons
blocklist.lastModified_rs_plugins
TIME_TO_LOAD_EVENT_START_PRELOAD_MS
blocklist.mlbf_generation_time
blocklist.lastModified_rs_addons_mlbf
wasm.compile_time_ion_us
WEBAUTHN_GET_ASSERTION_MS
TIME_TO_FIRST_INTERACTION_PRELOAD_MS
COOKIE_PURGING_INTERVAL_HOURS
security.webauthn_used
LOAD_INPUT_EVENT_RESPONSE_NO_PRELOAD_MS
blocklist.mlbf_stashes
TIME_TO_FIRST_INTERACTION_NO_PRELOAD_MS
LOAD_INPUT_EVENT_RESPONSE_PRELOAD_MS
WEBAUTHN_CREATE_CREDENTIAL_MS
STORAGE_ACCESS_API_UI
wasm.compile_time_cranelift_us
blocklist.mlbf_stash_time_newest
blocklist.mlbf_enabled
```

First I guess we could remove the backtick fences since they're not really needed. But that's not the big problem with readability I"m having.

Could the list be lexicographically sorted? Or grouped by the bug filed? Or something? All the TIME_TO_* probes are scattered all over the place, dominating over the lowercase scalars in between. If there were a telemetry.* scalar in there (ie, one I'd have to think about), I'm not sure I'd see it.

Here's what the list looks like sorted:

COOKIE_PURGING_DURATION_MS
COOKIE_PURGING_INTERVAL_HOURS
COOKIE_PURGING_ORIGINS_PURGED
COOKIE_PURGING_TRACKERS_USER_INTERACTION_REMAINING_DAYS
COOKIE_PURGING_TRACKERS_WITH_USER_INTERACTION
LOAD_INPUT_EVENT_RESPONSE_NO_PRELOAD_MS
LOAD_INPUT_EVENT_RESPONSE_PRELOAD_MS
STORAGE_ACCESS_API_UI
TIME_TO_FIRST_INTERACTION_NO_PRELOAD_MS
TIME_TO_FIRST_INTERACTION_PRELOAD_MS
TIME_TO_LOAD_EVENT_END_NO_PRELOAD_MS
TIME_TO_LOAD_EVENT_END_PRELOAD_MS
TIME_TO_LOAD_EVENT_START_NO_PRELOAD_MS
TIME_TO_LOAD_EVENT_START_PRELOAD_MS
WEBAUTHN_CREATE_CREDENTIAL_MS
WEBAUTHN_GET_ASSERTION_MS
blocklist.lastModified_rs_addons
blocklist.lastModified_rs_addons_mlbf
blocklist.lastModified_rs_plugins
blocklist.mlbf_enabled
blocklist.mlbf_generation_time
blocklist.mlbf_stash_time_newest
blocklist.mlbf_stash_time_oldest
blocklist.mlbf_stashes
js.run_time_us
security.webauthn_used
wasm.compile_time_baseline_us
wasm.compile_time_cranelift_us
wasm.compile_time_ion_us

chutten avatar Feb 05 '21 14:02 chutten