Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/user/user/adding-new-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ The overall organization is:

```YAML
# Required to indicate this is a `metrics.yaml` file
$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0

toolbar:
click:
Expand Down
4 changes: 2 additions & 2 deletions docs/user/user/instrument-android-crashes-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ definition and event metric definition, the `metrics.yaml` should look like this

```YAML
# Required to indicate this is a `metrics.yaml` file
$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0

crash:
exception:
Expand Down Expand Up @@ -77,7 +77,7 @@ The name of the ping will be `crash`, so the `pings.yaml` file should look like

```YAML
# Required to indicate this is a `pings.yaml` file
$schema: moz://mozilla.org/schemas/glean/pings/1-0-0
$schema: moz://mozilla.org/schemas/glean/pings/2-0-0

crash:
description: >
Expand Down
2 changes: 1 addition & 1 deletion docs/user/user/pings/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For example, to define a custom ping called `search` specifically for search inf

```YAML
# Required to indicate this is a `pings.yaml` file
$schema: moz://mozilla.org/schemas/glean/pings/1-0-0
$schema: moz://mozilla.org/schemas/glean/pings/2-0-0

search:
description: >
Expand Down
4 changes: 2 additions & 2 deletions docs/user/user/pings/testing-custom-pings.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ One possible strategy could be to wrap the Glean SDK API call to send the ping i
Let us start by defining a custom ping with a sample metric in it. Here is the `pings.yaml` file:

```yaml
$schema: moz://mozilla.org/schemas/glean/pings/1-0-0
$schema: moz://mozilla.org/schemas/glean/pings/2-0-0

my-custom-ping:
description: >
Expand All @@ -32,7 +32,7 @@ my-custom-ping:
And here is the `metrics.yaml`

```yaml
$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0

custom_ping_data:
sample_string:
Expand Down
2 changes: 1 addition & 1 deletion glean-core/android/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# for additional information.

---
$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0

glean.internal.metrics:
android_sdk_version:
Expand Down
2 changes: 1 addition & 1 deletion glean-core/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# for additional information.

---
$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0

glean.baseline:
duration:
Expand Down
2 changes: 1 addition & 1 deletion glean-core/pings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# the `glean_parser` PyPI package.

---
$schema: moz://mozilla.org/schemas/glean/pings/1-0-0
$schema: moz://mozilla.org/schemas/glean/pings/2-0-0

baseline:
description: |
Expand Down
2 changes: 1 addition & 1 deletion samples/android/app/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

---

$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0

browser.engagement:
click:
Expand Down
2 changes: 1 addition & 1 deletion samples/android/app/pings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

---

$schema: moz://mozilla.org/schemas/glean/pings/1-0-0
$schema: moz://mozilla.org/schemas/glean/pings/2-0-0

sample:
description: |
Expand Down
2 changes: 1 addition & 1 deletion samples/csharp/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

---

$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0

csharp.test:
mystring:
Expand Down
2 changes: 1 addition & 1 deletion samples/csharp/pings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

---

$schema: moz://mozilla.org/schemas/glean/pings/1-0-0
$schema: moz://mozilla.org/schemas/glean/pings/2-0-0

sample:
description: |
Expand Down
2 changes: 1 addition & 1 deletion samples/ios/app/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

---

$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0

browser.engagement:
click:
Expand Down
2 changes: 1 addition & 1 deletion samples/ios/app/pings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

---

$schema: moz://mozilla.org/schemas/glean/pings/1-0-0
$schema: moz://mozilla.org/schemas/glean/pings/2-0-0

sample:
description: |
Expand Down