Closed Bug 1797934 Opened 3 years ago Closed 3 years ago

Labelled Counters documentation is confusing with respect to limits

Categories

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

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Dexter, Assigned: janerik)

Details

Attachments

(1 file)

From this GH issue


The labelled counters documentation has a section under Recording API for limits. That section states:

  • Only increments;
  • Saturates at the largest value that can be represented as a 32-bit signed integer.

Further down the page (past the testing API, and into the metrics parameters) under the label section, you get:

  • Conform to the label formatting regular expression.
  • Each label must have a maximum of 60 bytes, when encoded as UTF-8.
  • This list itself is limited to 100 labels.

I feel at least the limit of the number of labels should be included in the limits section at the top of the page - since that is an important limit for this being a labelled counter.

Assignee: nobody → jrediger
Status: NEW → ASSIGNED
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: