Closed Bug 1557353 Opened 6 years ago Closed 1 year ago

Consider replacing string list metric type with a string set metric type

Categories

(Data Platform and Tools :: Glean: SDK, task, P4)

task

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: gfritzsche, Unassigned)

References

Details

(Whiteboard: [telemetry:glean-rs:backlog][schema-v2])

Attachments

(4 files)

The current use-cases we're aware of for string lists don't require non-unique values.
E.g.: "What is the list of names for the accessibility services available on the device?"

These kind of use-cases could be covered more clearly by a string set metric type, that only submits unique values.
If we can't identify use-cases that require non-uniques, we should consider making this string list type a string set type.

Nvm, i'll keep these now and we can remove them later.

Priority: -- → P3
Whiteboard: [telemetry:glean-rs:m?]

We should clarify if that is needed, at best before string list is in use, so we can easily replace it.

Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:m6]
See Also: → 1557358

We're replacing string list with string set.

Whiteboard: [telemetry:glean-rs:m6] → [telemetry:glean-rs:m7]
Assignee: nobody → alessio.placitelli
Priority: P3 → P1

(In reply to Jan-Erik Rediger [:janerik] from comment #3)

We're replacing string list with string set.

Darn, I noticed while I was down with the implementation that this is already being used by Fenix. We should probably keep both types for the time being, and deprecate the list one. Or, maybe, live with the fact that we have a list.

After discussing this with Frank, we decided to hold it back for now, until other changes will require baking a new version of the ping schema. See here.

I'm leaving the bug open, but in the backlog, and adding a [schema-v2] tag to remind us that we should consider this in the future.

Assignee: alessio.placitelli → nobody
Priority: P1 → P3
Whiteboard: [telemetry:glean-rs:m7] → [telemetry:glean-rs:backlog][schema-v2]
Assignee: nobody → alessio.placitelli
Assignee: alessio.placitelli → nobody
Depends on: 1570386
Depends on: 1608137
Priority: P3 → P4
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: