summaryrefslogtreecommitdiffstats
path: root/toolkit/components/telemetry/dap/metrics.yaml
blob: 6ab2d4f9f3acf0df3513df745537075c8f2d4f33 (plain)
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
# 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/.

# Adding a new metric? We have docs for that!
# https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html

---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
$tags:
  - 'Toolkit :: Telemetry'

dap:
  upload_status:
    type: labeled_counter
    labels:
      - success
      - failure
      - http_error
      - http_502
      - abort
      - abort_timed
      - abort_shutdown
    description: >
      The result of trying to upload a report to the DAP server.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1775035
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1775035
    data_sensitivity:
      - technical
    notification_emails:
      - simon@mozilla.com
    expires: never

  report_generation_status:
    type: labeled_counter
    labels:
      - success
      - failure
      - abort
      - hpke_leader_fail
      - hpke_helper_fail
    description: >
      The result of trying to generate a DAP report.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1775035
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1775035
    data_sensitivity:
      - technical
    notification_emails:
      - simon@mozilla.com
    expires: never