Closed Bug 1697198 Opened 5 years ago Closed 5 years ago

glean-core does not provide a way to unset debug view tags at runtime

Categories

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

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: brizental, Unassigned)

Details

Initially I thought you could unset them by doing glean.set_debug_view_tag("") but that will be ignored since it is an invalid tag.

I am not extending this issue to source tags because there is not a way to set source tags at runtime, so there probably is no need to unset them at runtime.

Not that there is any need to unset debug view tags at runtime, given that this feature has been out for a while with no complaints AFAIK.

Anyways, I'd like to know at least if this is the intended functionality so I can implement it accordingly in Glean.js. I am working on this right now and I added an unsetDebugViewTag API, because it seemed reasonable, but after seeing that glean-core doesn't have it I thought it would be better to ask.

Component: Glean.js → Glean: SDK

Oops, oversight alert, glean-core does provide a way to set source tags at runtime and it shares this same issue.

Whiteboard: [telemetry:glean-js:m?] → [telemetry:glean-rs:m?]
Whiteboard: [telemetry:glean-rs:m?]
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.