Skip to content

Commit 2607adf

Browse files
authored
Merge pull request #1586 from mozilla/update-glean-parser-and-schemas
2 parents c027c4b + 79148df commit 2607adf

File tree

20 files changed

+22
-22
lines changed

20 files changed

+22
-22
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ python-docs: build-python ## Build the Python documentation
144144
.PHONY: docs rust-docs kotlin-docs swift-docs
145145

146146
metrics-docs: python-setup ## Build the internal metrics documentation
147-
$(GLEAN_PYENV)/bin/pip install glean_parser==2.5.0
147+
$(GLEAN_PYENV)/bin/pip install glean_parser==3.0.0
148148
$(GLEAN_PYENV)/bin/glean_parser translate --allow-reserved \
149149
-f markdown \
150150
-o ./docs/user/user/collected-metrics \

docs/user/user/adding-new-metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ The overall organization is:
169169

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

174174
toolbar:
175175
click:

docs/user/user/instrument-android-crashes-example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ definition and event metric definition, the `metrics.yaml` should look like this
3737

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

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

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

8282
crash:
8383
description: >

docs/user/user/pings/custom.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ For example, to define a custom ping called `search` specifically for search inf
2727

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

3232
search:
3333
description: >

docs/user/user/pings/testing-custom-pings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ One possible strategy could be to wrap the Glean SDK API call to send the ping i
1313
Let us start by defining a custom ping with a sample metric in it. Here is the `pings.yaml` file:
1414

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

1818
my-custom-ping:
1919
description: >
@@ -32,7 +32,7 @@ my-custom-ping:
3232
And here is the `metrics.yaml`
3333

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

3737
custom_ping_data:
3838
sample_string:

glean-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ include = [
1818
]
1919

2020
[package.metadata.glean]
21-
glean-parser = "2.5.0"
21+
glean-parser = "3.0.0"
2222

2323
[badges]
2424
circle-ci = { repository = "mozilla/glean", branch = "main" }

glean-core/android/metrics.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# for additional information.
1212

1313
---
14-
$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
14+
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
1515

1616
glean.internal.metrics:
1717
android_sdk_version:

glean-core/csharp/Glean/GleanParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class GleanParser : ToolTask
1818
private const string DefaultVirtualEnvDir = ".venv";
1919

2020
// The glean_parser pypi package version
21-
private const string GleanParserVersion = "2.5.0";
21+
private const string GleanParserVersion = "3.0.0";
2222

2323
// This script runs a given Python module as a "main" module, like
2424
// `python -m module`. However, it first checks that the installed

glean-core/ios/sdk_generator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
set -e
2727

28-
GLEAN_PARSER_VERSION=2.5.0
28+
GLEAN_PARSER_VERSION=3.0.0
2929

3030
# CMDNAME is used in the usage text below.
3131
# shellcheck disable=SC2034

glean-core/metrics.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# for additional information.
1212

1313
---
14-
$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0
14+
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
1515

1616
glean.baseline:
1717
duration:

0 commit comments

Comments
 (0)