1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246
|
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# This file is for Internal FOG Use Only.
# Please don't add anything here unless you have the permission of a
# Telemetry Module Peer.
---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
$tags:
- 'Toolkit :: Telemetry'
fog:
initializations:
type: timing_distribution
time_unit: nanosecond
description: |
Time the FOG initializations take.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1662123
- https://bugzilla.mozilla.org/show_bug.cgi?id=1797619
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1662123#c3
- https://bugzilla.mozilla.org/show_bug.cgi?id=1797619
data_sensitivity:
- technical
notification_emails:
- chumphreys@mozilla.com
- glean-team@mozilla.com
expires: never
failed_idle_registration:
type: boolean
lifetime: application
description: |
True if we failed to register with the idle service. Absent otherwise.
Means IPC probably isn't working well.
Child-process data will likely be absent, or incomplete.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1694739
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1694739#c5
data_sensitivity:
- technical
notification_emails:
- chutten@mozilla.com
- glean-team@mozilla.com
expires: never
inits_during_shutdown:
type: counter
lifetime: ping
description: |
Counts the number of times init had to be called during shutdown.
Should never have a value for any session long enough to grow idle.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1839433
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1839433
data_sensitivity:
- technical
notification_emails:
- chutten@mozilla.com
- glean-team@mozilla.com
expires: never
send_in_pings:
- temp-fog-initial-state
- metrics
max_pings_per_minute:
type: quantity
unit: int
description: |
Value of the configurable rate limit, in pings per minute, for Glean pings as set at init.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1834792
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1834792
data_sensitivity:
- technical
notification_emails:
- pmcmanis@mozilla.com
- glean-team@mozilla.com
expires: never
data_directory_info:
type: object
description: |
Information about the data directories and files used by FOG.
Structure is an array of objects, each containing the following properties:
- `dir_name`: The name of the directory. This is the subdirectory name relative to the
FOG data directory and should only include "db", "events", and "pending_pings".
- `dir_exists`: Whether the directory exists. This should only be false on the first
run of FOG, or if the directory was deleted.
- `dir_created`: The creation time of the directory, in seconds since the unix epoch. If
the directory does not exist, this will be `null` and if the time cannot be determined,
it will default to `0`.
- `dir_modified`: The last modification time of the directory, in seconds since the unix
epoch. If the directory does not exist, this will be `null` and if the time cannot be
determined, it will default to `0`.
- `file_count`: The number of files in the directory. If the directory does not exist,
this will be `0`.
- `files`: An array of objects, each containing:
- `file_name`: The name of the file. Could be `data.safe.bin`, `events.safe.bin`, or
A uuid representing the doc-id of a pending ping.
- `file_created`: The creation time of the file, in seconds since the epoch. If the
file does not exist, this will be `null` and if the time cannot be determined, it
will default to `0`.
- `file_modified`: The last modification time of the file, in seconds since the epoch.
If the file does not exist, this will be `null` and if the time cannot be determined,
it will default to `0`.
- `file_size`: The size of the file in bytes. This can be just about any size but a
`0` value indicates the file is empty.
notification_emails:
- glean-team@mozilla.org
- tlong@mozilla.com
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1979075
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1979075
data_sensitivity:
- technical
expires: 150
send_in_pings:
- temp-fog-initial-state
- metrics
structure:
type: array
items:
type: object
properties:
dir_name:
type: string
dir_exists:
type: boolean
dir_created:
type: number
dir_modified:
type: number
file_count:
type: number
files:
type: array
items:
type: object
properties:
file_name:
type: string
file_created:
type: number
file_modified:
type: number
file_size:
type: number
fog.ipc:
replay_failures:
type: counter
description: |
The number of times the ipc buffer failed to be replayed in the
parent process.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1664461
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1664461
data_sensitivity:
- technical
notification_emails:
- chutten@mozilla.com
- glean-team@mozilla.com
expires: never
buffer_sizes:
type: memory_distribution
memory_unit: byte
description: |
The number and size of the IPC buffers being received over FOG IPC.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1694739
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1694739#c5
data_sensitivity:
- technical
notification_emails:
- chutten@mozilla.com
- glean-team@mozilla.com
expires: never
flush_durations:
type: timing_distribution
time_unit: microsecond
description: |
The length of time between asking the child processes for their
IPC buffers and all of them being received by the parent.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1694739
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1694739#c5
data_sensitivity:
- technical
notification_emails:
- chutten@mozilla.com
- glean-team@mozilla.com
expires: never
flush_failures:
type: counter
description: |
The number of times we failed to flush all non-parent-process data,
throwing even partial results into the trash.
If this number is high, we might consider writing custom `MozPromise`-
handling code instead of using `MozPromise::All`.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1729026
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1729026
data_sensitivity:
- technical
notification_emails:
- chutten@mozilla.com
- glean-team@mozilla.com
expires: never
shutdown_registration_failures:
type: counter
description: |
The number of times we tried to register shutdown flush routines for
content child processes, and failed (probably because there was no main
thread).
As a result there may be data loss from content child processes.
Large or rising number of clients experiencing this indicates we should
perhaps refactor content child shutdown in FOG to try harder to register
flush operations.
Will likely be obsoleted by bug 1641989.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1766977
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1766977
data_sensitivity:
- technical
notification_emails:
- chutten@mozilla.com
- glean-team@mozilla.com
expires: never
|