summaryrefslogtreecommitdiffstats
path: root/toolkit/components/glean/tests/pytest/metrics_test.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/glean/tests/pytest/metrics_test.yaml')
-rw-r--r--toolkit/components/glean/tests/pytest/metrics_test.yaml30
1 files changed, 22 insertions, 8 deletions
diff --git a/toolkit/components/glean/tests/pytest/metrics_test.yaml b/toolkit/components/glean/tests/pytest/metrics_test.yaml
index 6d9a4f8c0e..2bdcd1877f 100644
--- a/toolkit/components/glean/tests/pytest/metrics_test.yaml
+++ b/toolkit/components/glean/tests/pytest/metrics_test.yaml
@@ -6,11 +6,6 @@
# automatically converted to platform-specific code at build time using the
# `glean_parser` PyPI package.
-# This file is presently for Internal FOG Use Only.
-# You should not add metrics here until probably about January of 2021.
-# If you're looking for the metrics.yaml for Geckoveiw Streaming Telemetry,
-# you can find that one in toolkit/components/telemetry/geckoview/streaming.
-
---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
@@ -29,6 +24,8 @@ test:
data_reviews:
- https://example.com
telemetry_mirror: SOME_BOOL_SCALAR
+ no_lint:
+ - GIFFT_NON_PING_LIFETIME
labeled_boolean_metric:
type: labeled_boolean
@@ -44,6 +41,8 @@ test:
data_reviews:
- https://example.com
telemetry_mirror: SOME_KEYED_BOOL_SCALAR
+ no_lint:
+ - GIFFT_NON_PING_LIFETIME
labeled_boolean_metric_labels:
type: labeled_boolean
@@ -70,6 +69,8 @@ test:
- nine_labels
- ten_labels
telemetry_mirror: SOME_OTHER_KEYED_BOOL_SCALAR
+ no_lint:
+ - GIFFT_NON_PING_LIFETIME
counter_metric:
type: counter
@@ -85,6 +86,8 @@ test:
data_reviews:
- https://example.com
telemetry_mirror: SOME_UINT_SCALAR
+ no_lint:
+ - GIFFT_NON_PING_LIFETIME
labeled_counter_metric:
type: labeled_counter
@@ -100,6 +103,8 @@ test:
data_reviews:
- https://example.com
telemetry_mirror: SOME_KEYED_UINT_SCALAR
+ no_lint:
+ - GIFFT_NON_PING_LIFETIME
labeled_counter_metric_labels:
type: labeled_counter
@@ -118,6 +123,8 @@ test:
- one_label
- two_labels
telemetry_mirror: SOME_OTHER_KEYED_UINT_SCALAR
+ no_lint:
+ - GIFFT_NON_PING_LIFETIME
string_metric:
type: string
@@ -133,6 +140,8 @@ test:
data_reviews:
- https://example.com
telemetry_mirror: SOME_STRING_SCALAR
+ no_lint:
+ - GIFFT_NON_PING_LIFETIME
labeled_string_metric:
type: labeled_string
@@ -179,6 +188,8 @@ test:
data_reviews:
- https://example.com
telemetry_mirror: YET_ANOTHER_KEYED_BOOL_SCALAR
+ no_lint:
+ - GIFFT_NON_PING_LIFETIME
text_metric:
type: text
@@ -209,6 +220,8 @@ test:
data_reviews:
- https://example.com
telemetry_mirror: SOME_OTHER_UINT_SCALAR
+ no_lint:
+ - GIFFT_NON_PING_LIFETIME
timing_distribution_metric:
type: timing_distribution
@@ -216,7 +229,6 @@ test:
description: |
A multi-line
description
- lifetime: application
notification_emails:
- glean-team@mozilla.com
bugs:
@@ -231,7 +243,6 @@ test:
description: |
A multi-line
description
- lifetime: application
notification_emails:
- glean-team@mozilla.com
bugs:
@@ -247,7 +258,6 @@ test:
description: |
A multi-line
description
- lifetime: application
notification_emails:
- glean-team@mozilla.com
bugs:
@@ -275,6 +285,8 @@ test.nested:
data_reviews:
- https://example.com
telemetry_mirror: SOME_OTHER_STRING_SCALAR
+ no_lint:
+ - GIFFT_NON_PING_LIFETIME
datetime_metric:
type: datetime
@@ -290,6 +302,8 @@ test.nested:
data_reviews:
- https://example.com
telemetry_mirror: SOME_STILL_OTHER_STRING_SCALAR
+ no_lint:
+ - GIFFT_NON_PING_LIFETIME
event_metric:
type: event