Open Bug 1742884 Opened 3 years ago Updated 3 years ago

Enable submission_timestamp_granularity and override_attributes metadata for Glean

Categories

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

enhancement

Tracking

(Not tracked)

People

(Reporter: klukas, Unassigned)

References

(Blocks 1 open bug)

Details

In https://bugzilla.mozilla.org/show_bug.cgi?id=1742172 we are adding support to specify per-doctype metadata for reducing timestamp granularity and for modifying/removing metadata fields before sinking to BQ.

These rely on marking up the schemas in mozilla-pipeline-schemas, which doesn't apply for Glean. Instead, we have handled this in the past by adding app-level metadata in repositories.yaml and then adding code in mozilla-schema-generator to process that app-level metadata and inject appropriate metadata into the generated JSON schemas for glean apps. See retention_days for an example of this.

This bug is to capture the need to add a handle for setting these options on Glean apps. The one existing use case is to reduce geo granularity to country-only as discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1740483#c5

See Also: → 1748938

(In reply to Jeff Klukas [:klukas] (UTC-4) from comment #0)

This bug is to capture the need to add a handle for setting these options on Glean apps. The one existing use case is to reduce geo granularity to country-only as discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1740483#c5

This is also needed to support start_time/end_time granularity reduction for the crash-ping.

Blocks: 1784069
You need to log in before you can comment on or make changes to this bug.