Open Bug 1827728 Opened 2 years ago Updated 2 years ago

Server Knobs: Add an API to check the enabled state of a metric.

Categories

(Data Platform and Tools :: Glean: SDK, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: travis_, Unassigned)

References

(Blocks 1 open bug)

Details

A use case arose in regards to a SERP experiment that is looking at using Server Knobs to enable some telemetry. They also have some code overhead that isn't necessary if they aren't sending the telemetry that they would like to avoid. IF they could look up the enabled state of a given metric then they wouldn't have to add an additional preference to gate on.

This could probably be added to the common_metric_data.rs as a function and exposed to the binding as isEnabled(): Bool or something...

Priority: P1 → P3
Blocks: 1842143
You need to log in before you can comment on or make changes to this bug.