Bug 1933255 - Add ping reasons for usage-reporting ping r=TravisLong

These ping reasons are never actually part of the payload (due to
include_info_sections=false), but Glean still checks them on submit (due
to `ping_schedule`) and then logs an error.
This avoids that.

Differential Revision: https://phabricator.services.mozilla.com/D230244
This commit is contained in:
Jan-Erik Rediger
2024-11-27 10:31:53 +00:00
parent f4a246e093
commit 83d5f3a289
3 changed files with 30 additions and 0 deletions

View File

@@ -151,3 +151,13 @@ usage-reporting:
include_info_sections: false
ping_schedule:
- baseline
reasons:
dirty_startup: |
Defined to avoid error logging.
*Note*: this ping will not actually send a ping reason.
inactive: |
Defined to avoid error logging.
*Note*: this ping will not actually send a ping reason.
active: |
Defined to avoid error logging.
*Note*: this ping will not actually send a ping reason.

View File

@@ -75,3 +75,13 @@ usage-reporting:
include_info_sections: false
ping_schedule:
- baseline
reasons:
dirty_startup: |
Defined to avoid error logging.
*Note*: this ping will not actually send a ping reason.
inactive: |
Defined to avoid error logging.
*Note*: this ping will not actually send a ping reason.
active: |
Defined to avoid error logging.
*Note*: this ping will not actually send a ping reason.

View File

@@ -24,3 +24,13 @@ usage-reporting:
include_info_sections: false
ping_schedule:
- baseline
reasons:
dirty_startup: |
Defined to avoid error logging.
*Note*: this ping will not actually send a ping reason.
inactive: |
Defined to avoid error logging.
*Note*: this ping will not actually send a ping reason.
active: |
Defined to avoid error logging.
*Note*: this ping will not actually send a ping reason.