Skip to content

Commit 84d56e9

Browse files
committed
Set allowed Glean label maxLength to 111
1 parent dd3b0e5 commit 84d56e9

File tree

4 files changed

+19
-17
lines changed

4 files changed

+19
-17
lines changed

schemas/glean/glean/glean-min.1.schema.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
},
136136
"propertyNames": {
137137
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
138-
"maxLength": 71,
138+
"maxLength": 111,
139139
"type": "string"
140140
},
141141
"type": "object"
@@ -154,7 +154,7 @@
154154
},
155155
"propertyNames": {
156156
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
157-
"maxLength": 71,
157+
"maxLength": 111,
158158
"type": "string"
159159
},
160160
"type": "object"
@@ -195,7 +195,7 @@
195195
},
196196
"propertyNames": {
197197
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
198-
"maxLength": 71,
198+
"maxLength": 111,
199199
"type": "string"
200200
},
201201
"type": "object"
@@ -235,7 +235,7 @@
235235
},
236236
"propertyNames": {
237237
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
238-
"maxLength": 71,
238+
"maxLength": 111,
239239
"type": "string"
240240
},
241241
"type": "object"
@@ -254,7 +254,7 @@
254254
},
255255
"propertyNames": {
256256
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
257-
"maxLength": 71,
257+
"maxLength": 111,
258258
"type": "string"
259259
},
260260
"type": "object"
@@ -288,7 +288,7 @@
288288
},
289289
"propertyNames": {
290290
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
291-
"maxLength": 71,
291+
"maxLength": 111,
292292
"type": "string"
293293
},
294294
"type": "object"
@@ -307,7 +307,7 @@
307307
},
308308
"propertyNames": {
309309
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
310-
"maxLength": 71,
310+
"maxLength": 111,
311311
"type": "string"
312312
},
313313
"type": "object"
@@ -383,7 +383,7 @@
383383
},
384384
"propertyNames": {
385385
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
386-
"maxLength": 71,
386+
"maxLength": 111,
387387
"type": "string"
388388
},
389389
"type": "object"

schemas/glean/glean/glean.1.schema.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257
},
258258
"propertyNames": {
259259
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
260-
"maxLength": 71,
260+
"maxLength": 111,
261261
"type": "string"
262262
},
263263
"type": "object"
@@ -276,7 +276,7 @@
276276
},
277277
"propertyNames": {
278278
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
279-
"maxLength": 71,
279+
"maxLength": 111,
280280
"type": "string"
281281
},
282282
"type": "object"
@@ -317,7 +317,7 @@
317317
},
318318
"propertyNames": {
319319
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
320-
"maxLength": 71,
320+
"maxLength": 111,
321321
"type": "string"
322322
},
323323
"type": "object"
@@ -357,7 +357,7 @@
357357
},
358358
"propertyNames": {
359359
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
360-
"maxLength": 71,
360+
"maxLength": 111,
361361
"type": "string"
362362
},
363363
"type": "object"
@@ -376,7 +376,7 @@
376376
},
377377
"propertyNames": {
378378
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
379-
"maxLength": 71,
379+
"maxLength": 111,
380380
"type": "string"
381381
},
382382
"type": "object"
@@ -410,7 +410,7 @@
410410
},
411411
"propertyNames": {
412412
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
413-
"maxLength": 71,
413+
"maxLength": 111,
414414
"type": "string"
415415
},
416416
"type": "object"
@@ -429,7 +429,7 @@
429429
},
430430
"propertyNames": {
431431
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
432-
"maxLength": 71,
432+
"maxLength": 111,
433433
"type": "string"
434434
},
435435
"type": "object"
@@ -505,7 +505,7 @@
505505
},
506506
"propertyNames": {
507507
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
508-
"maxLength": 71,
508+
"maxLength": 111,
509509
"type": "string"
510510
},
511511
"type": "object"

templates/include/glean/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Version 1
22

3+
- Glean label `maxLength` increased from 71 to 111
4+
35
- New client_info sections `attribution` and `distribution`, and their fields [Bug 1955428](https://bugzilla.mozilla.org/show_bug.cgi?id=1955428)
46

57
- New metric type `labeled_quantity` [Bug 1932210](https://bugzilla.mozilla.org/show_bug.cgi?id=1932210)

templates/include/glean/labeled_group.1.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"propertyNames": {
33
"type": "string",
44
"comment": "This must be at least the length of 'category.name' metric names to support error reporting",
5-
"maxLength": 71
5+
"maxLength": 111
66
}

0 commit comments

Comments
 (0)