Closed
Bug 1538142
Opened 6 years ago
Closed 6 years ago
Extra values on events should accept any of the basic types
Categories
(Data Platform and Tools :: Glean: SDK, enhancement, P3)
Data Platform and Tools
Glean: SDK
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: mdroettboom, Unassigned)
Details
(Whiteboard: [telemetry:glean-rs:backlog])
As discussed here:
https://github.com/mozilla-mobile/fenix/pull/1067#discussion_r267988597
It's a little cumbersome to do toString() on any values passed into the extra parameter on events. We could support any of the basic scalar types (numbers, string, bools) and convert to strings for the transport inside of glean, rather than putting the onus on the caller.
I wouldn't advocate for allowing different types in the ping transport, as this would complicate the pipeline processing considerably. Nor would I advocate for arbitrary JSON strings with structured data -- we should only support scalars.
| Reporter | ||
Comment 1•6 years ago
|
||
Note -- if we do make this change, we should go back through Fenix's use of events to update the API.
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Whiteboard: [telemetry:mobilesdk:m?] → [telemetry:mobilesdk:backlog]
Updated•6 years ago
|
Component: Telemetry → Glean: SDK
Product: Toolkit → Data Platform and Tools
Updated•6 years ago
|
Whiteboard: [telemetry:mobilesdk:backlog] → [telemetry:glean-rs:m?]
Updated•6 years ago
|
Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:backlog]
| Reporter | ||
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•