1express_metric {
2    id: "job_scheduler.value_cntr_w_uid_estimated_network_bytes_updated"
3    display_name: "Estimated network bytes updated"
4    description: "Number of times apps update the estimated network bytes"
5    owner_email: "nalini-team@google.com"
6    owner_email: "kwekua@google.com"
7    unit: UNIT_COUNT
8    type: COUNTER_WITH_UID
9}
10
11express_metric {
12    id: "job_scheduler.value_cntr_w_uid_estimated_network_download_bytes_decreased"
13    display_name: "Estimated network download bytes decreased"
14    description: "Number of times apps decreased the estimated network download bytes"
15    owner_email: "nalini-team@google.com"
16    owner_email: "kwekua@google.com"
17    unit: UNIT_COUNT
18    type: COUNTER_WITH_UID
19}
20
21express_metric {
22    id: "job_scheduler.value_cntr_w_uid_estimated_network_download_bytes_increased"
23    display_name: "Estimated network download bytes increased"
24    description: "Number of times apps increased the estimated network download bytes"
25    owner_email: "nalini-team@google.com"
26    owner_email: "kwekua@google.com"
27    unit: UNIT_COUNT
28    type: COUNTER_WITH_UID
29}
30
31express_metric {
32    id: "job_scheduler.value_cntr_w_uid_estimated_network_upload_bytes_decreased"
33    display_name: "Estimated network upload bytes decreased"
34    description: "Number of times apps decreased the estimated network upload bytes"
35    owner_email: "nalini-team@google.com"
36    owner_email: "kwekua@google.com"
37    unit: UNIT_COUNT
38    type: COUNTER_WITH_UID
39}
40
41express_metric {
42    id: "job_scheduler.value_cntr_w_uid_estimated_network_upload_bytes_increased"
43    display_name: "Estimated network upload bytes increased"
44    description: "Number of times apps increased the estimated network upload bytes"
45    owner_email: "nalini-team@google.com"
46    owner_email: "kwekua@google.com"
47    unit: UNIT_COUNT
48    type: COUNTER_WITH_UID
49}
50
51express_metric {
52    id: "job_scheduler.value_cntr_w_uid_initial_set_notification_call_optional"
53    display_name: "First-time optional JobService.setNotification() calls"
54    description: "Number of first-time calls to JobService.setNotification() when the call was optional"
55    owner_email: "nalini-team@google.com"
56    owner_email: "kwekua@google.com"
57    unit: UNIT_COUNT
58    type: COUNTER_WITH_UID
59}
60
61express_metric {
62    id: "job_scheduler.value_cntr_w_uid_initial_set_notification_call_required"
63    display_name: "First-time required JobService.setNotification() calls"
64    description: "Number of first-time calls to JobService.setNotification() when the call was required"
65    owner_email: "nalini-team@google.com"
66    owner_email: "kwekua@google.com"
67    unit: UNIT_COUNT
68    type: COUNTER_WITH_UID
69}
70
71express_metric {
72    id: "job_scheduler.value_cntr_w_uid_job_work_items_enqueued"
73    display_name: "JobWorkItem enqueue count"
74    description: "Count the number of times an app enqueues a JobWorkItem"
75    owner_email: "nalini-team@google.com"
76    owner_email: "kwekua@google.com"
77    unit: UNIT_COUNT
78    type: COUNTER_WITH_UID
79}
80
81express_metric {
82    id: "job_scheduler.value_cntr_w_uid_max_scheduling_limit_hit"
83    display_name: "Hitting the scheduling limit"
84    description: "Number of times apps hit the scheduling limit (150 in U)"
85    owner_email: "nalini-team@google.com"
86    owner_email: "kwekua@google.com"
87    unit: UNIT_COUNT
88    type: COUNTER_WITH_UID
89}
90
91express_metric {
92    id: "job_scheduler.value_cntr_w_uid_schedule_failure_app_start_mode_disabled"
93    display_name: "Scheduling failure because of app start mode"
94    description: "Number of times apps fail to schedule jobs because app start mode was disabled"
95    owner_email: "nalini-team@google.com"
96    owner_email: "kwekua@google.com"
97    unit: UNIT_COUNT
98    type: COUNTER_WITH_UID
99}
100
101express_metric {
102    id: "job_scheduler.value_cntr_w_uid_schedule_failure_ej_out_of_quota"
103    display_name: "Scheduling failure because of no EJ quota"
104    description: "Number of times apps fail to schedule EJs because they didn't have quota"
105    owner_email: "nalini-team@google.com"
106    owner_email: "kwekua@google.com"
107    unit: UNIT_COUNT
108    type: COUNTER_WITH_UID
109}
110
111express_metric {
112    id: "job_scheduler.value_cntr_w_uid_schedule_failure_uij_invalid_state"
113    display_name: "UIJ scheduling failure because of invalid state"
114    description: "Number of times apps fail to schedule UIJs because they weren't in a valid state to schedule them"
115    owner_email: "nalini-team@google.com"
116    owner_email: "kwekua@google.com"
117    unit: UNIT_COUNT
118    type: COUNTER_WITH_UID
119}
120
121express_metric {
122    id: "job_scheduler.value_cntr_w_uid_schedule_failure_uij_no_permission"
123    display_name: "UIJ scheduling failure because of missing permission"
124    description: "Number of times apps fail to schedule UIJs because they didn't have the relevant permission granted"
125    owner_email: "nalini-team@google.com"
126    owner_email: "kwekua@google.com"
127    unit: UNIT_COUNT
128    type: COUNTER_WITH_UID
129}
130
131express_metric {
132    id: "job_scheduler.value_cntr_w_uid_set_notification_changed_notification_ids"
133    display_name: "JobService.setNotification() changed notification IDs"
134    description: "Number of time JobService.setNotification() calls used a different notification ID"
135    owner_email: "nalini-team@google.com"
136    owner_email: "kwekua@google.com"
137    unit: UNIT_COUNT
138    type: COUNTER_WITH_UID
139}
140
141express_metric {
142    id: "job_scheduler.value_cntr_w_uid_slow_app_response_binding"
143    display_name: "Slow app response when binding"
144    description: "Number of times apps hit the binding timeout"
145    owner_email: "nalini-team@google.com"
146    owner_email: "kwekua@google.com"
147    unit: UNIT_COUNT
148    type: COUNTER_WITH_UID
149}
150
151express_metric {
152    id: "job_scheduler.value_cntr_w_uid_slow_app_response_on_start_job"
153    display_name: "Slow app response to onStartJob()"
154    description: "Number of times apps hit the timeout when responding to onStartJob"
155    owner_email: "nalini-team@google.com"
156    owner_email: "kwekua@google.com"
157    unit: UNIT_COUNT
158    type: COUNTER_WITH_UID
159}
160
161express_metric {
162    id: "job_scheduler.value_cntr_w_uid_slow_app_response_on_stop_job"
163    display_name: "Slow app response to onStopJob"
164    description: "Number of times apps hit the timeout when responding to onStopJob"
165    owner_email: "nalini-team@google.com"
166    owner_email: "kwekua@google.com"
167    unit: UNIT_COUNT
168    type: COUNTER_WITH_UID
169}
170
171express_metric {
172    id: "job_scheduler.value_cntr_w_uid_slow_app_response_set_notification"
173    display_name: "Slow app response for setNotification"
174    description: "Number of times apps hit the timeout before calling setNotification"
175    owner_email: "nalini-team@google.com"
176    owner_email: "kwekua@google.com"
177    unit: UNIT_COUNT
178    type: COUNTER_WITH_UID
179}
180
181express_metric {
182    id: "job_scheduler.value_cntr_w_uid_subsequent_set_notification_call_optional"
183    display_name: "Subsequent JobService.setNotification() calls if the first was optional"
184    description: "Number of subsequent calls to JobService.setNotification() if the first call was optional"
185    owner_email: "nalini-team@google.com"
186    owner_email: "kwekua@google.com"
187    unit: UNIT_COUNT
188    type: COUNTER_WITH_UID
189}
190
191express_metric {
192    id: "job_scheduler.value_cntr_w_uid_subsequent_set_notification_call_required"
193    display_name: "Subsequent JobService.setNotification() calls if the first was required"
194    description: "Number of subsequent calls to JobService.setNotification() if the first call was required"
195    owner_email: "nalini-team@google.com"
196    owner_email: "kwekua@google.com"
197    unit: UNIT_COUNT
198    type: COUNTER_WITH_UID
199}
200
201express_metric {
202    id: "job_scheduler.value_cntr_w_uid_transferred_network_bytes_updated"
203    display_name: "Transferred network bytes updated"
204    description: "Number of times apps update the transferred network bytes"
205    owner_email: "nalini-team@google.com"
206    owner_email: "kwekua@google.com"
207    unit: UNIT_COUNT
208    type: COUNTER_WITH_UID
209}
210
211express_metric {
212    id: "job_scheduler.value_cntr_w_uid_transferred_network_download_bytes_decreased"
213    display_name: "Transferred network download bytes decreased"
214    description: "Number of times apps decreased the transferred network download bytes"
215    owner_email: "nalini-team@google.com"
216    owner_email: "kwekua@google.com"
217    unit: UNIT_COUNT
218    type: COUNTER_WITH_UID
219}
220
221express_metric {
222    id: "job_scheduler.value_cntr_w_uid_transferred_network_download_bytes_increased"
223    display_name: "Transferred network download bytes increased"
224    description: "Number of times apps increased the transferred network download bytes"
225    owner_email: "nalini-team@google.com"
226    owner_email: "kwekua@google.com"
227    unit: UNIT_COUNT
228    type: COUNTER_WITH_UID
229}
230
231express_metric {
232    id: "job_scheduler.value_cntr_w_uid_transferred_network_upload_bytes_decreased"
233    display_name: "Transferred network upload bytes decreased"
234    description: "Number of times apps decreased the transferred network upload bytes"
235    owner_email: "nalini-team@google.com"
236    owner_email: "kwekua@google.com"
237    unit: UNIT_COUNT
238    type: COUNTER_WITH_UID
239}
240
241express_metric {
242    id: "job_scheduler.value_cntr_w_uid_transferred_network_upload_bytes_increased"
243    display_name: "Transferred network upload bytes increased"
244    description: "Number of times apps increased the transferred network upload bytes"
245    owner_email: "nalini-team@google.com"
246    owner_email: "kwekua@google.com"
247    unit: UNIT_COUNT
248    type: COUNTER_WITH_UID
249}
250
251express_metric {
252    id: "job_scheduler.value_cntr_w_uid_unexpected_service_disconnects"
253    display_name: "Unexpected service disconnects"
254    description: "Number of times the JobService disconnected unexpectedly"
255    owner_email: "nalini-team@google.com"
256    owner_email: "kwekua@google.com"
257    unit: UNIT_COUNT
258    type: COUNTER_WITH_UID
259}
260
261express_metric {
262    id: "job_scheduler.value_hist_initial_job_estimated_network_download_kilobytes"
263    display_name: "Initial job download kilobytes"
264    description: "The initial estimated download kilobytes given to a connectivity job"
265    owner_email: "nalini-team@google.com"
266    owner_email: "kwekua@google.com"
267    unit: UNIT_KILOBYTE
268    type: HISTOGRAM
269    histogram_options {
270        scaled_bins {
271            count: 50
272            min_value: 0
273            first_bin_width: 32
274            scale: 1.31
275        }
276    }
277}
278
279express_metric {
280    id: "job_scheduler.value_hist_initial_jwi_estimated_network_download_kilobytes"
281    display_name: "Initial JobWorkItem download kilobytes"
282    description: "The initial estimated download kilobytes given to a JobWorkItem associated with a connectivity job"
283    owner_email: "nalini-team@google.com"
284    owner_email: "kwekua@google.com"
285    unit: UNIT_KILOBYTE
286    type: HISTOGRAM
287    histogram_options {
288        scaled_bins {
289            count: 50
290            min_value: 0
291            first_bin_width: 32
292            scale: 1.31
293        }
294    }
295}
296
297express_metric {
298    id: "job_scheduler.value_hist_initial_job_estimated_network_upload_kilobytes"
299    display_name: "Initial job upload kilobytes"
300    description: "The initial estimated upload kilobytes given to a connectivity job"
301    owner_email: "nalini-team@google.com"
302    owner_email: "kwekua@google.com"
303    unit: UNIT_KILOBYTE
304    type: HISTOGRAM
305    histogram_options {
306        scaled_bins {
307            count: 50
308            min_value: 0
309            first_bin_width: 32
310            scale: 1.31
311        }
312    }
313}
314
315express_metric {
316    id: "job_scheduler.value_hist_initial_jwi_estimated_network_upload_kilobytes"
317    display_name: "Initial JobWorkItem upload kilobytes"
318    description: "The initial estimated upload bytes given to a JobWorkItem associated with a connectivity job"
319    owner_email: "nalini-team@google.com"
320    owner_email: "kwekua@google.com"
321    unit: UNIT_KILOBYTE
322    type: HISTOGRAM
323    histogram_options {
324        scaled_bins {
325            count: 50
326            min_value: 0
327            first_bin_width: 32
328            scale: 1.31
329        }
330    }
331}
332
333express_metric {
334    id: "job_scheduler.value_hist_job_concurrency"
335    display_name: "JobScheduler execution concurrency"
336    description: "The range of jobs executing concurrently"
337    owner_email: "nalini-team@google.com"
338    owner_email: "kwekua@google.com"
339    unit: UNIT_COUNT
340    type: HISTOGRAM
341    histogram_options {
342        uniform_bins {
343            count: 100
344            min: 0
345            max: 99
346        }
347    }
348}
349
350express_metric {
351    id: "job_scheduler.value_hist_scheduled_job_30_min_high_water_mark"
352    display_name: "Scheduled job 30-min high water mark"
353    description: "The high water mark within the most recent 30 minutes of uptime of the number of jobs (pending and active) in JobScheduler's JobStore. This is logged AT MOST once every 30 minutes."
354    owner_email: "nalini-team@google.com"
355    owner_email: "kwekua@google.com"
356    unit: UNIT_COUNT
357    type: HISTOGRAM
358    histogram_options {
359        scaled_bins {
360            count: 15
361            min_value: 1
362            first_bin_width: 99
363            scale: 1.5
364        }
365    }
366}
367
368express_metric {
369    id: "job_scheduler.value_hist_transferred_network_download_kilobytes_high_water_mark"
370    display_name: "Transferred network download kilobytes"
371    description: "The range of transferred network download kilobytes apps provide"
372    owner_email: "nalini-team@google.com"
373    owner_email: "kwekua@google.com"
374    unit: UNIT_KILOBYTE
375    type: HISTOGRAM
376    histogram_options {
377        scaled_bins {
378            count: 50
379            min_value: 0
380            first_bin_width: 32
381            scale: 1.31
382        }
383    }
384}
385
386express_metric {
387    id: "job_scheduler.value_hist_transferred_network_upload_kilobytes_high_water_mark"
388    display_name: "Transferred network upload kilobytes"
389    description: "The range of transferred network upload kilobytes apps provide"
390    owner_email: "nalini-team@google.com"
391    owner_email: "kwekua@google.com"
392    unit: UNIT_KILOBYTE
393    type: HISTOGRAM
394    histogram_options {
395        scaled_bins {
396            count: 50
397            min_value: 0
398            first_bin_width: 32
399            scale: 1.31
400        }
401    }
402}
403
404express_metric {
405    id: "job_scheduler.value_hist_updated_estimated_network_download_kilobytes"
406    display_name: "Updated estimated network download kilobytes"
407    description: "The range of updated estimated network download kilobytes apps provide"
408    owner_email: "nalini-team@google.com"
409    owner_email: "kwekua@google.com"
410    unit: UNIT_KILOBYTE
411    type: HISTOGRAM
412    histogram_options {
413        scaled_bins {
414            count: 50
415            min_value: 0
416            first_bin_width: 32
417            scale: 1.31
418        }
419    }
420}
421
422express_metric {
423    id: "job_scheduler.value_hist_updated_estimated_network_upload_kilobytes"
424    display_name: "Updated estimated network upload kilobytes"
425    description: "The range of updated estimated network upload kilobytes apps provide"
426    owner_email: "nalini-team@google.com"
427    owner_email: "kwekua@google.com"
428    unit: UNIT_KILOBYTE
429    type: HISTOGRAM
430    histogram_options {
431        scaled_bins {
432            count: 50
433            min_value: 0
434            first_bin_width: 32
435            scale: 1.31
436        }
437    }
438}
439
440express_metric {
441    id: "job_scheduler.value_hist_w_uid_enqueued_work_items_at_job_start"
442    display_name: "Enqueued JobWorkItems at job start"
443    description: "Histogram of the number of JobWorkItems enqueued per job when the job starts"
444    owner_email: "nalini-team@google.com"
445    owner_email: "kwekua@google.com"
446    unit: UNIT_COUNT
447    type: HISTOGRAM_WITH_UID
448    histogram_options {
449        scaled_bins {
450            count: 20
451            min_value: 1
452            first_bin_width: 3
453            scale: 1.4
454        }
455    }
456}
457
458express_metric {
459    id: "job_scheduler.value_hist_w_uid_enqueued_work_items_high_water_mark"
460    display_name: "Enqueued JobWorkItems high water mark"
461    description: "Histogram of the maximum number of JobWorkItems enqueued per job"
462    owner_email: "nalini-team@google.com"
463    owner_email: "kwekua@google.com"
464    unit: UNIT_COUNT
465    type: HISTOGRAM_WITH_UID
466    histogram_options {
467        scaled_bins {
468            count: 25
469            min_value: 0
470            first_bin_width: 5
471            scale: 1.4
472        }
473    }
474}
475
476express_metric {
477    id: "job_scheduler.value_hist_w_uid_job_minimum_chunk_kilobytes"
478    display_name: "Job minimum chunk kilobytes"
479    description: "The minimum chunk kilobytes given to a connectivity job"
480    owner_email: "nalini-team@google.com"
481    owner_email: "kwekua@google.com"
482    unit: UNIT_KILOBYTE
483    type: HISTOGRAM_WITH_UID
484    histogram_options {
485        scaled_bins {
486            count: 25
487            min_value: 0
488            first_bin_width: 5
489            scale: 1.76
490        }
491    }
492}
493
494express_metric {
495    id: "job_scheduler.value_hist_w_uid_jwi_minimum_chunk_kilobytes"
496    display_name: "JobWorkItem minimum chunk kilobytes"
497    description: "The minimum chunk kilobytes given to a JobWorkItem associated with a connectivity job"
498    owner_email: "nalini-team@google.com"
499    owner_email: "kwekua@google.com"
500    unit: UNIT_KILOBYTE
501    type: HISTOGRAM_WITH_UID
502    histogram_options {
503        scaled_bins {
504            count: 25
505            min_value: 0
506            first_bin_width: 5
507            scale: 1.76
508        }
509    }
510}
511
512express_metric {
513    id: "job_scheduler.value_job_scheduler_job_deadline_expired_counter"
514    display_name: "JobScheduler job hits its deadline"
515    description: "Counting how many times a job hits its deadline"
516    owner_email: "nalini-team@google.com"
517    owner_email: "sharaienko@google.com"
518    owner_email: "yanmin@google.com"
519    unit: UNIT_COUNT
520    type: COUNTER
521}
522
523express_metric {
524    id: "job_scheduler.value_job_quota_reduced_due_to_buggy_uid"
525    display_name: "JobScheduler quota reductions for buggy apps"
526    description: "Counting the times the quota for a job was reduced because the hosting app was buggy"
527    owner_email: "nalini-team@google.com"
528    owner_email: "kwekua@google.com"
529    unit: UNIT_COUNT
530    type: COUNTER_WITH_UID
531}
532