Open Bug 1657621 Opened 5 years ago Updated 4 years ago

Should we extend category and metric name length?

Categories

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

defect

Tracking

(Not tracked)

People

(Reporter: mdroettboom, Unassigned)

Details

BigQuery has column name limits of 128 characters.

Currently, we limit categories to 40 30 characters and metric names to 30 characters, which is far short of this. Should we loosen this restriction? [EDIT: Corrected category length 40 to current limit of 30]

AFAIK, no one is asking for this, but in the interest of not imposing arbitrary limits without good reason, should we extend it? It would have impact on payload size, of course.

If we choose to lengthen these we need to remember this also requires us to lengthen labels, since we use those to carry category.name for our internal error metrics.

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

Good point. The current label limit is 61, which exactly contains category.name.

Priority: P2 → P3
Whiteboard: [telemetry:glean-rs:?]
Whiteboard: [telemetry:glean-rs:?] → [telemetry:glean-rs:m?]
Priority: P3 → P4
Whiteboard: [telemetry:glean-rs:m?]
You need to log in before you can comment on or make changes to this bug.