Closed
Bug 1507788
Opened 7 years ago
Closed 7 years ago
Can't add group names with "." in them to metrics.yaml
Categories
(Toolkit :: Telemetry, enhancement, P3)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox65 | --- | affected |
People
(Reporter: gfritzsche, Assigned: mdroettboom)
References
Details
(Whiteboard: [telemetry:mobilesdk:m3])
Attachments
(2 files)
I tried this from a test app integration and it fails.
| Reporter | ||
Updated•7 years ago
|
Whiteboard: [telemetry:mobilesdk:m?]
| Reporter | ||
Updated•7 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 1•7 years ago
|
||
There was some discussion I think '.' should be explicitly disallowed as it causes confusion. Dot notation is used in a number of places on the backend to refer to metrics, and I think it would be confusing to have names like `A.B.C`. Does that parse as 'A.B' + 'C' or 'A' + 'B.C'? Where would I find the metric definition? Since we've explicitly decided to have only two levels of hierarchy, I think it's important to be clear about that.
There was discussion of this in the SDK doc, and I believe it was decided to use snake case, but then this got removed when it was refactored to describe how metrics are grouped within the metrics.yaml file (i.e. category names are keys at the top level, not attributes of the individual metrics).
All that said, you probably got some inscrutable error message from jsonschema about this. Those should be improved regardless of the decision on the above.
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → mdroettboom
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [telemetry:mobilesdk:m?] → [telemetry:mobilesdk:m3]
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
Following discussion in meeting, I am moving forward with supporting dots in category names.
| Assignee | ||
Comment 4•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Attachment #9026509 -
Flags: review?(gfritzsche)
| Assignee | ||
Updated•7 years ago
|
Attachment #9026511 -
Flags: review?(gfritzsche)
| Assignee | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
| Reporter | ||
Updated•6 years ago
|
Attachment #9026509 -
Flags: review?(gfritzsche)
| Reporter | ||
Updated•6 years ago
|
Attachment #9026511 -
Flags: review?(gfritzsche)
You need to log in
before you can comment on or make changes to this bug.
Description
•