Metrics

This document enumerates the metrics collected by this project. This project may depend on other projects which also collect metrics. This means you might have to go searching through the dependency tree to get a full picture of everything collected by this project.

Pings

all-pings

These metrics are sent in every ping.

The following metrics are added to the ping:

NameTypeDescriptionData reviewsExtrasExpiration
glean.error.invalid_labellabeled_counterCounts the number of times a metric was set with an invalid label. The labels are the category.name identifier of the metric.1never
glean.error.invalid_overflowlabeled_counterCounts the number of times a metric was set a value that overflew. The labels are the category.name identifier of the metric.1never
glean.error.invalid_statelabeled_counterCounts the number of times a timing metric was used incorrectly. The labels are the category.name identifier of the metric.1never
glean.error.invalid_valuelabeled_counterCounts the number of times a metric was set to an invalid value. The labels are the category.name identifier of the metric.1never

baseline

This is a built-in ping that is assembled out of the box by the Glean SDK.

See the Glean SDK documentation for the baseline ping.

This ping includes the client id.

Data reviews for this ping:

Bugs related to this ping:

Reasons this ping may be sent:

• background: The ping was submitted before going to background.

• dirty_startup: The ping was submitted at startup, because the application process was killed before the Glean SDK had the chance to generate this ping, when going to background, in the last session.

*Note*: this ping will not contain the glean.baseline.duration metric.


The following metrics are added to the ping:

NameTypeDescriptionData reviewsExtrasExpiration
glean.baseline.durationtimespanThe duration of the last foreground session.1never
glean.baseline.localestringThe locale of the application (e.g. "es-ES"). If the locale can't be determined on the system, the value is "und", to indicate "undetermined".1never

deletion-request

This ping is submitted when a user opts out of sending technical and interaction data to Mozilla. This ping is intended to communicate to the Data Pipeline that the user wishes to have their reported Telemetry data deleted. As such it attempts to send itself at the moment the user opts out of data collection.

This ping is sent if empty.

This ping includes the client id.

Data reviews for this ping:

Bugs related to this ping:

This ping contains no metrics.

metrics

This is a built-in ping that is assembled out of the box by the Glean SDK.

See the Glean SDK documentation for the metrics ping.

This ping includes the client id.

Data reviews for this ping:

Bugs related to this ping:

Reasons this ping may be sent:

• overdue: The last ping wasn't submitted on the current calendar day, but it's after 4am, so this ping submitted immediately

• reschedule: A ping was just submitted. This ping was rescheduled for the next calendar day at 4am.

• today: The last ping wasn't submitted on the current calendar day, but it is still before 4am, so schedule to send this ping on the current calendar day at 4am.

• tomorrow: The last ping was already submitted on the current calendar day, so schedule this ping for the next calendar day at 4am.

• upgrade: This ping was submitted at startup because the application was just upgraded.

The following metrics are added to the ping:

NameTypeDescriptionData reviewsExtrasExpiration
glean.error.preinit_tasks_overflowcounterThe number of tasks queued in the pre-initialization buffer. Only sent if the buffer overflows.1never